mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
core/tracing: jsontag
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
ba952741ee
commit
0e2abd6b60
1 changed files with 11 additions and 11 deletions
|
|
@ -77,17 +77,17 @@ type BlockEvent struct {
|
|||
|
||||
// StateUpdate represents a state mutations that occurred during the execution of a block.
|
||||
type StateUpdate struct {
|
||||
Number uint64 // Block number corresponding to this state snapshot
|
||||
Hash common.Hash // Block hash corresponding to this state snapshot
|
||||
Time uint64 // Timestamp indicating when the block was produced
|
||||
Accounts int64 // Total number of accounts present in the state at this block
|
||||
Storages int64 // Total number of storage entries across all accounts in the state at this block
|
||||
Trienodes int64 // Total number of trie nodes present in the state at this block
|
||||
Codes int64 // Total number of contract codes present in the state at this block, with 32 bytes hash as the identifier
|
||||
AccountSize int64 // Combined size of all accounts in the state, with 20 bytes address as the identifier
|
||||
StorageSize int64 // Combined size of all storage entries, with 32 bytes key as the identifier
|
||||
TrienodeSize int64 // Combined size of all trie nodes, with varying size node path as the identifier (up to 64 bytes)
|
||||
CodeSize int64 // Combined size of all contract codes in the state, with 20 bytes address as the identifier
|
||||
Number uint64 `json:"number"` // Block number corresponding to this state snapshot
|
||||
Hash common.Hash `json:"hash"` // Block hash corresponding to this state snapshot
|
||||
Time uint64 `json:"time"` // Timestamp indicating when the block was produced
|
||||
Accounts int64 `json:"accounts"` // Total number of accounts present in the state at this block
|
||||
Storages int64 `json:"storages"` // Total number of storage entries across all accounts in the state at this block
|
||||
Trienodes int64 `json:"trienodes"` // Total number of trie nodes present in the state at this block
|
||||
Codes int64 `json:"codes"` // Total number of contract codes present in the state at this block, with 32 bytes hash as the identifier
|
||||
AccountSize int64 `json:"accountSize"` // Combined size of all accounts in the state, with 20 bytes address as the identifier
|
||||
StorageSize int64 `json:"storageSize"` // Combined size of all storage entries, with 32 bytes key as the identifier
|
||||
TrienodeSize int64 `json:"trienodeSize"` // Combined size of all trie nodes, with varying size node path as the identifier (up to 64 bytes)
|
||||
CodeSize int64 `json:"codeSize"` // Combined size of all contract codes in the state, with 20 bytes address as the identifier
|
||||
}
|
||||
|
||||
type (
|
||||
|
|
|
|||
Loading…
Reference in a new issue