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
Arnau B
bc5fa92898
Add bootCoord to coord table, get coord by forgerAddr
3 years ago
Arnau B
8083e4fec3
Fix format of the MTP for exit endpoint
3 years ago
Eduard S
a7351992cd
Make coordinator more responsive
- API:
- Replace `emergencyModeStaringTime` by `emercengyModeStartingBlock`
- Synchronizer:
- Track emergency mode starting block
- cli/node
- Add working coordinator config
- coordinator:
- Retry handler for synchronizer stats in case of error (instead of
waiting for the next block to try again)
- On init, trigger an initial call to the handler for synced block
before waiting for the synchronizer, to force the coordinator to start
its logic even if there's no new block right after the node has been
started (very useful for running in testnet where the frequency of
blocks is variable)
- Merge Msg for synced block and updated vars into one: `MsgSyncBlock`.
4 years ago
Eduard S
d1ced80e62
Update API with new buckets synchronization
4 years ago
jleebee
2d85a4d6b9
Update swagger.yml
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
laisolizq
75c6d8f14e
Updates API to new changes
4 years ago
Arnau B
3e3eb3ffe6
Update API mock server URL for swagger UI
4 years ago
Arnau B
5991752e30
Improve swagger doc
4 years ago
Arnau B
86029ca7de
Improve swagger doc
4 years ago
Arnau B
ce1218e28a
Integrate til into api
4 years ago
ToniRamirezM
6919b561a5
Swagger Review
Swagger Review
4 years ago
laisolizq
43e9bee9db
API state endpoint test
4 years ago
Arnau B
d2e9196fba
Refactor api pagination
4 years ago
laisolizq
22f0a45118
ItemID to uint64 & check timestamp
4 years ago
ToniRamirezM
b840ceb57a
Account API
4 years ago
laisolizq
5012b82914
API add slots endpoints
4 years ago
laisolizq
2cf41d3707
API config refactor
4 years ago
laisolizq
04d969c274
API add pending withdraws filter on GET /exits
4 years ago
laisolizq
aa6cb6f818
API add bids endpoint
4 years ago
Arnau B
a329d894d2
Refactor api txs
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
Arnau B
ede6c33a18
Impl account creation auth endpoints
4 years ago
Arnau B
9971f13646
Add the ability to run the API forever when testing
4 years ago
ToniRamirezM
f314498a26
Coordinators methods for API
4 years ago
Arnau B
f77ea04c2e
Calulate total collected batch fee and fix merkleproof api format
4 years ago
Arnau B
006bbf3321
Implement tx pool endpoints
4 years ago
laisolizq
f90de219ac
Add config endpoint
4 years ago
laisolizq
043710112d
Add get tokens endpoint
4 years ago
Alberto Elias
b2f0b2e314
Updates request and load amounts
4 years ago
Alberto Elias
ce283d4419
More realistic example amounts
4 years ago
Arnau B
fe7d38843e
Impls exit endpoints and change pagination to cursor
4 years ago
a_bennassar
49366e3fa4
Feature/null refactor ( #173 )
* WIP: rebase
* Make nullable fields use pointers
4 years ago
Alberto Elias
cf14f495c3
Have BigInt be a proper big value that has 18 decimals
4 years ago
arnaucube
9bb4a4ec1b
Add TxID calculation & New{Layer}Tx Type
Add TxID calculation & New{Layer}Tx Type
New{Layer}Tx methods that compute the `TxID` & `TxType` values from the
transaction values:
- NewL1Tx
- NewL2Tx
- NewPoolL2Tx
Add TxID Scanner & Valuer for database/sql
HistoryDB & L2DB & API packages tests will need to be addapted to the
TestTransaction generation once is done.
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