Class: TXPacket

net/packets~TXPacket(tx)

TX Packet

Constructor

new TXPacket(tx)

Create a tx packet.

Parameters:
Name Type Description
tx TX | null
Properties:
Name Type Description
block TX
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 tx packet to writer.

Parameters:
Name Type Description
bw BufferWriter
Source: