rooch-network / rooch

Fully on-chain Application Container with Move Language
https://rooch.network
Apache License 2.0
126 stars 53 forks source link

[Store]proposal: separate rocksdb configs of moveos and rooch #1593

Open popcnt1 opened 2 weeks ago

popcnt1 commented 2 weeks ago

now we reuse StoreConfig passed to Rooch for MoveOS DB, actually they have different workload, we should use two kinds of configs(in rooch_rpc_server::init_storage for init moveos db and rooch db)

  1. share the same rocksbconfig struct between moveos and rooch db
  2. their arguments could be passed to rooch rpc service separately