Merge pull request #135 from hermeznetwork/feature/synchronizer-sc

Smart Contracts Data Synchronization
This commit is contained in:
Eduard S
2020-09-21 14:40:10 +02:00
committed by GitHub
13 changed files with 437 additions and 94 deletions

View File

@@ -16,6 +16,8 @@ import (
"github.com/russross/meddler"
)
// TODO(Edu): Check DB consistency while there's concurrent use from Coordinator/TxSelector & API
// L2DB stores L2 txs and authorization registers received by the coordinator and keeps them until they are no longer relevant
// due to them being forged or invalid after a safety period
type L2DB struct {