Skip to main content

Module inventory_registry

Module inventory_registry 

Source
Expand description

Inventory Registry Implementation

Modules§

update
Inventory registry update future.

Structs§

InventoryRegistry
An Inventory Registry for tracking recent inventory advertisements and missing inventory.
RepeatRequests
The number of repeat requests for a block that were sent to each group of peers, see InventoryRegistry::repeat_requests().

Constants§

MAX_INV_PER_MAP
The maximum number of inventory hashes we will track from a single peer.
MAX_PEERS_PER_INV
The maximum number of peers we will track inventory for.

Type Aliases§

InventoryChange
A peer inventory status change, used in the inventory status channel.
InventoryMarker 🔒
An internal marker used in inventory status hash maps.
InventoryStatus
A peer inventory status, which tracks a hash for both available and missing inventory.