Constructor
new GetBlockTxnPacket(requestopt, nullable)
Create a getblocktxn packet.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
request |
bip152.TXRequest |
<optional> <nullable> |
Properties:
| Name | Type | Description |
|---|---|---|
request |
bip152.TXRequest |
- 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 getblocktxn packet to writer.
Parameters:
| Name | Type | Description |
|---|---|---|
bw |
BufioWriter |
- Source: