Class: GetBlockTxnPacket

net/packets~GetBlockTxnPacket(requestnullable)

GetBlockTxn Packet

Constructor

new GetBlockTxnPacket(requestnullable)

Create a getblocktxn packet.

Parameters:
Name Type Attributes Description
request TXRequest <nullable>
Properties:
Name Type Description
request TXRequest
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 getblocktxn packet to writer.

Parameters:
Name Type Description
bw BufferWriter
Source: