mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Add account_update SQL table with balances and nonces
This commit is contained in:
@@ -232,6 +232,11 @@ type Node struct {
|
||||
// `Eth.LastBatch`). This value only affects the reported % of
|
||||
// synchronization of blocks and batches, nothing else.
|
||||
StatsRefreshPeriod Duration `validate:"required"`
|
||||
// StoreAccountUpdates when set to true makes the synchronizer
|
||||
// store every account update in the account_update SQL table.
|
||||
// This allows querying nonces and balances from the HistoryDB
|
||||
// via SQL.
|
||||
StoreAccountUpdates bool
|
||||
} `validate:"required"`
|
||||
SmartContracts struct {
|
||||
// Rollup is the address of the Hermez.sol smart contract
|
||||
|
||||
Reference in New Issue
Block a user