Skip to content

Write in db idealRewards #371

Closed
Closed

Description

@pablomendezroyo

Write in db totalRewards for later usage to calculate efficiency

Activity

  1. Marketen commented on Oct 1, 2024

    @Marketen
    Contributor

    Its actually idealRewards with 32 eth of effective balance. That is the maximum amount of eth you can get for that particular attestation, useful for calculating attestation efficiency

    "ideal_rewards": [
          {
            "effective_balance": "3200000000",
            "head": "2500",
            "target": "5000",
            "source": "5000",
            "inclusion_delay": "5000",
            "inactivity": "5000"
          }
         
    

    https://ethereum.github.io/beacon-APIs/#/Rewards/getAttestationsRewards

  2. changed the title [-]Write in db `totalRewards`[/-] [+]Write in db `idealRewards`[/+] on Oct 2, 2024
  3. pablomendezroyo commented on Oct 2, 2024

    @pablomendezroyo
    ContributorAuthor

    Closed by #378

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions