line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bitcoin::Crypto::Role::Compressed; |
2
|
|
|
|
|
|
|
$Bitcoin::Crypto::Role::Compressed::VERSION = '2.000_01'; # TRIAL |
3
|
|
|
|
|
|
|
$Bitcoin::Crypto::Role::Compressed::VERSION = '2.00001'; |
4
|
16
|
|
|
16
|
|
11095
|
use v5.10; |
|
16
|
|
|
|
|
85
|
|
5
|
16
|
|
|
16
|
|
1944
|
use strict; |
|
16
|
|
|
|
|
60
|
|
|
16
|
|
|
|
|
381
|
|
6
|
16
|
|
|
16
|
|
84
|
use warnings; |
|
16
|
|
|
|
|
49
|
|
|
16
|
|
|
|
|
573
|
|
7
|
16
|
|
|
16
|
|
105
|
use Mooish::AttributeBuilder -standard; |
|
16
|
|
|
|
|
54
|
|
|
16
|
|
|
|
|
114
|
|
8
|
16
|
|
|
16
|
|
2355
|
use Type::Params -sigs; |
|
16
|
|
|
|
|
51
|
|
|
16
|
|
|
|
|
115
|
|
9
|
|
|
|
|
|
|
|
10
|
16
|
|
|
16
|
|
9034
|
use Bitcoin::Crypto::Types qw(Object Bool); |
|
16
|
|
|
|
|
65
|
|
|
16
|
|
|
|
|
2002
|
|
11
|
16
|
|
|
16
|
|
56499
|
use Moo::Role; |
|
16
|
|
|
|
|
46
|
|
|
16
|
|
|
|
|
134
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has param 'compressed' => ( |
14
|
|
|
|
|
|
|
coerce => Bool, |
15
|
|
|
|
|
|
|
default => !!1, |
16
|
|
|
|
|
|
|
writer => -hidden, |
17
|
|
|
|
|
|
|
); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
signature_for set_compressed => ( |
20
|
|
|
|
|
|
|
method => Object, |
21
|
|
|
|
|
|
|
positional => [Bool, {default => !!1}], |
22
|
|
|
|
|
|
|
); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub set_compressed |
25
|
|
|
|
|
|
|
{ |
26
|
|
|
|
|
|
|
my ($self, $state) = @_; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
$self->_set_compressed($state); |
29
|
|
|
|
|
|
|
return $self; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|