Magickbase / ckb-explorer-public-issues

CKB Explorer Issues
https://explorer.nervos.org/
3 stars 2 forks source link

Store address related state changes information for each CkbTransaction #216

Open ShiningRay opened 1 year ago

ShiningRay commented 1 year ago

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.

Sven-TBD commented 11 months ago

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