Class: AirdropPacket

net/packets~AirdropPacket(proofopt, nullable)

Airdrop Packet

Constructor

new AirdropPacket(proofopt, nullable)

Create a proof packet.

Parameters:
Name Type Attributes Description
proof AirdropProof <optional>
<nullable>
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) → {BufioWriter}

Serialize proof packet to writer.

Parameters:
Name Type Description
bw BufioWriter
Source:
Returns:
Type
BufioWriter