-
Notifications
You must be signed in to change notification settings - Fork 492
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
Allow P2PKH
and P2SH
scripts in coinjoin outputs
#12190
Conversation
Nice, how about segwit v0 script P2WSH? |
One step at a time. |
Concept ACK. With pay in coinjoins combined with big coinjoins of WabiSabi this makes sense. |
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.
cACK, code LGTM
Are we planning to allow a way to do this in the RPC? How would it look like?
|
||
[DefaultValue(false)] | ||
[JsonProperty(PropertyName = "AllowP2shOutputs", DefaultValueHandling = DefaultValueHandling.Populate)] | ||
public bool AllowP2shOutputs { get; set; } = false; |
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.
Why false by default? Is there some cases where it would be annoying for a coordinator to have this? I can only see upsides.
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.
Yes, you're right. Next PR will switch them to true.
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.
cACK
Partially closes #12189 |
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
With |
Allow to register more scriptpubkyes to enable more use cases for coinjoins