Files
specification/protocol/network/messages/get_xthin.md
T

14 lines
818 B
Markdown
Raw Normal View History

# Request: GET_XTHIN
2020-11-04 10:28:50 -05:00
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.
2021-02-24 17:53:28 +01:00
## Format
| Field | Length | Format | Description |
|--|--|--|--|
2020-11-04 10:28:50 -05:00
| 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.|