-
Notifications
You must be signed in to change notification settings - Fork 1.2k
merge #12196, #13697: Add scantxoutset RPC method #4187
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
Conversation
This took more time than it should've. Had a better post with Markdown, reference URLs and more but an ill-timed Cmd+Q and it was gone, here's the abridged version. Test failure due to memory access error sounds scary, thought it was due to errors while porting but after porting it again, same problems, chucking it in a debugger and turns out the test vector private key was a Yes. Prefix mismatch stole five hours of my time. Welp, at least I know how to use Xcode's visual debugger and finally moved on from Don't know how to generate new tests so here is how I adapted the existing test vectors to ones that should work with Dash, should be reproducible.
|
Rebased and updated, Python tests pending (inherited from PSBT) |
Rebased on top of develop, post PSBT merge! |
0000300
to
4aaad46
Compare
f67c001
to
4104118
Compare
@UdjinM6, |
pls see 7dacf7a |
Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
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.
LGTM, utACK
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.
utACK for merging via merge commit
Overview
This pull request presupposes the merger of #4186 intoThis pull request introduces thedevelop
. Only the last two commits are meant to be reviewed.scantxoutset
RPC command without segregated witness-specific logic.To actually comparepsbt
withscantxout
, go hereMotivation
During initial preparation for bitcoin#18242 ("Add BIP324 encrypted p2p transport de-/serializer" by jonasschnelli) and the backporting of bitcoin@78c312c, a difference in class and function names were noticed and that in turn lead to a series of pull requests the lead us to this one.
The motivation is to reduce future merge conflicts when backporting pull requests from Bitcoin Core.
Things To Do
* Fixtest/descriptor_tests.cpp
/ possibly readapt them for DashContents
bitcoin#12196, bitcoin#13697
Disclosures
Tests fail. (see "Things To Do") Only Python ones do but at least we know how to get around it, see comment below