File Coverage

blib/lib/Bitcoin/Crypto/Config.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


line stmt bran cond sub pod time code
1             package Bitcoin::Crypto::Config;
2             $Bitcoin::Crypto::Config::VERSION = '1.008_01'; # TRIAL
3             $Bitcoin::Crypto::Config::VERSION = '1.00801';
4 20     20   143997 use v5.10;
  20         110  
5 20     20   165 use strict;
  20         64  
  20         526  
6 20     20   115 use warnings;
  20         42  
  20         662  
7              
8 20     20   155 use Config;
  20         44  
  20         1947  
9              
10             use constant {
11             curve_name => 'secp256k1',
12             max_child_keys => (2 << 30),
13             key_max_length => 32,
14             wif_compressed_byte => "\x01",
15             compress_public_point => 1,
16             witness_version => 0,
17             max_witness_version => 16,
18              
19             ivsize => $Config{ivsize},
20 20     20   170 };
  20         53  
  20         5393  
21              
22             1;
23              
24             # Internal use only
25