bip-0331: correct size of version field in sendpackages

Since the version is denoted as uint64, the size should be 8 bytes.
This commit is contained in:
Calvin Kim
2025-05-19 12:29:39 +09:00
committed by GitHub
parent 3b76d78bdb
commit 5d82f82693

View File

@@ -246,7 +246,7 @@ Four new protocol messages and two inv types are added.
{| {|
| Field Name || Type || Size || Purpose | Field Name || Type || Size || Purpose
|- |-
|versions || uint64_t || 4 || Bit field that is 64 bits wide, denoting the package versions supported by the sender. |versions || uint64_t || 8 || Bit field that is 64 bits wide, denoting the package versions supported by the sender.
|- |-
|} |}