Constructor
new MerkleBlockPacket(blocknullable)
Create a merkleblock
packet.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
block |
MerkleBlock |
<nullable> |
Properties:
Name | Type | Description |
---|---|---|
block |
MerkleBlock |
- 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)
Serialize merkleblock packet to writer.
Parameters:
Name | Type | Description |
---|---|---|
bw |
BufioWriter |
- Source: