Skip to content

Commit f7ae327

Browse files
alphabetize MESSAGEMAP seperated by if it is dash specific or not
Signed-off-by: pasta <[email protected]>
1 parent cb91d15 commit f7ae327

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

test/functional/test_framework/mininode.py

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,36 +34,37 @@
3434
logger = logging.getLogger("TestFramework.mininode")
3535

3636
MESSAGEMAP = {
37-
b"version": msg_version,
38-
b"verack": msg_verack,
3937
b"addr": msg_addr,
40-
b"inv": msg_inv,
41-
b"getdata": msg_getdata,
42-
b"getblocks": msg_getblocks,
43-
b"tx": msg_tx,
4438
b"block": msg_block,
39+
b"blocktxn": msg_blocktxn,
40+
b"cmpctblock": msg_cmpctblock,
41+
b"feefilter": msg_feefilter,
4542
b"getaddr": msg_getaddr,
43+
b"getblocks": msg_getblocks,
44+
b"getblocktxn": msg_getblocktxn,
45+
b"getdata": msg_getdata,
46+
b"getheaders": msg_getheaders,
47+
b"headers": msg_headers,
48+
b"inv": msg_inv,
49+
b"mempool": msg_mempool,
4650
b"ping": msg_ping,
4751
b"pong": msg_pong,
48-
b"headers": msg_headers,
49-
b"getheaders": msg_getheaders,
5052
b"reject": msg_reject,
51-
b"mempool": msg_mempool,
52-
b"sendheaders": msg_sendheaders,
5353
b"sendcmpct": msg_sendcmpct,
54-
b"cmpctblock": msg_cmpctblock,
55-
b"getblocktxn": msg_getblocktxn,
56-
b"blocktxn": msg_blocktxn,
57-
b"mnlistdiff": msg_mnlistdiff,
54+
b"sendheaders": msg_sendheaders,
55+
b"tx": msg_tx,
56+
b"verack": msg_verack,
57+
b"version": msg_version,
58+
# Dash Specific
5859
b"clsig": msg_clsig,
60+
b"getsporks": None,
61+
b"govsync": None,
5962
b"islock": msg_islock,
6063
b"notfound": None,
61-
b"senddsq": None,
64+
b"qfcommit": None,
6265
b"qsendrecsigs": None,
63-
b"getsporks": None,
66+
b"senddsq": None,
6467
b"spork": None,
65-
b"govsync": None,
66-
b"qfcommit": None,
6768
}
6869

6970
MAGIC_BYTES = {

0 commit comments

Comments
 (0)