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.

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.