Constructor
new TXCount(height, index)
Create tx count record.
Parameters:
Name | Type | Description |
---|---|---|
height |
Number | |
index |
Number |
- 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