arnau
e2bae9a13c
Merge pull request #669 from hermeznetwork/fix/mockserer
Fix mock server
3 years ago
Danilo Pantani
b8d339d568
Merge pull request #670 from hermeznetwork/fix/remove-release-os
fix the invalid goarch build
3 years ago
arnaubennassar
e52ba3d258
Fix mock server
3 years ago
Eduard S
6c1c157bc3
Merge pull request #672 from hermeznetwork/feature/configurable-recommendedfee-strategy
Add configuration option to choose recommended fee strategy, and add …
3 years ago
arnaubennassar
f9ddf88c93
Add configuration option to choose recommended fee strategy, and add static strategy
3 years ago
Pantani
a1eea43443
fix the invalid goarch build and avoid calling the migration-pack each build
3 years ago
Danilo Pantani
f07fd82822
Merge pull request #653 from hermeznetwork/feature/goreleaser-integration
Generating automatically releases with Goreleaser
3 years ago
arnau
d465d51e78
Merge pull request #667 from hermeznetwork/feature/documentpackages
Document synchronizer, node and coordinator
3 years ago
Eduard S
e23d0a07d2
Document synchronizer, node and coordinator
3 years ago
Danilo Pantani
e9be904c2f
Merge pull request #656 from hermeznetwork/feature/license
add AGPLv3 License
3 years ago
Pantani
88b17cbe99
add release distribution with Goreleaser ( https://goreleaser.com )
3 years ago
Danilo Pantani
1ffe437538
Merge pull request #657 from hermeznetwork/feature/documentserveapi
Add minimum documentation of serveapi command
3 years ago
arnau
e2f9a1d7eb
Merge pull request #650 from hermeznetwork/fix/serveapi-flags
fix the application initialization flags
3 years ago
arnau
999dde5621
Merge pull request #662 from hermeznetwork/feature/improveSCinits
Bound the filter of init SC events by blocks
3 years ago
Eduard S
aa82efc868
Bound the filter of init SC events by blocks
When querying the init event for each smart contract, bound the search from
block genesis-24h to block genesis. Otherwise, this query in geth synced to
mainnet takes too long.
3 years ago
a_bennassar
2184084408
Merge pull request #659 from hermeznetwork/feature/move-api-subpackages
Move apitypes & stateapiupdater into api dir
3 years ago
arnaucube
206c8e6e8f
Move apitypes & stateapiupdater into api dir
3 years ago
Eduard S
c2c74e14f1
Merge pull request #655 from hermeznetwork/feature/api-versioning
Add API versioning
3 years ago
a_bennassar
80e20f3cf1
Merge pull request #658 from hermeznetwork/feature/update-sql-func
Add account_state view
3 years ago
arnaucube
d9741da43b
Add API versioning
3 years ago
Eduard S
8c51cfb3d2
Add minimum documentation of serveapi command
3 years ago
laisolizq
7b297c77da
Add account_state view
3 years ago
Pantani
9a863eadc4
add AGPLv3 License
3 years ago
Eduard S
d80e3a8988
Merge pull request #648 from hermeznetwork/feature/txsel-forgablepriority
Update TxSel selection to prioritize the forgable
3 years ago
arnaucube
2873ce875a
Update TxSel selection to prioritize the forgable
Previous to this commit, there were cases where being
len(nonForgableL2Txs)>maxL2Txs and nonForgableL2Txs have bigger fee than
forgableL2Txs, the forgableTxs where never forged, neither the
nonForgableTxs. Now, the TxSelector first forges the forgableTxs (which
are forgable for the initial state of the accounts (balances & nonces),
and then the nonForgableL2Txs, which may be unblocked once the forgable
ones have been processed.
3 years ago
Eduard S
10cfc91250
Merge pull request #651 from hermeznetwork/feature/total-txs-in-pool
API change names and add poolLoad, add maxFeeUSD
3 years ago
Eduard S
f6765f82bf
Merge pull request #654 from hermeznetwork/feature/api-pending-l1s
Add pending L1 txs to API
3 years ago
arnaubennassar
90126a03a2
API change names and add poolLoad, add maxFeeUSD
3 years ago
arnaubennassar
3fcec947b4
Add pending L1 txs to API
3 years ago
Pantani
dc198c35ae
fix import key command into the example script
3 years ago
Pantani
ae0858df3d
fix the serve api flags
3 years ago
arnau
334eecc99e
Merge pull request #645 from hermeznetwork/feature/newpolicy
Add config parameter ForgeOncePerSlotIfTxs
3 years ago
arnau
b01d5d50ee
Merge pull request #633 from hermeznetwork/feature/makefile
Create a Makefile for build using -ldflags and useful commands
3 years ago
a_bennassar
8018f348a7
Merge pull request #649 from hermeznetwork/feature/dbbigintsdecimal
Store *big.Int as DECIMAL in sql
3 years ago
Eduard S
91ffdc250b
Store *big.Int as DECIMAL in sql
3 years ago
Eduard S
4ebe285912
Merge pull request #644 from hermeznetwork/feature/external-delete-not-count
Not count txs marked as external_delete to reach MaxTxsPool
3 years ago
arnaubennassar
c280b21b89
Not count txs marked as external_delete to reach MaxTxsPool
3 years ago
Eduard S
e78fd613c6
Merge pull request #641 from hermeznetwork/fix/avg-tx-price
Fix average transaction fee calculation
3 years ago
a_bennassar
9edbd135ef
Merge pull request #647 from hermeznetwork/fix/apistatecollectedfees
Fix API /state collected fees unmarshal
3 years ago
Eduard S
009d0c5be1
Fix API /state collected fees unmarshal
3 years ago
Eduard S
777ca3d87e
Merge pull request #646 from hermeznetwork/fix/forgerCommitment
Fix Synchronizer not setting slot.ForgerCommitment to true
3 years ago
Oleksandr Brezhniev
eb89ab84f2
Rename the variable to match the meaning
3 years ago
Pantani
234268028e
create cli command to print the version and the build commit and date
3 years ago
Pantani
d7bab0c524
create a makefile to build, compile and run the binary using ldflags
3 years ago
Oleksandr Brezhniev
36c1ba84df
Fix Synchronizer not setting slot.ForgerCommitment to true until fully synced and after reorgs
3 years ago
Eduard S
450fa08d80
Add config parameter ForgeOncePerSlotIfTxs
New configuration Coordinator configuration parameter `ForgeOncePerSlotIfTxs`:
ForgeOncePerSlotIfTxs will make the coordinator forge at most one batch per
slot, only if there are included txs in that batch, or pending l1UserTxs in the
smart contract. Setting this parameter overrides `ForgeDelay`,
`ForgeNoTxsDelay`, `MustForgeAtSlotDeadline` and `IgnoreSlotCommitment`.
Also restructure a bit the functions that check policies to decide whether or
not to forge a batch.
3 years ago
arnaubennassar
578edc80bc
Fix average transaction fee calculation
3 years ago
Eduard S
80f16201a2
Merge pull request #640 from hermeznetwork/feature/BatchCheck
separated the policy to decide if we forge batch or not
3 years ago
Mikelle
cd74f1fda3
separated the policy to decide if we forge batch or not
3 years ago
arnau
6c6d1ea7b8
Merge pull request #631 from hermeznetwork/feature/serveapicli2
Allow serving API only via new cli command
3 years ago