Get desktop application:
View/edit binary Protocol Buffers messages
Version returns the service version number
(message has no fields)
(message has no fields)
(message has no fields)
Version returns the service version number
Syncing returns a data object detailing the status of the sync process
ProtocolVersion returns the Ethereum protocol version number (e.g. 66 for ETH66).
(message has no fields)
ClientVersion returns the Ethereum client version string using node name convention (e.g. TurboGeth/v2021.03.2-alpha/Linux).
(message has no fields)
serialized data
Only one subscription is needed to serve all the users, LogsFilterRequest allows to dynamically modifying the subscription
High-level method - can read block from db, snapshots or apply any other logic it doesn't provide consistency Request fields are optional - it's ok to request block only by hash or only by number
High-level method - can read block body (only storage metadata) from db, snapshots or apply any other logic
High-level method - can find block hash by block number
High-level method - can find block number by block hash
High-level method - can find block number by txn hash it doesn't provide consistency
NodeInfo collects and returns NodeInfo from all running sentry instances.
Peers collects and returns peers information from all running sentry instances.
PendingBlock returns latest built block.
Version returns the service version number
Provides methods to access key-value data
Version returns the service version number
Tx exposes read-only transactions for the key-value store When tx open, client must receive 1 message from server with txID When cursor open, client must receive 1 message from server with cursorID Then only client can initiate messages from server
send once after new cursor open
return once after tx open. mdbx's tx.ViewID() - id of write transaction in db
return once after tx open. internal identifier - use it in other methods - to achieve consistent DB view (to read data from same DB tx on server).
StateChangeBatch - list of StateDiff done in one DB transaction
mdbx's tx.ID() - id of write transaction in db - where this changes happened
BaseFee of the next block to be produced
GasLimit of the latest block - proxy for the gas limit of the next block to be produced
Base Blob Fee for the next block to be produced
Snapshots returns list of current snapshot files. Then client can just open all of them.
(message has no fields)
Range [from, to) Range(from, nil) means [from, EndOfTable) Range(nil, to) means [StartOfTable, to) If orderAscend=false server expecting `from`<`to`. Example: Range("B", "A")
rpc Stream(RangeReq) returns (stream Pairs);
returned by .Tx()
query params
<= 0 means no limit
pagination params
<= 0 means server will choose
`kv.Sequence` method
returned by .Tx()
query params
Temporal methods
can return latest value or as of given timestamp
Temporal methods
returned by .Tx()
query params
if true, then `ts` ignored and return latest state (without history lookup)
returned by .Tx()
returned by .Tx()
query params
-1 means Inf
-1 means Inf
<= 0 means no limit
pagination params
<= 0 means server will choose
TODO: it can be a bitmap
returned by .Tx()
query params
-1 means Inf
-1 means Inf
<= 0 means no limit
pagination params
<= 0 means server will choose
returned by .Tx()
query params
nil means Inf
nil means Inf
if true, then `ts` ignored and return latest state (without history lookup)
<= 0 means no limit
pagination params
<= 0 means server will choose
Used in:
nil if there is no UPSERT in action
nil if there is no CODE in action
Used in:
Change only in the storage
Change of balance or nonce (and optionally storage)
Change of code (and optionally storage)
Change in (balance or nonce) and code (and optionally storage)
Account is deleted
Used as response type in: BridgeBackend.BorEvents, ETHBACKEND.BorEvents
Used as request type in: BridgeBackend.BorEvents, ETHBACKEND.BorEvents
Used as response type in: BridgeBackend.BorTxnLookup, ETHBACKEND.BorTxnLookup
Used as request type in: BridgeBackend.BorTxnLookup, ETHBACKEND.BorTxnLookup
Used in:
Used in:
,NEW_SNAPSHOT - one or many new snapshots (of snapshot sync) were created, client need to close old file descriptors and open new (on new segments), then server can remove old files
Used in:
Used as response type in: KV.HistoryRange, KV.Range, KV.RangeAsOf
TODO: replace by lengtsh+arena? Anyway on server we need copy (serialization happening outside tx)
uint32 estimateTotal = 3; // send once after stream creation
StateChange - changes done by 1 block or by 1 unwind
Used in:
enable by withTransactions=true
Used in:
Used in:
Used in: