mirror of
https://github.com/eosswedenorg/thalos-docs
synced 2026-06-17 04:40:02 +02:00
docs/api/messages.md: Adding TableDelta and TableDeltaRow types.
This commit is contained in:
parent
2886c69eba
commit
ffedbc5134
1 changed files with 19 additions and 1 deletions
|
|
@ -66,4 +66,22 @@ Heartbeat messages are posted to the heartbeat channel periodically.
|
|||
| Field | Datatype | Description |
|
||||
| --------- | -------- | ------------------------------------ |
|
||||
| new_block | int | The current block number |
|
||||
| old_block | int | Last block number that was received. |
|
||||
| old_block | int | Last block number that was received. |
|
||||
|
||||
### TableDelta
|
||||
|
||||
| Field | Datatype | Description |
|
||||
| -------------- | --------------- | ----------------- |
|
||||
| blocknum | int | Block number |
|
||||
| blocktimestamp | time | Block timestamp |
|
||||
| name | string | Table name |
|
||||
| rows | TableDeltaRow[] | Rows in the delta |
|
||||
|
||||
|
||||
### TableDeltaRow
|
||||
|
||||
| Field | Datatype | Description |
|
||||
| -------- | ------------- | --------------------------------- |
|
||||
| present | bool | - |
|
||||
| data | any | Decoded data |
|
||||
| raw_data | base64_string | Raw data in base64 encoded string |
|
||||
Loading…
Add table
Add a link
Reference in a new issue