Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Epoch #264

Open
ShiningRay opened this issue Apr 7, 2023 · 0 comments
Open

Refactor Epoch #264

ShiningRay opened this issue Apr 7, 2023 · 0 comments
Assignees
Labels

Comments

@ShiningRay
Copy link
Contributor

ShiningRay commented Apr 7, 2023

  • setup a new Epoch model ( or reues EpochStatistic model )
    • Fields:
      • epoch_number (or id)
      • length
      • start_block_number
      • end_block_number
  • refactor the epoch related columns inblocks:

we could use epoch number for partitioning in blocks table, ckb_transactions table, cell_inputs, cell_outputs table in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📌Planning
Development

No branches or pull requests

3 participants