Eduard S
d4f6926311
WIP
3 years ago
arnaubennassar
4b596072d2
Add table to decouple API from node
3 years ago
arnaubennassar
4acfeb0ad9
Add API metric for time to forge L1 tx
3 years ago
arnaubennassar
c83047f527
Stop using stateDB in API
3 years ago
Arnau B
50fc607306
Add idx for txs that creat account, step1
3 years ago
ToniRamirezM
170da500db
Remove big.Int from state API
3 years ago
ToniRamirezM
ce6a271448
Remove bigints from API
3 years ago
Arnau B
b4d8e68730
Swagger improvements
3 years ago
ToniRamirezM
3e70551ac5
Added new metrics tests
3 years ago
Arnau B
6cd292b937
Include addrs in exit responses
3 years ago
Arnau B
6058d3c41a
Fix next forgers api response
3 years ago
Arnau B
6e7f860d61
Add forged txs in batch endpoints response
3 years ago
arnaucube
4b10549822
mv of babyjub.PublicKey to babyjub.PublicKeyComp
Update usage of `*babyjub.PublicKey` to `babyjub.PublicKeyComp`
- when the key is not defined, internally is used `babyjub.EmptyBJJComp`, which is a `[32]byte` of zeroes of type `babyjub.PublicKeyComp`
- the API continues returning `nil` when the key is not defined
3 years ago
Arnau B
8083e4fec3
Fix format of the MTP for exit endpoint
4 years ago
arnaucube
9d0b278d50
Update missing LoadAmount to DepositAmount
Related to 445f26ec9f
4 years ago
Arnau B
e1d34e3796
Add amount success and load amount success
4 years ago
Arnau B
445f26ec9f
Rename load amount to deposit amount
4 years ago
Arnau B
5fd258ee07
Use flags for effective amounts in SQL schema
4 years ago
arnaucube
dde9250429
Update Common & StateDB & ZKInputs to last protocol version
- Add InvalidData flag to L1Tx
- Add BytesDataAvailability to L1Tx
- Update ZKInputs & HashGlobalInputs to last spec of the protocol
(massive migrations)
- TxProcessor check correctness of L1Txs
Compatible with hermeznetwork/commonjs v0.0.4
(c345239bba
)
4 years ago
ToniRamirezM
55a78fbd72
API State Metrics
4 years ago
laisolizq
cc6446e019
API add get state
4 years ago
laisolizq
22f0a45118
ItemID to uint64 & check timestamp
4 years ago
ToniRamirezM
b840ceb57a
Account API
4 years ago
Arnau B
233ecc4704
Refactor api exits
4 years ago
laisolizq
aa6cb6f818
API add bids endpoint
4 years ago
Arnau B
a329d894d2
Refactor api txs
4 years ago
ToniRamirezM
b521a77fc5
API Coordinator Refactor
4 years ago
laisolizq
bc34f3456b
API Update tokens endpoint
4 years ago
laisolizq
82ee7c6aa7
Add struct get state endpoint
4 years ago
Arnau B
28c0164525
Impl api get batch(es)
4 years ago
Arnau B
7c8f380637
Add apitypes to avoid parsing from/to DB
4 years ago
ToniRamirezM
f314498a26
Coordinators methods for API
4 years ago
laisolizq
043710112d
Add get tokens endpoint
4 years ago
Arnau B
fe7d38843e
Impls exit endpoints and change pagination to cursor
4 years ago
Arnau B
5097939b12
Avoid using pointers in common
4 years ago
a_bennassar
49366e3fa4
Feature/null refactor ( #173 )
* WIP: rebase
* Make nullable fields use pointers
4 years ago
a_bennassar
c6f70f3177
Feature/merge history l2 tables ( #156 )
* WIP rebase
* Combine both SQL DBs
* API and DB refactor
4 years ago
Arnau B
85fe885265
Add GET histroy-transactions endpoint
4 years ago