Skip to content

Conversation

@luke-jr
Copy link
Member

@luke-jr luke-jr commented Jan 3, 2020

Backport of #17524

Invalid PSBTs need to be re-created, so the next role is the
Creator (new PSBTRole). Additionally, we need to know what went
wrong so an error field was added to PSBTAnalysis.

A PSBTAnalysis indicating invalid will have empty everything,
next will be set to PSBTRole::CREATOR, and an error message.

Github-Pull: bitcoin#17524
Rebased-From: 638e40c
@fanquake fanquake added this to the 0.19.1 milestone Jan 3, 2020
@fanquake fanquake requested a review from achow101 January 3, 2020 04:06
@achow101
Copy link
Member

achow101 commented Jan 3, 2020

ACK ca5f8de

Diff is the same.

fanquake added a commit that referenced this pull request Jan 4, 2020
ca5f8de Mark PSBTs spending unspendable outputs as invalid in analysis (Andrew Chow)
5515833 Have a PSBTAnalysis state that indicates invalid PSBT (Andrew Chow)

Pull request description:

  Backport of #17524

ACKs for top commit:
  achow101:
    ACK ca5f8de

Tree-SHA512: b5f2b951beb9477ac3176a0aade845654d2108ca3a9fbc72097ba4b4797df5419053d6b489bbaa03be08cb8cfdc37a83db8b7642ffa52d42b7aa8ea14aff39cc
@fanquake fanquake merged commit ca5f8de into bitcoin:0.19 Jan 4, 2020
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants