wallet icon indicating copy to clipboard operation
wallet copied to clipboard

using SIGHASH_ANYONECANPAY for flexible input handling with multiple competing proposals

Open xbtdev opened this issue 10 years ago • 2 comments

Lighthouse works by using SIGHASH_ALL | SIGHASH_ANYONECANPAY to allow transaction proposals where adding inputs later is allowed.

The outputs are signed, which prevents the amounts or destination addresses from being changed.

Copay could sign using all available inputs without locking inputs. If an input is spent, there will be additional inputs already signed that can be used instead.

Would this work? I'm just looking for advanced solutions to the input locking issue.

xbtdev avatar Dec 13 '15 12:12 xbtdev

Problem with that scheme is change and fees...

dabura667 avatar Dec 13 '15 12:12 dabura667

agree with @dabura667

closed in favor of https://github.com/bitpay/copay/issues/3825

matiu avatar Jan 27 '16 15:01 matiu