Skip to content

Include last voted BPs #19

Description

@karynemayer

Overview

We should add to obe-indexer voters table a last_voted column, get it by querying hyperion get_actions like this: hyperion.get(/v2/history/get_actions?limit=1&account=${row.voter}&filter=eosio%3Avoteproducer)

This will enable telosnetwork/open-block-explorer#475 (comment) not to be dependent on Hyperion directly

Acceptance criteria

  • Voters table should include last_voted column
  • Querying it should return the list of BPs that were last voted by a specific account

Technical considerations

Tasks

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✨ EnhancementImprovements on existing features

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions