792 Commits

Author SHA1 Message Date
a_bennassar
cb1b820256 Update SQL schemas 2020-08-17 16:16:17 +02:00
a_bennassar
bf1a648091 Merge pull request #57 from hermeznetwork/feature/statedb-checkpoints
Feature/statedb checkpoints
2020-08-17 15:55:59 +02:00
arnaucube
aa003063f6 Update BatchBuilder & TxSelector to new StateDB 2020-08-17 13:38:48 +02:00
arnaucube
205db8e4d3 Implement StateDB Checkpoints & Resets system 2020-08-17 11:27:33 +02:00
Toni Ramírez
db927ddd24 Add utils Float16-BigInt converters
* 16 bits fix encoding

* Types modification

* Rounding loss check

* Clean up a bit and add benchmarks

Unneded usage of big.Int has been removed

Conversion methods are now methods/constructors of Float16 to make the code
more idiomatic.

Co-authored-by: Toni Ramírez <toni@iden3.com>
Co-authored-by: arnaucube <root@arnaucube.com>
Co-authored-by: Eduard S <eduard@iden3.io>
2020-08-14 17:27:34 +02:00
Eduard S
58cf35f6ea Merge pull request #52 from hermeznetwork/feature/init-coordinator
Initial Coordinator (OpManager) structure
2020-08-14 17:25:21 +02:00
arnaucube
8390e4a784 Add initial structure Coordinator Forge Sequence 2020-08-14 14:06:28 +02:00
arnau
378b7be47d Merge pull request #53 from hermeznetwork/feature/updategha
Remove goarch 386 and go-version 1.13 from GHA
2020-08-14 11:07:25 +02:00
Eduard S
2e5ac8cfb6 Remove goarch 386 and go-version 1.13 from GHA 2020-08-14 09:59:25 +02:00
arnaucube
a1c339c918 Add BatchQueue implementation & minor updates 2020-08-13 18:25:50 +02:00
a_bennassar
9df30affc6 Merge pull request #50 from hermeznetwork/feature/txselector-int-statedb
Integrate TxSelector with StateDB
2020-08-13 13:15:18 +02:00
arnaucube
60fa76b4d2 Integrate TxSelector with StateDB 2020-08-13 13:07:30 +02:00
Eduard S
b28b13d620 Merge pull request #44 from hermeznetwork/feature/batchbuilder-integratedb
Feature/batchbuilder integratedb
2020-08-11 17:30:36 +02:00
arnaucube
350bac631e Integrate BatchBuilder with StateDB 2020-08-11 16:44:51 +02:00
a_bennassar
428dcd7590 create sql tables (#40)
Co-authored-by: Eduard S <eduard@iden3.io>
2020-08-11 16:25:55 +02:00
a_bennassar
1313a5aabd Merge pull request #38 from hermeznetwork/feature/statedb
Add StateDB & LocalStateDB
2020-08-11 10:53:34 +02:00
arnau
edb8974a5a Apply fix method description typos
Co-authored-by: Eduard S. <eduard@iden3.io>
2020-08-10 16:46:15 +02:00
arnaucube
d8cb7298e0 Add StateDB & LocalStateDB 2020-08-07 10:59:30 +02:00
Eduard S
4bff96859c Merge pull request #31 from hermeznetwork/feature/batchbuilder-init
Feature/batchbuilder init
2020-08-06 16:04:54 +02:00
arnau
2109d9f1cf Apply suggestions from code review
Co-authored-by: Eduard S. <eduard@iden3.io>
2020-08-06 12:50:52 +02:00
arnaucube
16555b51e3 Update Leaf to new spec (Sign+Ay) 2020-08-05 16:06:31 +02:00
arnaucube
bcd9f96e1b Add batchbuilder applyCreateLeaf, applyDeposit, applyTransfer 2020-08-05 15:31:27 +02:00
arnaucube
37cefb0057 Add common> Idx parsers 2020-08-05 15:26:15 +02:00
arnaucube
f3cfba1bbe Add initial structure of BatchBuilder 2020-08-05 15:22:51 +02:00
arnaucube
dd1901709c Add common/Leaf struct & parsers (bigint & byte arrays) 2020-08-05 15:22:48 +02:00
a_bennassar
dbbc3098e7 Merge pull request #27 from hermeznetwork/feature/common-leaf
Add common/Leaf struct & parsers (bigint & byte arrays)
2020-08-05 15:14:43 +02:00
arnaucube
59644c3435 Add common/Leaf struct & parsers (bigint & byte arrays) 2020-08-05 13:32:24 +02:00
Eduard S
2f93848292 Merge pull request #26 from hermeznetwork/feature/register-common-update
Update to follow DB spec
2020-08-03 10:31:18 +02:00
a_bennassar
638defd031 Update to follow DB spec 2020-08-03 10:26:29 +02:00
arnau
2c247bf9c3 Priceupdater-v0 (#23)
* First price-updater implementation

* Lint corrections

* Structs revision

* Read Write Mutex

* Review price updater and apply small changes

Co-authored-by: Toni Ramírez <toni@iden3.com>
Co-authored-by: Eduard S <eduard@iden3.io>
2020-07-31 10:23:52 +02:00
arnau
819b29d9ba Merge pull request #11 from hermeznetwork/feature/txpool-interface
Definition of txpool interface
2020-07-29 15:23:39 +02:00
a_bennassar
014ceba7c7 Definition of txpool interface 2020-07-29 14:33:25 +02:00
Eduard S
09e26537b2 Merge pull request #4 from hermeznetwork/feature/common-first-ite
Initial draft of the common structs
2020-07-28 17:16:01 +02:00
a_bennassar
1d8f9411f7 Review changes and operator -> coordinator 2020-07-28 16:54:28 +02:00
a_bennassar
b9936f8564 Initial dract of the common structs 2020-07-28 12:37:36 +02:00
Eduard S
ecf731982e Merge pull request #6 from hermeznetwork/fix/imports
Fix import paths
2020-07-24 16:10:55 +02:00
arnaucube
c22ea9ee94 Fix import paths 2020-07-24 16:08:23 +02:00
Eduard S
1a50e60bfc Merge pull request #2 from hermeznetwork/feature/gha
Add GHA with Tests & Lints
2020-07-24 15:57:07 +02:00
arnau
8772b059dc Merge pull request #1 from hermeznetwork/feature/txselector-base
Add txselector base
2020-07-24 15:55:20 +02:00
arnau
d71dfa7068 Add GHA with Tests & Lints 2020-07-24 12:42:59 +02:00
arnaucube
e77599dac3 Add txselector base 2020-07-24 12:22:13 +02:00
arnaucube
a9c77e9607 initial commit 2020-07-24 12:18:21 +02:00