Inventory vector.
Methods
(static) encode(buf) → {Buffer}
Encode inventory vector.
Parameters:
Name | Type | Description |
---|---|---|
buf |
Buffer | Payload to calculate the inventory vector for |
- Source:
Returns:
A 32-byte encoded inv_vect
.
- Type
- Buffer