Skip to content

Instantly share code, notes, and snippets.

@obale
Created May 23, 2015 15:56
Show Gist options
  • Save obale/8f4137009bdce3db694d to your computer and use it in GitHub Desktop.
Save obale/8f4137009bdce3db694d to your computer and use it in GitHub Desktop.
A blockchain protocol VERSION message.
0000: 9595 c9df 9007 5148 eb06 8603 65df 3358 ..I_..QHk...e_3X
0010: 4b75 bff7 82a5 10c6 cd48 83a4 1983 3d50 Ku?w.%.FMH.$..=P
0020: 0000 0000 146b c383 fdff ffff ff00 0000 .....kC.}.......
0030: 0000 0000 0041 d553 2c1b 8000 00 .....AUS,....
Message Header:
9595 c9df 9007 5148 eb06 8603 65df 3358
4b75 bff7 82a5 10c6 cd48 83a4 1983 3d50 - Blockchain MagicNo
00 - VERSION command flag 0x00
0000 0014 - Payload size; In this case 20 Bytes.
6bc3 83fd - 4 Byte Checksum of Payload
Version Payload:
ffff ffff - Protocol version of the node
0000 0000 0000 0000 - Supported services
41d5 532d 9640 0000 - Unix timestamp. In this case:
Fri May 08 2015 15:12:57 GMT+0200 (CEST)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment