Jacek Sieka
7f52ffb8d9
clean up block processing ( #2610 )
...
* gossip_to_consensus -> block_processor (it's processing only blocks,
but not only from gossip)
* measure queue and validation time for blocks
* measure assignment and state loading times for updateStateData
* avoid some unnecessary block copies in block sync
* warn that database is corrupt if we hit tail without a state
2021-05-28 19:34:00 +03:00
Eugene Kabanov
5b5ea2e813
Fix integer overflow issue in sync_manager. ( #2564 )
...
* Make Refactor rewind point assignment more concrete.
* Fix overflow issue in getRewindPoint().
Add tests.
2021-05-18 12:25:14 +02:00
Jacek Sieka
4d74c742da
move ENRForkID into `spec` ( #2538 )
...
* move ENRForkID into `spec`
also get rid of strformat in topic formation and fix some case
discrepancies
* also move `Eth2Metadata`
2021-05-04 17:28:48 +02:00
cheatfate
9de65fa293
Fixing issues after bump.
2021-04-09 21:42:13 +03:00
cheatfate
c4d891f583
Fix sync_manager.nim to return proper status.
...
Bump REST API dependencies.
2021-04-09 21:42:13 +03:00
tersec
d3cad92693
remove some BeaconState use and abstract over other uses ( #2482 )
...
* remove some BeaconState use and abstract over other uses
* remove out-of-context comment
2021-04-08 08:24:25 +00:00
Jacek Sieka
2695cfa864
EH cleanup ( #2455 )
...
almost 100% raises in nimbus-eth2 now!
* fix some rare exception-related crashes in json-rpc
2021-03-26 07:52:01 +01:00
Jacek Sieka
8b76ceed52
Fix minor exception effect issues ( #2448 )
...
Makes code compatible with
https://github.com/status-im/nim-chronos/pull/166 without requiring it.
2021-03-24 17:20:55 +01:00
Mamy Ratsimbazafy
c47d636cb3
Split Eth2Processor in prep for batching ( #2396 )
...
* Split Eth2Processor in gossip and consensus part and materialize the shared block queue
* Update initialization in test_sync_manager
2021-03-11 11:10:57 +01:00
Mamy Ratsimbazafy
d47f53cd9d
Reorg (5/5) ( #2377 )
...
* Reorg things left into networking and gossip_processing
* time -> beacon_clock
* fix builds
2021-03-05 14:12:00 +01:00
Mamy Ratsimbazafy
5d7f9c3a04
Consensus object pools [reorg 4/5] ( #2374 )
...
* Add documentation
* make test doesn't try to build the beacon node :/
2021-03-04 10:13:44 +01:00
tersec
4278e80657
document two uint64 -> int64 conversions ( #2375 )
...
* document two uint64 -> int64 conversions
* fix minimal preset slot time & calculation
2021-03-04 10:13:23 +01:00
Mamy Ratsimbazafy
3276dfc683
Consolidate modules by areas [part 1] ( #2365 )
...
* Move sync in subfolder
* move validator related thingies in validators
* fix binary builds
* update bounds comment [skip ci]
2021-03-02 11:27:45 +01:00