This website works better with JavaScript.
Home
Explore
Help
Sign In
arnaucube
/
hermez-node
mirror of
https://github.com/arnaucube/hermez-node.git
Watch
1
Star
1
Fork
0
Code
Issues
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
642
Commits
26
Branches
2
Tags
6.4 MiB
Tree:
6ecb8118bd
develop
doc/api-and-sql-related
feature/api-return-pending-L1
feature/common-tests-update
feature/edu
feature/fastsync-async-delete-old-checkpoints
feature/fastsync-skip-updateeth
feature/float40
feature/float40-zkinputs
feature/getPoolTxs
feature/minprice
feature/serveapicli
feature/serveapicli1
feature/sql-semaphore1
feature/tokenbalances
feature/txprocessor-update
feature/txsel-l1frozenqueue-acccreation
feature/update-smart-contracts
feature/update-txman3
feature/update-txman4
fix/mockserer
fix/packr-gorelease
hardcoded-recommendedfee
master
refactore/rollupUpdateBuckets
tmp/txsel-fix
v1.0.0
v0.1.0
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from '6ecb8118bd'
${ noResults }
hermez-node
/
cli
/
node
/
.gitignore
2 lines
33 B
Raw
Normal View
History
Implement first iteration of node The coordinator implementation has been refactored to allow all the goroutines to be handled from the node.
4 years ago
Update coordinator to work better under real net - cli / node - Update handler of SIGINT so that after 3 SIGINTs, the process terminates unconditionally - coordinator - Store stats without pointer - In all functions that send a variable via channel, check for context done to avoid deadlock (due to no process reading from the channel, which has no queue) when the node is stopped. - Abstract `canForge` so that it can be used outside of the `Coordinator` - In `canForge` check the blockNumber in current and next slot. - Update tests due to smart contract changes in slot handling, and minimum bid defaults - TxManager - Add consts, vars and stats to allow evaluating `canForge` - Add `canForge` method (not used yet) - Store batch and nonces status (last success and last pending) - Track nonces internally instead of relying on the ethereum node (this is required to work with ganache when there are pending txs) - Handle the (common) case of the receipt not being found after the tx is sent. - Don't start the main loop until we get an initial messae fo the stats and vars (so that in the loop the stats and vars are set to synchronizer values) - eth / ethereum client - Add necessary methods to create the auth object for transactions manually so that we can set the nonce, gas price, gas limit, etc manually - Update `RollupForgeBatch` to take an auth object as input (so that the coordinator can set parameters manually) - synchronizer - In stats, add `NextSlot`
3 years ago
cfg.example.secret.toml
cfg.toml