lighthouse/beacon_node
divma 46dbf027af Do not reset batch ids & redownload out of range batches (#1528)
The changes are somewhat simple but should solve two issues:
- When quickly changing between chains once and a second time back again, batchIds would collide and cause havoc. 
- If we got an out of range response from a peer, sync would remain in syncing but without advancing

Changes:
- remove the batch id. Identify each batch (inside a chain) by its starting epoch. Target epochs for downloading and processing now advance by EPOCHS_PER_BATCH
- for the same reason, move the "to_be_downloaded_id" to be an epoch
- remove a sneaky line that dropped an out of range batch without downloading it
- bonus: put the chain_id in the log given to the chain. This is why explicitly logging the chain_id is removed
2020-08-18 01:29:51 +00:00
..
beacon_chain Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
client Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
eth1 Cross-compile to vendored x86_84, aarch64 (Raspberry Pi 4) (#1497) 2020-08-11 05:16:30 +00:00
eth2_libp2p Revert back to discv5 alpha 8 to maintain ARM support (#1531) 2020-08-17 10:06:08 +00:00
genesis Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
network Do not reset batch ids & redownload out of range batches (#1528) 2020-08-18 01:29:51 +00:00
operation_pool Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
rest_api Wind down the SSE thread when the client disconnects (#1514) 2020-08-13 06:12:18 +00:00
src Ignore blocks that skip a large distance from their parent (#1530) 2020-08-17 10:54:58 +00:00
store Memory usage reduction (#1522) 2020-08-17 08:05:13 +00:00
tests Improve tokio task execution (#1181) 2020-06-04 21:48:05 +10:00
timer Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
websocket_server Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
Cargo.toml Prepare for v0.2.4 (#1533) 2020-08-17 12:13:42 +00:00