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

Add support for the new rich indexer #656

Open
homura opened this issue Mar 21, 2024 · 5 comments · May be fixed by #715
Open

Add support for the new rich indexer #656

homura opened this issue Mar 21, 2024 · 5 comments · May be fixed by #715
Milestone

Comments

@homura
Copy link
Collaborator

homura commented Mar 21, 2024

INDEXER RPC Indexer Rich-Indexer
get_cells script args partial mode search ✔️
get_cells cell data filter(prefix|exact|partial) ✔️ ✔️
get_transactions script args partial mode search ✔️
get_transactions cell data filter(prefix|exact|partial) ✔️
get_cells_capacity script args partial mode search ✔️
get_cells_capacity cell data filter(prefix|exact|partial) ✔️ ✔️

nervosnetwork/ckb#4224

@ahonn
Copy link

ahonn commented Apr 29, 2024

Rich indexer has been released: https://github.com/nervosnetwork/ckb/releases/tag/v0.115.0
When will lumos support rich indexer, such as partial mode search?

@homura
Copy link
Collaborator Author

homura commented Apr 29, 2024

Rich indexer has been released: nervosnetwork/ckb@v0.115.0 (release) When will lumos support rich indexer, such as partial mode search?

It is in the queue without a high priority. Is there a function that requires the rich indexer feature?

@ahonn
Copy link

ahonn commented Apr 30, 2024

Mainly get_transactions cell data filter(prefix|exact|partial) feature, for RGB++ BTCTimeLock, we don't know lock_script mostly, so we cannot use prefix mode to search transactions. If the partial mode is supported, then it can be obtained through btc_txid to the corresponding CKB transaction.

You can tell me roughly the key points of the implementation, and I will be happy to raise a PR to support rich indexer.

@Keith-CY
Copy link
Member

Keith-CY commented May 13, 2024

PG that can work in browser and node.js: https://github.com/electric-sql/pglite

@homura homura moved this to 📌Planning in Lumos Jun 11, 2024
@homura homura added this to the 0.24.0 milestone Jun 11, 2024
@homura
Copy link
Collaborator Author

homura commented Jun 17, 2024

nervosnetwork/ckb#4484

This issue tries to fix a performance issue for the partial indexing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📌Planning
Development

Successfully merging a pull request may close this issue.

3 participants