From 7907f7e2a5abb8e530b6330cc504759ea8673df6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20S=C3=A1nchez?= Date: Thu, 22 Feb 2018 20:39:00 -0500 Subject: [PATCH] [devdocs] [references] refs #29 #31 Fixed GETT hex misplacing error --- content/devdocs/references/p2p_networking.md | 33 ++++++++++---------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/content/devdocs/references/p2p_networking.md b/content/devdocs/references/p2p_networking.md index 92c8de9..4c072ca 100644 --- a/content/devdocs/references/p2p_networking.md +++ b/content/devdocs/references/p2p_networking.md @@ -234,7 +234,23 @@ The following annotated hexdump shows a `GETT` message. (The message header has been omitted.) {{ }} -TODO : GETT message hex dump +GetTxns: +``` +48 00 00 00 00 00 00 00 02 00 00 00 83 d5 44 cc +c2 23 c0 57 d2 bf 80 d3 f2 a3 29 82 c3 2c 3c 0d +b8 e2 67 48 20 da 50 64 78 3f b0 97 83 d5 44 cc +c2 23 c0 57 d2 bf 80 d3 f2 a3 29 82 c3 2c 3c 0d +b8 e2 67 48 20 da 50 64 78 3f b0 97 ............... Full message +------------------------------------------------------------------------ +0x0000 48 00 00 00 00 00 00 00 ........................... Prefix +0x0008 02 00 00 00 ....................................... Txns header +0x000c 01 00 00 00 83 d5 44 cc c2 23 c0 57 d2 bf 80 d3 + f2 a3 29 82 c3 2c 3c 0d b8 e2 67 48 20 da 50 64 + 78 3f b0 97 ....................................... Txns#0 +0x0034 01 00 00 00 83 d5 44 cc c2 23 c0 57 d2 bf 80 d3 + f2 a3 29 82 c3 2c 3c 0d b8 e2 67 48 20 da 50 64 + 78 3f b0 97 ....................................... Txns#1 +``` {{ }} @@ -267,21 +283,6 @@ AnnounceBlocksMessage: ------------------------------------------------------------------------ 0x0000 0c 00 00 00 00 00 00 00 ........................... Prefix 0x0008 40 e2 01 00 00 00 00 00 ........................... MaxBkSeq -GetTxns: -48 00 00 00 00 00 00 00 02 00 00 00 83 d5 44 cc -c2 23 c0 57 d2 bf 80 d3 f2 a3 29 82 c3 2c 3c 0d -b8 e2 67 48 20 da 50 64 78 3f b0 97 83 d5 44 cc -c2 23 c0 57 d2 bf 80 d3 f2 a3 29 82 c3 2c 3c 0d -b8 e2 67 48 20 da 50 64 78 3f b0 97 ............... Full message ------------------------------------------------------------------------- -0x0000 48 00 00 00 00 00 00 00 ........................... Prefix -0x0008 02 00 00 00 ....................................... Txns header -0x000c 01 00 00 00 83 d5 44 cc c2 23 c0 57 d2 bf 80 d3 - f2 a3 29 82 c3 2c 3c 0d b8 e2 67 48 20 da 50 64 - 78 3f b0 97 ....................................... Txns#0 -0x0034 01 00 00 00 83 d5 44 cc c2 23 c0 57 d2 bf 80 d3 - f2 a3 29 82 c3 2c 3c 0d b8 e2 67 48 20 da 50 64 - 78 3f b0 97 ....................................... Txns#1 ``` {{ }}