- Mastering Ethereum
- Merunas Grincalaitis
- 240字
- 2021-06-24 15:01:09
Understanding DEVP2P
DEVP2P is a networking protocol in charge of managing the negotiations between nodes when they want to interact by sending messages. Each message is encrypted using a protocol named RLPx, which allows nodes to exchange encrypted data over the network with a secure guarantee that nobody but the recipient will be able to decode the message.
For nodes to connect to each other, they expose any TCP port they would like to use, which, by default, is 30303. So, if you want to connect to a specific node, you must know exactly which port it is using, which protocol it is using, and the IP address or unique identifier of it. For instance, Whisper, the messaging protocol that we discussed earlier, uses the shh protocol, while Ethereum uses the eth protocol. This is just a simple distinction that becomes apparent when you use web3.js, because it shows each function in each corresponding protocol.
In summary, you've seen which components make up the Ethereum architecture, so you are able to discern which parts you're actually using when developing your smart contracts. You should be able to identify different protocols used in the network and understand which tools you have available.
You have just developed an increased awareness when it comes to the tools that are at your disposal, which is essential for all kinds of Ethereum developers that want to implement time-tested solutions to common problems.
- 普林斯頓微積分讀本(修訂版)
- 432級(jí)臺(tái)階之第2級(jí)臺(tái)階
- 一定要懂博弈論
- 這才是好看的數(shù)學(xué)
- 數(shù)學(xué)的故事
- ANSYS 12.0有限元分析完全手冊(cè)
- 基于變分法的細(xì)胞演化建模
- 統(tǒng)計(jì)學(xué)原理(第二版)
- 實(shí)用高等數(shù)學(xué)
- 讓鴿子開公交車?:看不見的數(shù)學(xué)如何影響我們的日常
- 幾何和統(tǒng)計(jì)(全彩版)
- 12堂魔力數(shù)學(xué)課
- 數(shù)字狂想
- 四川數(shù)學(xué)史話文集
- 不焦慮的數(shù)學(xué):孩子怎么學(xué),家長(zhǎng)怎么教