Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Use sighash single + anyonecanpay for redemption txns #308

Open
prestwich opened this issue Oct 1, 2019 · 0 comments
Open

Use sighash single + anyonecanpay for redemption txns #308

prestwich opened this issue Oct 1, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@prestwich
Copy link
Contributor

Right now redemption txns use sighash ALL. Updating them to use sighash single+anyonecanpay would allow for future off-chain fee-bumping protocol extensions, e.g. a third-party paying some fee by appending inputs/outputs to the in-flight txn

This is a relatively simple change. It would require the implementation of a sighashSACP in bitcoin-spv's CheckBitcoinSigs library, and then swapping out oneInputOneOutputSighash for sighashSACP

@prestwich prestwich added the enhancement New feature or request label Oct 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant