nimbus-eth2/beacon_chain
Jacek Sieka f0720faf17
Fork choice fixes (#1350)
* remove cruft

* reenable fork choice and fix several issues

* in addForkChoice_v2, the `.error` field would be accessed even when
Result is ok
* remove workaround for invalid block structure in fork choice
* fix `tmpState` being used recursively in callback, causing state
corruption while processing attestation
* fix block callback being called twice per block
* pass state to callback to avoid unnecessary rewinding

* enable head select, fix another bug

* never use `get` without `isOk`
* log nil blockref in case blockref is nil

* add missing error checking

* use correct epoch when updating attestation message
2020-07-22 11:42:55 +02:00
..
block_pools Fork choice fixes (#1350) 2020-07-22 11:42:55 +02:00
fork_choice Fork choice fixes (#1350) 2020-07-22 11:42:55 +02:00
spec update compute_subnet_for_attestation() to use https://github.com/ethereum/eth2.0-specs/pull/1876 signature, which isn't in v0.12.1, which works with lookahead (#1346) 2020-07-22 08:04:21 +00:00
ssz cache block hash (#1329) 2020-07-16 15:16:51 +02: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 update compute_subnet_for_attestation() to use https://github.com/ethereum/eth2.0-specs/pull/1876 signature, which isn't in v0.12.1, which works with lookahead (#1346) 2020-07-22 08:04:21 +00:00
attestation_pool.nim Fork choice fixes (#1350) 2020-07-22 11:42:55 +02:00
beacon_chain_db.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
beacon_node.nim Fork choice fixes (#1350) 2020-07-22 11:42:55 +02:00
beacon_node.nim.cfg Use only secp256k1 as identity in libp2p. (#1343) 2020-07-21 18:07:14 +02:00
beacon_node_common.nim Add an option for graffiti customization 2020-07-12 21:01:31 +03:00
beacon_node_types.nim Dual headed fork choice [Revolution] (#1238) 2020-07-09 11:29:32 +02:00
block_pool.nim Fork choice fixes (#1350) 2020-07-22 11:42:55 +02:00
conf.nim Add a non-optional Json file log for the beacon node as stopgap measure (#1322) 2020-07-15 15:15:55 +02:00
deposit_contract.nim Merge devel and resolve the conflicts 2020-07-08 15:36:03 +03:00
eth2_discovery.nim Remove unsused import 2020-07-10 16:30:45 +03:00
eth2_json_rpc_serialization.nim Add an option for graffiti customization 2020-07-12 21:01:31 +03:00
eth2_network.nim Use only secp256k1 as identity in libp2p. (#1343) 2020-07-21 18:07:14 +02:00
extras.nim remove skipMerkleValidation and skipBlockParentRootValidation (#1197) 2020-06-18 07:56:47 +02:00
faststreams_backend.nim Enable Snappy by default (using LibP2P steams for now) 2020-05-13 12:18:42 +03:00
inspector.nim Bump nim-eth and adjust code for it (#1293) 2020-07-10 11:17:15 +02: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 Documentation; 'deposits create' can now ask for a private key 2020-07-10 18:18:14 +03:00
libp2p_json_serialization.nim bump libp2p (#1267) 2020-07-01 13:41:40 +02:00
libp2p_streams_backend.nim Don't use StackArray in ssz; Drop the support for strings 2020-05-24 19:00:34 +03:00
logtrace.nim Add check for late attestation sent messages in logtrace tool. 2020-07-02 10:36:04 +03:00
mainchain_monitor.nim Adapt the local sim scripts to use the new run-time presets 2020-07-10 01:08:54 +03:00
merkle_minimal.nim Working genesis detection for Altona 2020-06-29 02:18:48 +03:00
network_metadata.nim use splitLines to read bootstrap nodes list (#1321) 2020-07-15 10:13:34 +02:00
nimbus_binary_common.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
nimquery.nim Integrate Discovery V5 and support ENR bootstrap records 2020-01-21 01:26:57 +02:00
peer_pool.nim Fix PeerPool issue with peers overflow maxPeers setting. (#1285) 2020-07-07 11:49:08 +02:00
request_manager.nim cache block hash (#1329) 2020-07-16 15:16:51 +02: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 Fix syncman topics log lines. (#1295) 2020-07-10 11:25:58 +03:00
sync_protocol.nim Fix #1241. 2020-07-16 13:01:18 +03:00
sync_protocol.nim.generated.nim launch_local_testnet.sh: make node 0 the bootstrap node 2020-07-16 19:04:57 +02:00
time.nim update 24 v0.11.x spec refs to v0.12.1 2020-06-17 12:11:03 +00:00
validator_api.nim update compute_subnet_for_attestation() to use https://github.com/ethereum/eth2.0-specs/pull/1876 signature, which isn't in v0.12.1, which works with lookahead (#1346) 2020-07-22 08:04:21 +00:00
validator_client.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
validator_client.nim.cfg Use only secp256k1 as identity in libp2p. (#1343) 2020-07-21 18:07:14 +02:00
validator_duties.nim Fork choice fixes (#1350) 2020-07-22 11:42:55 +02:00
validator_pool.nim update 29 spec refs to v0.12.1 2020-07-08 20:49:25 +00:00
version.nim Add an option for graffiti customization 2020-07-12 21:01:31 +03:00