Methods
(static) fromRaw(hash, data) → {BlockRecord}
Instantiate transaction record from serialized data.
Parameters:
Name | Type | Description |
---|---|---|
hash |
Hash | |
data |
Buffer |
- Source:
Returns:
- Type
- BlockRecord
(private) fromRaw(data)
Inject properties from serialized data.
Parameters:
Name | Type | Description |
---|---|---|
data |
Buffer |
- Source:
toRaw() → {Buffer}
Serialize the transaction record.
- Source:
Returns:
- Type
- Buffer