Stop using stateDB in API

This commit is contained in:
arnaubennassar
2021-02-22 14:28:34 +01:00
parent df0cc32eed
commit c83047f527
12 changed files with 119 additions and 134 deletions

View File

@@ -236,11 +236,6 @@ 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