[Indexer] Full Data & Real-time Indexer #1028
Labels
feature
New feature
skill::rust
Need the rust language skill to complete the issue
status::design
The issue need to do more detail design
Milestone
Typical scenario
Goal
Indexer solution
Type
types, and automatically generate Table SchemaAutomatic table creation solution
Architecture
Core Process
How to parse
Entry: statedb module
Call the method AnnotatedStateReader::view_value
state entry statedb module
distinguish:
resource
module
event entry event_store/mod module
Parse AnnotatedMoveValue, reference
https://github.com/rooch-network/rooch/blob/encrypt_keystore/crates/rooch-types/src/framework/coin.rs
Core Table Schema
Primary key: tx_hash pk
Index:
Primary key: tx_order pk
Index:
Primary key: tx_hash pk
Index:
Primary key: symbol unique pk
Index:
Primary key: (address, coin_type) union pk
Index:
Primary key: (event_handle_id, event_seq) union pk
Index:
Challenge in automatic table creation scheme solution
For example
Convention
created_at
andupdated_at
fields by default, which are automatically filled in by Table Schema TemplateTODO
Appendix
SMT principle
Relative issues
The text was updated successfully, but these errors were encountered: