achow101
commented at 3:52 am on September 11, 2018:
member
When we sign an input in a psbt that has a non-witness utxo but a witness signature is produced, we will now replace the non-witness utxo with the corresponding witness utxo. Furthermore, we should make sure that the correct UTXO type is used based on what UTXOs are there, not based on earlier wallet behavior.
Note that this is PR’d to the 0.17 branch because the code here no longer exists in master.
fanquake added this to the milestone 0.17.0
on Sep 11, 2018
fanquake added the label
Wallet
on Sep 11, 2018
Drop the unnecessary UTXO based on the UTXOs present, not on earlier wallet things
Instead of dropping the unnecessary UTXO based on whether the wallet did something,
do it based on whether two UTXOs are there.
fcdea8ad2a
Convert non-witness UTXOs to witness if witness sig created
If a witness signature was created when a non-witness UTXO is used,
convert the non-witness UTXO to a witness one.
fcefc6851a
achow101 force-pushed
on Sep 11, 2018
fanquake
commented at 5:21 am on September 11, 2018:
member
Test failure seemed unrelated, rebooted Travis.
gmaxwell
commented at 4:01 am on September 13, 2018:
contributor
This sounds right to me.
gmaxwell
commented at 4:48 pm on September 14, 2018:
contributor
ACK
araspitzu
commented at 12:07 pm on September 19, 2018:
none
Would it be possible to add a test for this?
MarcoFalke removed this from the milestone 0.17.0
on Sep 30, 2018
MarcoFalke added this to the milestone 0.17.1
on Sep 30, 2018
MarcoFalke
commented at 1:12 am on September 30, 2018:
member
Moved to 0.17.1 for now, because this can be worked around and psbt isn’t considered final in the 0.17.0 release.
laanwj referenced this in commit
f6df989842
on Nov 1, 2018
meshcollider
commented at 12:10 pm on November 10, 2018:
contributor
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2024-12-19 00:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me