nimbus-eth2/beacon_chain
Zahary Karadjov 3ecb197635 Memory-optimal hash_tree_root
The work on this was started last week while I was waiting
for a decision on the "Async Snappy" PR. It was prompted by
a failing test in the test suite, where the HashingStream
was inserting some incorrectly padded chunks that affected
the result of `hash_tree_root`. Instead of working around
the problem in the HashingStream, I've decided to implement
a planned optimisation that allows us to remove the hashing
stream altogether.

With the optimisation in place, `hash_tree_root` will now
use only stack memory and only the precise amount neccesary
to build the chunks-merging tree.
2020-05-13 12:18:42 +03:00
..
fork_choice bump a couple more eth2 phase0 spec refs to v0.11.1 2020-04-17 16:37:52 +03:00
spec Adapt SSZ to the latest FastStreams API 2020-05-13 12:18:42 +03:00
ssz Adapt SSZ to the latest FastStreams API 2020-05-13 12:18:42 +03:00
tracing replace links to Apache and MIT licenses with HTTPS versions (#592) 2019-11-25 16:30:02 +01:00
.gitignore interop updates 2019-09-02 22:14:18 +03:00
attestation_aggregation.nim eh fixes (#926) 2020-04-24 09:16:11 +02:00
attestation_pool.nim Increase finalization and finalization checking robustness (#990) 2020-05-09 12:43:15 +00:00
beacon_chain_db.nim avoid memory allocations and copies when loading states (#942) 2020-04-28 10:08:32 +02:00
beacon_node.nim reintroduce finalization verification to beacon node, because otherwise the consensus layer can get detached without noticing it (#1013) 2020-05-13 08:36:33 +00:00
beacon_node.nim.cfg Reduce compilation differences between client and server nodes 2019-11-11 23:30:21 +00:00
beacon_node_common.nim Increase finalization and finalization checking robustness (#990) 2020-05-09 12:43:15 +00:00
beacon_node_types.nim remove potentially GC leak-inducing acyclicity tag 2020-05-12 20:20:24 +02:00
block_pool.nim switch state cache to use ref statedata objects to limit memory usage (#1007) 2020-05-12 16:26:58 +00:00
conf.nim Implement https://github.com/status-im/nim-beacon-chain/issues/872 2020-04-28 13:49:30 +03:00
deposit_contract.nim Spec-compliant implementation of Eth1 monitoring; Eth1-enabled local sim 2020-04-26 13:04:53 +03:00
eth2_discovery.nim secp: convenience api (#897) 2020-04-17 15:29:49 +02:00
eth2_network.nim Cosmetic improvements 2020-05-13 12:18:42 +03:00
extras.nim Increase finalization and finalization checking robustness (#990) 2020-05-09 12:43:15 +00:00
inspector.nim sync fixes (#1005) 2020-05-11 18:08:52 +00:00
interop.nim sync fixes (#1005) 2020-05-11 18:08:52 +00:00
libp2p_json_serialization.nim Restore building with chronicles_sinks=json 2019-06-24 19:38:19 +03:00
logtrace.nim Add pubsub message logging. 2020-03-11 17:26:30 +00:00
mainchain_monitor.nim Updated the custom preset loader to the latest spec; Working makefile target for connecting to the Schlesi testnet 2020-04-27 23:22:54 +03:00
merkle_minimal.nim spec: regulate exceptions (#913) 2020-04-22 07:53:02 +02:00
nimquery.nim Integrate Discovery V5 and support ENR bootstrap records 2020-01-21 01:26:57 +02:00
peer_pool.nim Add "drop by score" ability to PeerPool. (#917) 2020-04-23 17:31:00 +02:00
request_manager.nim Mechanically remove all mentions of the daemon from the code 2020-03-23 14:59:33 +02:00
ssz.nim Memory-optimal hash_tree_root 2020-05-13 12:18:42 +03:00
sszdump.nim sync fixes (#1005) 2020-05-11 18:08:52 +00:00
state_transition.nim Increase finalization and finalization checking robustness (#990) 2020-05-09 12:43:15 +00:00
statusbar.nim Handle status bar spanning multiple lines (relevant for the Tmux network sim) 2020-02-18 12:53:49 +02:00
sync_manager.nim Fix status handling. (#1008) 2020-05-13 08:37:58 +02:00
sync_protocol.nim Fix status handling. (#1008) 2020-05-13 08:37:58 +02:00
time.nim eh fixes (#926) 2020-04-24 09:16:11 +02:00
validator_duties.nim Increase finalization and finalization checking robustness (#990) 2020-05-09 12:43:15 +00:00
validator_keygen.nim Spec-compliant implementation of Eth1 monitoring; Eth1-enabled local sim 2020-04-26 13:04:53 +03:00
validator_pool.nim Implement most of the v0.11.1 networking changes 2020-04-16 01:01:18 +03:00
version.nim spec: regulate exceptions (#913) 2020-04-22 07:53:02 +02:00