Initial commit

This commit is contained in:
Andrew Stone
2019-12-12 23:11:10 -05:00
commit 739644595b
45 changed files with 994 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
Vectors (and arrays, lists, maps, etc) are serialized by first serializing the number of elements and then serializing each element. The number of elements is serialized in [compact int](/protocol/p2p/compact__int) format.
| vector element count | object #0 | object #1 | ... | object #count-1 |
|-------------|--------------|-------------|----------------|------------|
| [compact int](/protocol/p2p/compact__int) | object specific serialization | ... | ... | ... |
|