nervosnetwork / mercury

Building on top of ckb-indexer, Mercury provides handy integration features for Nervos CKB.
MIT License
23 stars 15 forks source link

feat(rpc): sync ckb indexer updates #445

Closed EthanYuan closed 1 year ago

EthanYuan commented 2 years ago

What this PR does / why we need it:

Compared to pr #444 , this pr is a version that supports prefix queries.

Since prefix query is implemented based on relational database, indexes of lock_args and type_args are added to table mercury_live_cell and mercury_indexer_cell, so that the query performance is acceptable.

Which issue(s) this PR fixes:

Fixes #

Which docs this PR relation:

Ref #

Which toolchain this PR adaption:

No Breaking Change

Special notes for your reviewer: