Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devtools/decodemsg: decode encoded_short_ids.
$ devtools/decodemsg 010806226e46111a0b59caaf126043eb5bbf28c34f3a5e332a1fc7b2b73cf188910f000000000000ffff0100160178da6360486760606400824c285d00a60111710144 $ devtools/decodemsg 010506226e46111a0b59caaf126043eb5bbf28c34f3a5e332a1fc7b2b73cf188910f00110000006700000100000000690000010000 Before: WIRE_REPLY_CHANNEL_RANGE: chain_hash=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 first_blocknum=0 number_of_blocks=65535 complete=1 encoded_short_ids=[0178da6360486760606400824c285d00a60111710144] WIRE_QUERY_SHORT_CHANNEL_IDS: chain_hash=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 encoded_short_ids=[0000006700000100000000690000010000] After: WIRE_REPLY_CHANNEL_RANGE: chain_hash=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 first_blocknum=0 number_of_blocks=65535 complete=1 encoded_short_ids=[ (ZLIB) 103:1:0 105:1:0 112:1:0 ] WIRE_QUERY_SHORT_CHANNEL_IDS: chain_hash=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 encoded_short_ids=[ (UNCOMPRESSED) 103:1:0 105:1:0 ] Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information