Merge pull request #564 from hermeznetwork/feature/api-without-statedb

Stop using stateDB in API
This commit is contained in:
Eduard S
2021-02-23 15:22:53 +01:00
committed by GitHub
12 changed files with 119 additions and 134 deletions

View File

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