Files
specification/protocol/p2p/get_xthin.md
T
2020-10-27 16:27:35 -04:00

11 lines
824 B
Markdown

# Request: GET_XTHIN
Request the [`XTHINBLOCK`](xthinblock) from the peer that was anoounced via the previous [`INV`](..\network\messages\inv) message. The message should start with an inventory message that indicates the `XTHINBLOCK` requested, followed by the Bloom filter generated from the mempool. Upon receipt of this request, the peer should loads the attached Bloom filter, creates and responds with `XTHINBLOCK`. If the `XTHINBLOCK` cannot be created without hash collisions, the peer may repond with `THINBLOCK` or full blocks.
## Format
| Field | Length | Format | Description |
|--|--|--|--|
| inventory message | variable | inventory message | An inventory message of type MSG_XTHINBLOCK. |
| Bloom filter | varaible | serialized object | A serialized Bloom filter seeded with contents of the mempool.|