Class: GetProofPacket

net/packets~GetProofPacket(rootnullable, keynullable)

GetProof Packet

Constructor

new GetProofPacket(rootnullable, keynullable)

Create a getproof packet.

Parameters:
Name Type Attributes Description
root Buffer <nullable>
key Buffer <nullable>
Properties:
Name Type Description
root Buffer
key Buffer
Source:

Extends

  • Packet

Methods

getSize() → {Number}

Get serialization size.

Source:
Returns:
Type
Number

(private) read(br)

Inject properties from buffer reader.

Parameters:
Name Type Description
br BufferReader
Source:

write(bw)

Serialize getproof packet to writer.

Parameters:
Name Type Description
bw BufferWriter
Source: