1
0
Fork 0
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:
Henrik Hautakoski 2024-01-21 13:36:48 +01:00
parent 2886c69eba
commit ffedbc5134

View file

@ -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 |