2021-06-01 17:30:23 -04:00
|
|
|
# Request: Get Xthin Block ("get_xthin")
|
2020-10-27 16:27:35 -04:00
|
|
|
|
2021-06-01 17:30:23 -04:00
|
|
|
Request the [`xthinblock`](xthinblock) from the peer that was anoounced via the previous [`inv`](/protocol/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 respond with `thinblock` or full blocks.
|
2020-10-27 16:27:35 -04:00
|
|
|
|
2021-02-24 17:53:28 +01:00
|
|
|
## Format
|
2020-10-27 16:27:35 -04:00
|
|
|
|
|
|
|
|
| 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.|
|