| 1 | package Bitcoin::Crypto::Transaction::Signer::Taproot; | ||
| 2 | 5 | $Bitcoin::Crypto::Transaction::Signer::Taproot::VERSION = '4.005'; | |
| 3 | 5 | ▶ | use v5.14; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 5 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 5 | ▶ | use Mooish::Base -standard; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 5 | ▶ | use Bitcoin::Crypto::Exception; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 5 | ▶ | use Bitcoin::Crypto::Constants; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 5 | ▶ | use Bitcoin::Crypto::Types -types; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 5 | extends 'Bitcoin::Crypto::Transaction::Signer::Segwit'; | |
| 13 | |||
| 14 | sub _multisigop | ||
| 15 | 21 | ▶ | { |
|
Subroutine
_multisigop: called CC=1 SCAR=0.0
| |||
| 16 | 21 | 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 | 5 | 1; | |
| 27 | |||