nimbus-eth2/beacon_chain
Jacek Sieka 499e5ca991
misc memory and perf fixes (#1899)
* misc memory and perf fixes

* use EpochRef for attestation aggregation
* compress effective balances in memory (medalla unfinalized: 4gb ->
1gb)
* avoid hitting db when rewinding to head or clearance state
* avoid hitting db when blocks can be applied to in-memory state -
speeds up startup considerably
* avoid storing epochref in fork choice
* simplify and speed up beacon block creation flow - avoids state reload
thanks to head rewind optimization
* iterator-based committee and attestation participation help avoid lots
of small memory allocations throughout epoch transition (40% speedup on
epoch processing, for example during startup)

* add constant for threshold
2020-10-22 12:53:33 +02:00
..
block_pools misc memory and perf fixes (#1899) 2020-10-22 12:53:33 +02:00
fork_choice misc memory and perf fixes (#1899) 2020-10-22 12:53:33 +02:00
spec misc memory and perf fixes (#1899) 2020-10-22 12:53:33 +02:00
ssz p2p-interface spec ref bump (except non-updated places) (#1862) 2020-10-12 14:37:14 +00: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 misc memory and perf fixes (#1899) 2020-10-22 12:53:33 +02:00
attestation_pool.nim update 130+ spec references from v0.12.3 to v1.0.0-rc1 (#1854) 2020-10-12 08:59:24 +00:00
beacon_chain_db.nim Store all deposit-derived data in memory 2020-10-15 20:15:51 +03:00
beacon_node.nim Store all deposit-derived data in memory 2020-10-15 20:15:51 +03:00
beacon_node.nim.cfg Add Disc v5.1 bootstrap nodes for Zinken 2020-10-18 12:44:52 +03:00
beacon_node_common.nim [WIP] skeleton of attester slashing pool & validators (#1639) 2020-09-14 16:26:31 +02:00
beacon_node_status.nim Ctrl+C now stops the BN when waiting for genesis (#1761) 2020-09-28 17:19:57 +02:00
beacon_node_types.nim bump libp2p; integrate pubsub.ValidationResult into extended validation (#1893) 2020-10-20 12:31:20 +00:00
conf.nim Adds a fuzzing test for the validator client CLI 2020-10-15 20:15:51 +03:00
deposit_contract.nim Fix last createDir. 2020-10-05 22:19:50 +03:00
deposit_contract_code.txt Integrate the Wallet support with the Deposits creation; Produce Launchpad-compatible deposits 2020-07-28 07:36:25 +03:00
eth2_discovery.nim Let also discovery used listen-address cli option instead of always any address (#1658) 2020-09-27 22:00:24 +02:00
eth2_json_rpc_serialization.nim [JSON-RPC] Prevent silent uint conversion (#1819) 2020-10-07 15:02:54 +02:00
eth2_network.nim bump libp2p: seq[byte] message IDs and improve reject/ignore handling (#1898) 2020-10-21 20:03:12 +00:00
eth2_processor.nim bump libp2p; integrate pubsub.ValidationResult into extended validation (#1893) 2020-10-20 12:31:20 +00:00
exit_pool.nim bump libp2p; integrate pubsub.ValidationResult into extended validation (#1893) 2020-10-20 12:31:20 +00:00
extras.nim rework epoch cache referencing 2020-08-19 10:09:06 +03:00
faststreams_backend.nim Enable Snappy by default (using LibP2P steams for now) 2020-05-13 12:18:42 +03:00
inspector.nim fix some todo (#1645) 2020-09-14 14:50:03 +00:00
inspector.nim.cfg Use only secp256k1 as identity in libp2p. (#1343) 2020-07-21 18:07:14 +02:00
interop.nim Working test suite with run-time presets 2020-07-08 02:02:14 +03:00
keystore_management.nim Fix #1838 (#1892) 2020-10-20 15:01:21 +02:00
libp2p_json_serialization.nim simplify libp2p logging (#1605) 2020-09-06 10:39:25 +02:00
libp2p_streams_backend.nim fix some todo (#1645) 2020-09-14 14:50:03 +00:00
logtrace.nim increase Jenkins timeout from 90 to 100 minutes (#1519) 2020-08-18 07:13:53 +00:00
mainchain_monitor.nim Update get_eth1_data from v0.11.1 to v1.0.0-rc 2020-10-16 11:46:53 +03:00
medalla_beacon_node.nim Add Disc v5.1 bootstrap nodes for Zinken 2020-10-18 12:44:52 +03:00
medalla_beacon_node.nim.cfg Add Disc v5.1 bootstrap nodes for Zinken 2020-10-18 12:44:52 +03:00
merkle_minimal.nim p2p-interface spec ref bump (except non-updated places) (#1862) 2020-10-12 14:37:14 +00:00
network_metadata.nim Retire Spadina and prepare for the Zinken network 2020-10-07 18:12:21 +03:00
nimbus_binary_common.nim Fix last createDir. 2020-10-05 22:19:50 +03:00
nimquery.nim Integrate Discovery V5 and support ENR bootstrap records 2020-01-21 01:26:57 +02:00
peer_pool.nim Simple cost model for sync requests; Penalize peers perfoming flooding or invalid requests 2020-10-15 20:15:51 +03:00
request_manager.nim Address #1538 and do not penalize peers for empty response. (#1811) 2020-10-06 14:10:02 +02:00
signing_process.nim use a separate process for the private keys (Off by default) - there is a new signing_process binary which loads all validators of the beacon node and the BN dictates through stdin of the signing process what to be signed and when and reads from stdout of the process 2020-09-02 12:47:00 +03:00
ssz.nim Implement more of the KeyStore spec and integrate it in the beacon node 2020-06-11 17:40:08 +03:00
sszdump.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
statusbar.nim Cosmetic improvement for the statusbar 2020-06-11 17:40:08 +03:00
sync_manager.nim Do not reward empty responses. (#1827) 2020-10-08 14:50:48 +02:00
sync_protocol.nim Don't penalize flooding peers; Just rate limit them 2020-10-15 20:15:51 +03:00
time.nim p2p-interface spec ref bump (except non-updated places) (#1862) 2020-10-12 14:37:14 +00:00
validator_api.nim misc memory and perf fixes (#1899) 2020-10-22 12:53:33 +02:00
validator_client.nim configuring a writer for the dynamic log output device for the VC binary as well (same as in the BN) 2020-10-15 20:19:10 +03:00
validator_client.nim.cfg Use only secp256k1 as identity in libp2p. (#1343) 2020-07-21 18:07:14 +02:00
validator_duties.nim misc memory and perf fixes (#1899) 2020-10-22 12:53:33 +02:00
validator_pool.nim update 130+ spec references from v0.12.3 to v1.0.0-rc1 (#1854) 2020-10-12 08:59:24 +00:00
validator_slashing_protection.nim update 130+ spec references from v0.12.3 to v1.0.0-rc1 (#1854) 2020-10-12 08:59:24 +00:00
version.nim Add an option for graffiti customization 2020-07-12 21:01:31 +03:00