Constructor
new GetProofPacket(rootopt, nullable, keyopt, nullable)
Create a getproof
packet.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
root |
Buffer |
<optional> <nullable> |
|
key |
Buffer |
<optional> <nullable> |
Properties:
Name | Type | Description |
---|---|---|
root |
Buffer | |
key |
Buffer |
- Source:
Extends
- Packet
Methods
getSize() → {Number}
Get serialization size.
- Source:
Returns:
- Type
- Number
read(br)
Inject properties from buffer reader.
Parameters:
Name | Type | Description |
---|---|---|
br |
bio.BufferReader |
- Source:
write(bw)
Serialize getproof packet to writer.
Parameters:
Name | Type | Description |
---|---|---|
bw |
BufioWriter |
- Source: