Class: FeeFilterPacket

net/packets~FeeFilterPacket

new FeeFilterPacket(ratenullable)

Represents a feefilter packet.

Parameters:
Name Type Attributes Description
rate Rate <nullable>
Properties:
Name Type Description
rate Rate
Source:

Methods

(static) fromRaw(data, encnullable) → {FeeFilterPacket}

Instantiate feefilter packet from serialized data.

Parameters:
Name Type Attributes Description
data Buffer
enc String <nullable>
Source:
Returns:
Type
FeeFilterPacket

(static) fromReader(br) → {FeeFilterPacket}

Instantiate feefilter packet from buffer reader.

Parameters:
Name Type Description
br BufferReader
Source:
Returns:
Type
FeeFilterPacket

(private) fromRaw(data)

Inject properties from serialized data.

Parameters:
Name Type Description
data Buffer
Source:

(private) fromReader(br)

Inject properties from buffer reader.

Parameters:
Name Type Description
br BufferReader
Source:

getSize() → {Number}

Get serialization size.

Source:
Returns:
Type
Number

toRaw() → {Buffer}

Serialize feefilter packet.

Source:
Returns:
Type
Buffer

toWriter(bw)

Serialize feefilter packet to writer.

Parameters:
Name Type Description
bw BufferWriter
Source: