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

feat: index the pending txs in the ckb tx-pool #42

Merged
merged 3 commits into from
Oct 24, 2021
Merged

Conversation

quake
Copy link
Member

@quake quake commented Aug 20, 2021

This PR added an overlay to index the pending txs in the ckb-tx pool, when rpc get_cells and get_cells_capacity are called, the live cells which are consumed by pending txs in the ckb-tx pool will be excluded.

How to use

ckb-indexer -s ~/ckb-test/ckb-indexer-test -c tcp://127.0.0.1:18114 --index-tx-pool

@quake quake requested review from doitian and driftluo August 20, 2021 06:08
src/main.rs Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/main.rs Show resolved Hide resolved
@quake quake merged commit 72c9af0 into master Oct 24, 2021
@quake quake deleted the quake/tcp-subscription branch July 11, 2022 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants