| 1 | package Bitcoin::Crypto::Transaction::Signer::Taproot; | ||
| 2 | 7 | $Bitcoin::Crypto::Transaction::Signer::Taproot::VERSION = '4.006'; | |
| 3 | 7 | ▶ | use v5.14; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 7 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 7 | ▶ | use Mooish::Base -standard; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 7 | ▶ | use Bitcoin::Crypto::Exception; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 7 | ▶ | use Bitcoin::Crypto::Constants; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 7 | ▶ | use Bitcoin::Crypto::Types -types; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 7 | extends 'Bitcoin::Crypto::Transaction::Signer::Segwit'; | |
| 13 | |||
| 14 | sub _multisigop | ||
| 15 | 29 | ▶ | { |
|
Subroutine
_multisigop: called CC=1 SCAR=0.0
| |||
| 16 | 29 | return !!0; | |
| 17 | } | ||
| 18 | |||
| 19 | sub finalize_multisignature | ||
| 20 | 0 | ▶ | { |
|
Subroutine
finalize_multisignature: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 21 | 0 | Bitcoin::Crypto::Exception::Sign->raise( | |
| 22 | 'taproot transactions do not support multisignatures' | ||
| 23 | ); | ||
| 24 | } | ||
| 25 | |||
| 26 | 7 | 1; | |
| 27 | |||