1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos-docs synced 2026-06-16 04:34:55 +02:00

Merge branch 'next'

This commit is contained in:
Henrik Hautakoski 2024-01-21 14:22:15 +01:00
commit 4b436487b5
2 changed files with 54 additions and 2 deletions

View file

@ -59,4 +59,29 @@ Heartbeat messages are posted to the heartbeat channel periodically.
| Field | Datatype | Description |
| -------- | -------- | ------------ |
| account | string | Account name |
| sequence | int | Sequence |
| sequence | int | Sequence |
### RollbackMessage
| Field | Datatype | Description |
| --------- | -------- | ------------------------------------ |
| new_block | int | The current block number |
| 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 |

View file

@ -35,4 +35,31 @@ Channel where only actions on a specific `<contract>` is posted:
Channel where only `<action>` on a specific `<contract>` is posted:
`<namespace>::actions/contract/<contract>/name/<action>`
`<namespace>::actions/contract/<contract>/name/<action>`
## Rollback
Rollback mesages are posted to this channel.
`<namespace>::rollback`
## Table delta
Table deltas are posted to the following channels
All deltas:
`<namespace>::tabledeltas`
Only deltas for a specific type.
`<namespace>::tabledeltas/name/<name>`
`<name>` can be one of
* `account_metadata`
* `contract_table`
* `contract_row`
* `contract_index64`
* `resource_usage`
* `resource_limits_state`