Crypto/Transaction/Signer/Role/ScriptHash.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Crypto/Transaction/Signer/Role/KeyHash.pm ↑ Summary Crypto/Transaction/Signer/Segwit.pm »
1 package Bitcoin::Crypto::Transaction::Signer::Role::ScriptHash;
2 7 $Bitcoin::Crypto::Transaction::Signer::Role::ScriptHash::VERSION = '4.005';
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, -role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 7 requires qw(
9 _initialize
10 script
11 _signature
12 );
13  
14 10 ▶after '_initialize' => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
15 10 my ($self) = @_;
16  
17 # do not use add_bytes (not part of this script)
18 10 push @{$self->_signature}, $self->script->to_serialized;
19 7 };
20  
21 7 1;
22  
« Crypto/Transaction/Signer/Role/KeyHash.pm ↑ Summary Crypto/Transaction/Signer/Segwit.pm »