Constructor
new TXCount(heightopt, indexopt)
Create tx count record.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
height |
Number |
<optional> |
|
index |
Number |
<optional> |
- Source:
Methods
(static) decode(data) → {TXCount}
Instantiate a tx count from a buffer.
Parameters:
Name | Type | Description |
---|---|---|
data |
Buffer |
- Source:
Returns:
- Type
- TXCount
(private) decode(data)
Deserialize.
Parameters:
Name | Type | Description |
---|---|---|
data |
Buffer |
- Source:
encode() → {Buffer}
Serialize.
- Source:
Returns:
- Type
- Buffer