Review synchronizer, rearange some stuff, add notes and TODOs.

This commit is contained in:
Eduard S
2020-09-18 18:17:00 +02:00
parent d3f6da22ed
commit 9f83fcf520
8 changed files with 171 additions and 145 deletions

View File

@@ -17,6 +17,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 {