Arnau B
006bbf3321
Implement tx pool endpoints
4 years ago
Eduard S
6afbda5302
Extend statedb and use prefixes, add debugapi
In statedb:
- Store all values using prefixes for keys to allow iteration
- Add methods MTGetRoot, GetAccounts
Implement debugapi, an http server with debugging endpoints:
- debugAPI.GET("sdb/batchnum", a.handleCurrentBatch)
- debugAPI.GET("sdb/mtroot", a.handleMTRoot)
- debugAPI.GET("sdb/accounts", a.handleAccounts)
- debugAPI.GET("sdb/accounts/:Idx", a.handleAccount)
4 years ago
Eduard S
b14495cfcc
Replace all []*Foo by []Foo in sql db return values
- Implement SlicePtrsToSlice and use it in all `meddler.QueryAll` sql db functions to always return []Foo instead of []*Foo
4 years ago
Eduard S
0fc4930652
Update test ethclient and coordinator
4 years ago
Arnau B
85fe885265
Add GET histroy-transactions endpoint
4 years ago
Eduard S
1386f4b5e1
Pass tokenAddress to AuctionClient constructor
4 years ago
Eduard S
c6c50f8f6a
Integrate test.Client in coordinator_test
4 years ago
Eduard S
475614cc3a
Implement first iteration of node
The coordinator implementation has been refactored to allow all the goroutines
to be handled from the node.
4 years ago
Eduard S
bcd93fee36
Implement initial version of test.Client
4 years ago
arnaucube
b1454d441c
StateDB intermediate state reset when opening DB
StateDB intermediate state reset when opening DB to force getting always last
Checkpoint at last BatchNum, avoiding inconsistent intermediate state.
4 years ago
arnaucube
0d2004721c
Add statedb ExitTree implementation
4 years ago
arnaucube
b33d18ff55
Import & adapt iden/go-iden3-core/eth/client
4 years ago
arnaucube
e2d4599690
Add tx generation lang interpreter
4 years ago
arnaucube
fab3b865bb
Add log system
4 years ago
arnaucube
c702442287
Update Coordinator & BatchBuilder & TxSelector to new SQL schemas changes
4 years ago
a_bennassar
cb1b820256
Update SQL schemas
4 years ago
arnaucube
aa003063f6
Update BatchBuilder & TxSelector to new StateDB
4 years ago
arnaucube
205db8e4d3
Implement StateDB Checkpoints & Resets system
4 years ago
a_bennassar
428dcd7590
create sql tables ( #40 )
Co-authored-by: Eduard S <eduard@iden3.io>
4 years ago
arnaucube
d8cb7298e0
Add StateDB & LocalStateDB
4 years ago
arnaucube
f3cfba1bbe
Add initial structure of BatchBuilder
4 years ago
arnaucube
59644c3435
Add common/Leaf struct & parsers (bigint & byte arrays)
4 years ago
a_bennassar
014ceba7c7
Definition of txpool interface
4 years ago
a_bennassar
b9936f8564
Initial dract of the common structs
4 years ago
arnaucube
a9c77e9607
initial commit
4 years ago