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

Store address related state changes information for each CkbTransaction #216

Open
ShiningRay opened this issue Mar 8, 2023 · 1 comment
Assignees
Labels

Comments

@ShiningRay
Copy link
Contributor

ShiningRay commented Mar 8, 2023

For future usage.

Create new table to store address_state_changes to ckb_transactions.
This table has following structure:

[address] => {[state_name] => [change_value]}

which means the capacity increments 100 and live cells count decrements 1 within the address 0x111 after the transaction commited.


Make a snapshot for current chain because we may not sync all state change from earliest block.

@ShiningRay ShiningRay self-assigned this Mar 8, 2023
@ShiningRay ShiningRay changed the title Store state changes information in CkbTransaction Store address related state changes information in CkbTransaction Mar 8, 2023
@iamyates iamyates assigned iamyates and unassigned ShiningRay Mar 10, 2023
@ShiningRay ShiningRay changed the title Store address related state changes information in CkbTransaction Store address related state changes information for each CkbTransaction May 8, 2023
@Sven-TBD Sven-TBD assigned Daryl-L and unassigned ShiningRay Nov 20, 2023
@Sven-TBD
Copy link
Contributor

Sven-TBD commented Nov 23, 2023

I guess this issue is about a new table which stores the relationship between address's state and its change value.
Could u pls check if my statement about it is right and provide some more info based on your comprehension to this issue. @rabbitz

----update---
And its Priority

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📫Hold On
Status: Todo
Development

No branches or pull requests

6 participants