arnaucube
a28c81f4ae
Add TxCompressedData & V2 with some extra parsers for common
4 years ago
a_bennassar
3f63cd7cd0
Merge pull request #66 from hermeznetwork/feature/statedb-cu
Unify StateDB MT{Create/Update}Account
4 years ago
arnaucube
12aa31e46b
Unify StateDB MT{Create/Update}Account
Previously as the txprocessor.go methods were specific for the BatchBuilder,
the MTCreateAccount & CreateAccount and MTUpdateAccount & UpdateAccount were
also designed to be used by BatchBuilder and TxSelector depending on the
MerkleTree usage calling one kind of method or anotherone.
But now that this methods are being called directly by the StateDB (through the
methods in txprocessors.go), to allow also the methods usage from the
Synchronizer, there can not be the MT and no-MT methods separated, so this
commit unifies MTCreateAccount with CreateAccount, and MTUpdateAccount with
UpdateAccount, which internally will update the MerkleTree depending if the
specific StateDB in usage has the MerkleTree defined or not.
4 years ago
a_bennassar
82d5aae745
Merge pull request #64 from hermeznetwork/feature/testing-framework
Feature/testing framework language
4 years ago
arnaucube
cfa441e1ac
Migrate TxProcessors from BatchBuilder to StateDB
Migrate TxProcessors from BatchBuilder to StateDB in order to be used by
BatchBuilder & Synchronizer
4 years ago
arnaucube
8eb42c011c
Add tx L1&L2 test generation & keys for TestingFramework
Add test-lang Fee & ForceExit option
4 years ago
arnaucube
e2d4599690
Add tx generation lang interpreter
4 years ago
a_bennassar
6c0c528b17
Merge pull request #61 from hermeznetwork/feature/log
Add log system
4 years ago
arnaucube
fab3b865bb
Add log system
4 years ago
arnau
5d4840ce5c
Merge pull request #59 from hermeznetwork/feature/sql-tables4
Update SQL schemas
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
a_bennassar
bf1a648091
Merge pull request #57 from hermeznetwork/feature/statedb-checkpoints
Feature/statedb checkpoints
4 years ago
arnaucube
aa003063f6
Update BatchBuilder & TxSelector to new StateDB
4 years ago
arnaucube
205db8e4d3
Implement StateDB Checkpoints & Resets system
4 years ago
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>
4 years ago
Eduard S
58cf35f6ea
Merge pull request #52 from hermeznetwork/feature/init-coordinator
Initial Coordinator (OpManager) structure
4 years ago
arnaucube
8390e4a784
Add initial structure Coordinator Forge Sequence
4 years ago
arnau
378b7be47d
Merge pull request #53 from hermeznetwork/feature/updategha
Remove goarch 386 and go-version 1.13 from GHA
4 years ago
Eduard S
2e5ac8cfb6
Remove goarch 386 and go-version 1.13 from GHA
4 years ago
arnaucube
a1c339c918
Add BatchQueue implementation & minor updates
4 years ago
a_bennassar
9df30affc6
Merge pull request #50 from hermeznetwork/feature/txselector-int-statedb
Integrate TxSelector with StateDB
4 years ago
arnaucube
60fa76b4d2
Integrate TxSelector with StateDB
4 years ago
Eduard S
b28b13d620
Merge pull request #44 from hermeznetwork/feature/batchbuilder-integratedb
Feature/batchbuilder integratedb
4 years ago
arnaucube
350bac631e
Integrate BatchBuilder with StateDB
4 years ago
a_bennassar
428dcd7590
create sql tables ( #40 )
Co-authored-by: Eduard S <eduard@iden3.io>
4 years ago
a_bennassar
1313a5aabd
Merge pull request #38 from hermeznetwork/feature/statedb
Add StateDB & LocalStateDB
4 years ago
arnau
edb8974a5a
Apply fix method description typos
Co-authored-by: Eduard S. <eduard@iden3.io>
4 years ago
arnaucube
d8cb7298e0
Add StateDB & LocalStateDB
4 years ago
Eduard S
4bff96859c
Merge pull request #31 from hermeznetwork/feature/batchbuilder-init
Feature/batchbuilder init
4 years ago
arnau
2109d9f1cf
Apply suggestions from code review
Co-authored-by: Eduard S. <eduard@iden3.io>
4 years ago
arnaucube
16555b51e3
Update Leaf to new spec (Sign+Ay)
4 years ago
arnaucube
bcd9f96e1b
Add batchbuilder applyCreateLeaf, applyDeposit, applyTransfer
4 years ago
arnaucube
37cefb0057
Add common> Idx parsers
4 years ago
arnaucube
f3cfba1bbe
Add initial structure of BatchBuilder
4 years ago
arnaucube
dd1901709c
Add common/Leaf struct & parsers (bigint & byte arrays)
4 years ago
a_bennassar
dbbc3098e7
Merge pull request #27 from hermeznetwork/feature/common-leaf
Add common/Leaf struct & parsers (bigint & byte arrays)
4 years ago
arnaucube
59644c3435
Add common/Leaf struct & parsers (bigint & byte arrays)
4 years ago
Eduard S
2f93848292
Merge pull request #26 from hermeznetwork/feature/register-common-update
Update to follow DB spec
4 years ago
a_bennassar
638defd031
Update to follow DB spec
4 years ago
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>
4 years ago
arnau
819b29d9ba
Merge pull request #11 from hermeznetwork/feature/txpool-interface
Definition of txpool interface
4 years ago
a_bennassar
014ceba7c7
Definition of txpool interface
4 years ago
Eduard S
09e26537b2
Merge pull request #4 from hermeznetwork/feature/common-first-ite
Initial draft of the common structs
4 years ago
a_bennassar
1d8f9411f7
Review changes and operator -> coordinator
4 years ago
a_bennassar
b9936f8564
Initial dract of the common structs
4 years ago
Eduard S
ecf731982e
Merge pull request #6 from hermeznetwork/fix/imports
Fix import paths
4 years ago
arnaucube
c22ea9ee94
Fix import paths
4 years ago
Eduard S
1a50e60bfc
Merge pull request #2 from hermeznetwork/feature/gha
Add GHA with Tests & Lints
4 years ago
arnau
8772b059dc
Merge pull request #1 from hermeznetwork/feature/txselector-base
Add txselector base
4 years ago