Crypto/Transaction/Signer/Taproot.pm

filter: Statementstmt 95.4% 21 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod 100% 1 / 1 totaltotal 93.5% 29 / 31 CC 1 SCAR 1.2
CC
1
Cov
95%
finalize_multisignature
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Crypto/Key/ExtPublic.pm ↑ Summary Crypto/Transaction/Signer/CompatP2WPKH.pm »
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  
« Crypto/Key/ExtPublic.pm ↑ Summary Crypto/Transaction/Signer/CompatP2WPKH.pm »