nimbus-eth2/beacon_chain
Eugene Kabanov e3fcd8b031
REST: getBlockRewards() and getSyncCommitteeRewards() implementation (#6556)
* Initial commit.

* Use temporary state instead of clearance.

* Attempt to fix `finalized`.

* Fix `genesis` response.

* Pre-calculate genesis block rewards response.

* Add implementation for sync committee rewards.

* Add total active balance calculation.

* Add genesis special case.

* Fix negative reward values.

* Address review comments.

* Fix isGenesis implementation and add REST test rules for both calls.
2024-09-18 23:34:32 +00:00
..
consensus_object_pools Add GetAggregateAttestation V2 endpoint version (#6511) 2024-09-06 12:15:30 +00:00
el bump nim-kzg4844, enable ckzg2.0.0, fix whatever needed (#6502) 2024-09-02 11:47:00 +00:00
fork_choice rm some unused code/imports (#6541) 2024-09-11 05:45:37 +02:00
gossip_processing rm unused code/type conversoins; re-enable Electra block gossip verification (#6545) 2024-09-12 11:11:08 +02:00
libnimbus_lc bump nim-web3 to `0cc03e67dda6c4d9be0f9d9abde7508e46156fd9` (#6560) 2024-09-18 18:47:35 +02:00
networking Add publishAggregateAndProofsV2 (#6546) 2024-09-13 21:11:09 +00:00
rpc REST: getBlockRewards() and getSyncCommitteeRewards() implementation (#6556) 2024-09-18 23:34:32 +00:00
spec REST: getBlockRewards() and getSyncCommitteeRewards() implementation (#6556) 2024-09-18 23:34:32 +00:00
sync inhibit LC sync while DAG is synced (#6505) 2024-08-22 06:13:47 +00:00
validator_client rm unused code/type conversoins; re-enable Electra block gossip verification (#6545) 2024-09-12 11:11:08 +02:00
validators Add publishAggregateAndProofsV2 (#6546) 2024-09-13 21:11:09 +00:00
.editorconfig
.gitignore
beacon_chain_db.nim rm unused code/type conversoins; re-enable Electra block gossip verification (#6545) 2024-09-12 11:11:08 +02:00
beacon_chain_db_immutable.nim automated consensus spec URL updating to v1.5.0-alpha.5 (#6504) 2024-08-21 14:25:19 +02:00
beacon_chain_db_light_client.nim extend light client protocol for Electra (#6375) 2024-06-26 19:02:03 +00:00
beacon_clock.nim automated consensus spec URL updating to v1.5.0-alpha.5 (#6504) 2024-08-21 14:25:19 +02:00
beacon_node.nim BN: Disable genesis sync via long-range-sync argument. (#6361) 2024-06-20 18:57:08 +00:00
beacon_node_light_client.nim inhibit LC sync while DAG is synced (#6505) 2024-08-22 06:13:47 +00:00
beacon_node_status.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
conf.nim bump nim-kzg4844, enable ckzg2.0.0, fix whatever needed (#6502) 2024-09-02 11:47:00 +00:00
conf_common.nim Dissect Windows specific code from beacon node. (#5612) 2024-01-13 12:53:53 +02:00
conf_light_client.nim resolve several outstanding items for Electra support; add debug-foo to light client yamux (#6547) 2024-09-13 10:07:06 +02:00
db_limits.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
deposits.nim some v1.5.0-alpha.5 consensus spec URL updates (#6509) 2024-08-23 12:43:54 +02:00
era_db.nim add Electra to ConsensusFork enum (#6169) 2024-04-03 16:43:43 +02:00
extras.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
filepath.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
light_client.nim inhibit LC sync while DAG is synced (#6505) 2024-08-22 06:13:47 +00:00
light_client_db.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
nim.cfg fix most ConvFromXtoItselfNotNeeded hints and unhide remaining ones (#6307) 2024-05-22 13:56:37 +02:00
nimbus_beacon_node.nim REST: getBlockRewards() and getSyncCommitteeRewards() implementation (#6556) 2024-09-18 23:34:32 +00:00
nimbus_beacon_node.nim.cfg remove `news` leftovers (#4299) 2022-11-08 20:06:54 +00:00
nimbus_binary_common.nim Use Nimbus specific agent string instead of nim-presto defaults. (#6424) 2024-07-15 02:27:23 +00:00
nimbus_light_client.nim remove Bellatrix EL syncing support from light client (#6352) 2024-06-14 01:23:17 +00:00
nimbus_light_client.nim.cfg remove `news` leftovers (#4299) 2022-11-08 20:06:54 +00:00
nimbus_signing_node.nim remove some debugRaiseAsserts and fill in Electra functionality (#6179) 2024-04-06 15:11:47 +02:00
nimbus_signing_node.nim.cfg
nimbus_validator_client.nim Add beacon node count metrics. (#6371) 2024-07-06 21:07:56 +00:00
nimbus_validator_client.nim.cfg remove `news` leftovers (#4299) 2022-11-08 20:06:54 +00:00
sszdump.nim update `wss_sim` for Bellatrix, Capella and Deneb (#6170) 2024-04-08 15:28:46 +02:00
statediff.nim Shared validator pubkey (#5883) 2024-02-21 20:06:19 +01:00
statusbar.nim verify `genesis_time` more strictly (fixes #1667) (#5694) 2024-01-06 15:26:56 +01:00
trusted_node_sync.nim automated consensus spec URL updating to v1.5.0-alpha.5 (#6504) 2024-08-21 14:25:19 +02:00
validator_bucket_sort.nim calculate next slot's withdrawals properly even across epoch boundary (#6470) 2024-08-06 13:33:16 +02:00
version.nim version v24.8.0 2024-08-29 14:29:58 +00:00
wallets.nim add `{.push raises: [].}` to recently modified files (#5908) 2024-02-18 01:16:49 +00:00
winservice.nim add `{.push raises: [].}` to recently modified files (#5908) 2024-02-18 01:16:49 +00:00