per spec, we must half-close request stream - not doing so may lead to
failure of the other end to start processing our request leading to
timeouts.
In particular, this fixes many sync problems that have been seen on
medalla.
* remove safeClose - close no longer raises
* use per-chunk timeouts in request processing
* Syncing workers now not bound to peers.
Sync status is now printed in statusbar.
* Add `SyncQueue.outSlot` to statusbar too.
* Add `inRangeEvent` and `rangeAge` parameter.
* Fix rangeAge is not depends on SyncQueue latest slot.
Fix syncManager to start from latest local head slot.
* Add notInRange event.
* bump libp2p, introduce AsyncQueue BufferStream
* bump
Co-authored-by: cheatfate <eugene.kabanov@status.im>
* stop discarding non-existent future epochs during epoch state transitions; remove a pointless StateCache() construction in advance_slots()
* update nbench to pass StateCache to process_slots()
* bump chronos
this reverts backwards-incompatible changes to CancelledError and
resores other functionality.
chronos metrics are lost and will need to be reimplemented.
* bump
* ignore sqlite WAL journal files in git; switch attestation resolved from info to debug
* promote sent attestations/blocks to notice rather than demote resolved attestations/blocks to debug
This implements disparity, resolving a part of
https://github.com/status-im/nim-beacon-chain/issues/1367
* make BeaconTime a duration for fractional seconds
* factor out attestation/aggregate validation
* simplify recording of queued attestations
* simplify attestation signature check
* fix blocks_received metric
* add some trivial validation tests
* remove unresolved attestation table - attestations for unknown blocks
are dropped instead (cannot verify their signature)
* Jenkins: run benchmarks
* don't exit the workspace
* try calling the benchmark plugin from the config file
* pass all params
* separate Jenkins job for benchmarks
* harden beacon_pending_deposits metrics calculation
* ...
* move beacon_pending_deposits and beacon_processed_deposits_total out of specs and into chain DAG
* initial - cheaper pruning - addresses #1534
* Pass tests: update offset when pruning, proper handling of pruned parents
* Use options instead of nil for nilable newHead (finalization passing but rootcause not solved)
* First line of defense against stackoverflow in tests
* Fix compute_delta offset after pruning
* Rebase fix - medalla ready
* Remove Option[BlockRef]
* book updates
* save progress
* save progress
* work on deposit data section + edits
* title edit
* minor edits
* edits and clarifications
* add images, launchpad steps, and a note on expected wait time
* add images + edits
* restructure, simplify, edits
* faq corrections
* rework intro: cp
* update intro and faq
* add note on requestiong goerli eth
* typo fix
* add numbers to steps in walletstore guide"
* chapter 8 title: replace Nimbus with NBC
* Update docs/the_nimbus_book/src/medalla.md
Co-authored-by: Jacek Sieka <jacek@status.im>
Co-authored-by: Jacek Sieka <jacek@status.im>