lighthouse/beacon_node/beacon_chain/src
realbigsean 2c2c443718 404's on API requests for slots that have been skipped or orphaned (#2272)
## Issue Addressed

Resolves #2186

## Proposed Changes

404 for any block-related information on a slot that was skipped or orphaned

Affected endpoints:
- `/eth/v1/beacon/blocks/{block_id}`
- `/eth/v1/beacon/blocks/{block_id}/root`
- `/eth/v1/beacon/blocks/{block_id}/attestations`
- `/eth/v1/beacon/headers/{block_id}`

## Additional Info



Co-authored-by: realbigsean <seananderson33@gmail.com>
2021-04-25 03:59:59 +00:00
..
attestation_verification.rs Add check for aggregate target (#2306) 2021-04-13 00:24:39 +00:00
beacon_chain.rs 404's on API requests for slots that have been skipped or orphaned (#2272) 2021-04-25 03:59:59 +00:00
beacon_fork_choice_store.rs Advance state to next slot after importing block (#2174) 2021-02-15 07:17:52 +00:00
beacon_proposer_cache.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
beacon_snapshot.rs Advance state to next slot after importing block (#2174) 2021-02-15 07:17:52 +00:00
block_verification.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
builder.rs Clean up warnings (#2240) 2021-04-12 00:57:43 +00:00
chain_config.rs Implement database temp states to reduce memory usage (#1798) 2020-10-23 01:27:51 +00:00
errors.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
eth1_chain.rs Fix clippy errors on tests (#2160) 2021-01-28 23:31:06 +00:00
events.rs Server sent events (#1920) 2020-12-04 00:18:58 +00:00
head_tracker.rs Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
lib.rs Use the database to persist the pubkey cache (#2234) 2021-03-04 01:25:12 +00:00
metrics.rs Add specific log and metric for delayed blocks (#2308) 2021-04-13 02:16:59 +00:00
migrate.rs Address queue congestion in migrator (#1923) 2020-11-17 23:11:26 +00:00
naive_aggregation_pool.rs Handle early blocks (#2155) 2021-02-24 03:08:52 +00:00
observed_attestations.rs Fix new clippy lints (#2036) 2020-12-03 01:10:26 +00:00
observed_attesters.rs Expand observed attestations capacity (#2266) 2021-03-29 23:42:34 +00:00
observed_block_producers.rs Fix race condition in seen caches (#1937) 2020-11-22 23:02:51 +00:00
observed_operations.rs Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
persisted_beacon_chain.rs Fix head tracker concurrency bugs (#1771) 2020-10-19 05:58:39 +00:00
persisted_fork_choice.rs v0.12 fork choice update (#1229) 2020-06-17 11:10:22 +10:00
schema_change.rs Use the database to persist the pubkey cache (#2234) 2021-03-04 01:25:12 +00:00
shuffling_cache.rs Advance state to next slot after importing block (#2174) 2021-02-15 07:17:52 +00:00
snapshot_cache.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
state_advance_timer.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
test_utils.rs Clean up warnings (#2240) 2021-04-12 00:57:43 +00:00
timeout_rw_lock.rs Add timeouts to canonical head rwlock (#759) 2020-01-06 17:30:37 +11:00
validator_monitor.rs Add specific log and metric for delayed blocks (#2308) 2021-04-13 02:16:59 +00:00
validator_pubkey_cache.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00