-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Utxoscriptindex #14035
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
Utxoscriptindex #14035
Conversation
0d539fb
to
bb9f28b
Compare
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
15ddf9f
to
ebe3d1f
Compare
src/rpc/blockchain.cpp
Outdated
ScriptPubKeyToUniv(coin.out.scriptPubKey, oScriptPubKey, true); | ||
|
||
UniValue o(UniValue::VOBJ); | ||
o.push_back(Pair("confirmations", nConfirmations)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: "push_back(Pair" is deprecated in favor of pushKV
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected
Might be wortwhile to update it to using output descriptors, like |
@instagibbs Thanks for the remarks, how about adding support for descriptors in separate PR? |
@mgrychow, I recently started working on an address-based index (not just for UTXOs) at #14053. I can improve my PR quite a bit using your changes to the ValidationInterface. If you separated that change (adding CBlockUndo's) into it's own commit this PR would be a bit cleaner, and I could use it for the address index :) Anyway, will be reviewing this since it's pretty similar to the PR I just made. |
@mgrychow Not going to bikeshed this PR to death, just noting it in case you've missed it. |
37562b7
to
9eeb194
Compare
9eeb194
to
3b6f42c
Compare
3b6f42c
to
a8294c2
Compare
a81937d
to
94c1d5c
Compare
94c1d5c
to
34c8e8e
Compare
Rebased |
Needs rebase |
Changes cherry-picked from bitcoin#14035. Co-authored-by: Maciej Grychowski <maciej.grychowski@onet.eu>
Changes cherry-picked from bitcoin#14035. Co-authored-by: Maciej Grychowski <maciej.grychowski@onet.eu>
Changes cherry-picked from bitcoin#14035. Co-authored-by: Maciej Grychowski <maciej.grychowski@onet.eu>
Changes cherry-picked from bitcoin#14035. Co-authored-by: Maciej Grychowski <maciej.grychowski@onet.eu>
Changes cherry-picked from bitcoin#14035. Co-authored-by: Maciej Grychowski <maciej.grychowski@onet.eu>
Changes cherry-picked from bitcoin#14035. Co-authored-by: Maciej Grychowski <maciej.grychowski@onet.eu>
Changes cherry-picked from bitcoin#14035. Co-authored-by: Maciej Grychowski <maciej.grychowski@onet.eu>
Changes cherry-picked from bitcoin#14035. Co-authored-by: Maciej Grychowski <maciej.grychowski@onet.eu>
Changes cherry-picked from bitcoin#14035. Co-authored-by: Maciej Grychowski <maciej.grychowski@onet.eu>
There hasn't been much activity lately and the patch still needs rebase, so I am closing this for now. Please let me know when you want to continue working on this, so the pull request can be re-opened. |
Changes cherry-picked from bitcoin#14035. Co-authored-by: Maciej Grychowski <maciej.grychowski@onet.eu>
Changes cherry-picked from bitcoin#14035. Co-authored-by: Maciej Grychowski <maciej.grychowski@onet.eu>
Changes cherry-picked from bitcoin#14035. Co-authored-by: Maciej Grychowski <maciej.grychowski@onet.eu>
Changes cherry-picked from bitcoin#14035. Co-authored-by: Maciej Grychowski <maciej.grychowski@onet.eu>
Yet another attempt to introduce UTxO index by script. Based on #9806 with review remarks and new index framework introduced in #13033 taken into account.