-
Notifications
You must be signed in to change notification settings - Fork 902
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
addpsbtoutput: New onchain command for PSBT output and splice_out tests #6676
addpsbtoutput: New onchain command for PSBT output and splice_out tests #6676
Conversation
1910afc
to
94c7e83
Compare
dbec2b6
to
524de4a
Compare
I'm leaning toward Updated this PR with |
1a6f5c2
to
ce2a618
Compare
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.
Just bikeshedding the name now...
@@ -1523,6 +1523,17 @@ def fundpsbt(self, satoshi, feerate, startweight, minconf=None, reserve=None, lo | |||
} | |||
return self.call("fundpsbt", payload) | |||
|
|||
def newoutput(self, satoshi, initialpsbt=None, locktime=None): |
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.
Really needs a psbt in here somewhere!
psbtaddoutput?
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.
Also, commit name is now wrong!
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.
Whoops I read that as addpsbtoutput
and changed the name to that 🤦. I kinda like it though -- what do you think?
db6d23e
to
eb156b4
Compare
eb156b4
to
9075d8d
Compare
9075d8d
to
8fc0c0b
Compare
Looks like you returned success when you meant to return an error:
|
8fc0c0b
to
080d133
Compare
Whoops, should be fixed now |
080d133
to
7562044
Compare
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.
One v. minor change: the version number it was added in...
9986a7e
to
68e3445
Compare
Trivial rebase on master for CI... Ack 10e1224 |
68e3445
to
10e1224
Compare
Also added splice_out tests that use the new PSBT command. ChangeLog-Added: New `addpsbtoutput` command for creating a PSBT that can receive funds to the on-chain wallet.
10e1224
to
f1dfec4
Compare
} | ||
else if(locktime) { |
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.
} | |
else if(locktime) { | |
} else if (locktime) { |
FYI just a minor nit
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.
ACK f1dfec4
bc9333a
into
ElementsProject:master
Note: This now depends on PR #6677
New
addpsbtoutput
command for creating a PSBT that can receive funds to the on-chain wallet.