nimbus-eth2/beacon_chain/rpc
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
..
rest_api.nim REST: getBlockRewards() and getSyncCommitteeRewards() implementation (#6556) 2024-09-18 23:34:32 +00:00
rest_beacon_api.nim Add implementation of publishBlindedBlockV2() REST API endpoint. (#6413) 2024-07-04 19:48:12 +00:00
rest_builder_api.nim Adopt asyncraises guarantees to most of the REST API handlers. (#5803) 2024-01-20 17:06:28 +01:00
rest_config_api.nim automated consensus spec URL updating to v1.5.0-alpha.5 (#6504) 2024-08-21 14:25:19 +02:00
rest_constants.nim REST: getBlockRewards() and getSyncCommitteeRewards() implementation (#6556) 2024-09-18 23:34:32 +00:00
rest_debug_api.nim remove option to select Capella fork choice algo (#6478) 2024-08-07 14:48:05 +00:00
rest_event_api.nim stop using deprecated stew/results (#6343) 2024-06-11 02:34:56 +00:00
rest_key_management_api.nim fix most ConvFromXtoItselfNotNeeded hints and unhide remaining ones (#6307) 2024-05-22 13:56:37 +02:00
rest_light_client_api.nim Adopt asyncraises guarantees to most of the REST API handlers. (#5803) 2024-01-20 17:06:28 +01:00
rest_nimbus_api.nim stop using deprecated stew/results (#6343) 2024-06-11 02:34:56 +00:00
rest_node_api.nim Use Nimbus specific agent string instead of nim-presto defaults. (#6424) 2024-07-15 02:27:23 +00:00
rest_rewards_api.nim REST: getBlockRewards() and getSyncCommitteeRewards() implementation (#6556) 2024-09-18 23:34:32 +00:00
rest_utils.nim split out eth1chain into its own module (#5768) 2024-01-17 15:26:16 +01:00
rest_validator_api.nim tweak indentation (#6548) 2024-09-13 23:31:45 +00:00
state_ttl_cache.nim Prune `BlockRef` on finalization (#3513) 2022-03-17 17:42:56 +00:00