版本握手
返回上级
BSV区块链编辑
2022-04-14 17:31
387

网络中的对等点之间相互连接,会交换版本和verack消息,以确保彼此相兼容。
版本号握手
当本地对等点(L)试图连接到远程对等点(R)时,远程对等点R在收到L的版本消息之前,不会向L发送任何数据。
L -> R: Send version message with the local peer's version R -> L: Send version message back R -> L: Send verack message R: Sets version to the minimum of the 2 versions L -> R: Send verack message after receiving version message from R L: Sets version to the minimum of the 2 versions
请注意:低于31800的版本将不再被支持。