Bitcoin-Crypto
view release on metacpan or search on metacpan
- set_rbf now raises a more descriptive exception when called on a transaction with no inputs
[Documentation]
- supply missing fields in PSBT documentation
4.004 Tue Mar 17, 2026
[Fixes]
- Bump Bitcoin::Secp256k1 dependency to fix a bug with passing undef as pubkey or signature
- Bump Mooish::Base dependency to fix test failures with MooX::XSConstructor installed
- Crypt::SecretBuffer is now only used if it is in version 0.007 or above
- Depend on namespace::autoclean, get rid of namespace::clean usage
4.003 Thu Dec 11, 2025
[Public interface changes]
- Bitcoin::Crypto::Script::Tree:
- added get_tapleaf_script method
- added get_tapleaf_version method
- Bitcoin::Crypto::Transaction:
- added had_witness_flag attribute
- removed flags parameter from get_digest method
- added sign method
"requires" : {
"Bitcoin::BIP39" : "0.002",
"Bitcoin::Secp256k1" : "0.011",
"CryptX" : "0.074",
"Feature::Compat::Try" : "0",
"List::Util" : "1.45",
"Math::BigInt" : "1.999831",
"Moo" : "2.003004",
"Mooish::Base" : "1.005",
"Type::Tiny" : "2",
"namespace::autoclean" : "0",
"perl" : "5.014"
}
},
"test" : {
"requires" : {
"Test2::V0" : "0.000139"
}
}
},
"release_status" : "stable",
requires:
Bitcoin::BIP39: '0.002'
Bitcoin::Secp256k1: '0.011'
CryptX: '0.074'
Feature::Compat::Try: '0'
List::Util: '1.45'
Math::BigInt: '1.999831'
Moo: '2.003004'
Mooish::Base: '1.005'
Type::Tiny: '2'
namespace::autoclean: '0'
perl: '5.014'
resources:
bugtracker: https://github.com/Perl-Bitcoin/Bitcoin-Crypto/issues
homepage: https://metacpan.org/dist/Bitcoin-Crypto
repository: git://github.com/Perl-Bitcoin/Bitcoin-Crypto.git
version: '4.005'
x_generated_by_perl: v5.42.0
x_serialization_backend: 'YAML::Tiny version 1.76'
x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
Makefile.PL view on Meta::CPAN
"PREREQ_PM" => {
"Bitcoin::BIP39" => "0.002",
"Bitcoin::Secp256k1" => "0.011",
"CryptX" => "0.074",
"Feature::Compat::Try" => 0,
"List::Util" => "1.45",
"Math::BigInt" => "1.999831",
"Moo" => "2.003004",
"Mooish::Base" => "1.005",
"Type::Tiny" => 2,
"namespace::autoclean" => 0
},
"TEST_REQUIRES" => {
"Test2::V0" => "0.000139"
},
"VERSION" => "4.005",
"test" => {
"TESTS" => "t/*.t t/Key/*.t t/PSBT/*.t t/Script/*.t t/Taproot/*.t t/Transaction/*.t t/Transaction/Signer/*.t"
}
);
Makefile.PL view on Meta::CPAN
"Bitcoin::BIP39" => "0.002",
"Bitcoin::Secp256k1" => "0.011",
"CryptX" => "0.074",
"Feature::Compat::Try" => 0,
"List::Util" => "1.45",
"Math::BigInt" => "1.999831",
"Moo" => "2.003004",
"Mooish::Base" => "1.005",
"Test2::V0" => "0.000139",
"Type::Tiny" => 2,
"namespace::autoclean" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
$WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
requires 'Math::BigInt' => '1.999831';
requires 'Moo' => '2.003004';
requires 'Mooish::Base' => '1.005';
requires 'Type::Tiny' => '2';
requires 'List::Util' => '1.45';
requires 'CryptX' => '0.074';
requires 'Bitcoin::Secp256k1' => '0.011';
requires 'Bitcoin::BIP39' => '0.002';
requires 'Feature::Compat::Try' => 0;
requires 'namespace::autoclean' => 0;
lib/Bitcoin/Crypto/Script/Common.pm view on Meta::CPAN
package Bitcoin::Crypto::Script::Common;
$Bitcoin::Crypto::Script::Common::VERSION = '4.005';
use v5.14;
use warnings;
use namespace::autoclean;
use Bitcoin::Crypto qw(btc_script btc_tapscript);
use Bitcoin::Crypto::Types -types;
use Bitcoin::Crypto::Exception;
sub _make_PKH
{
my ($class, $script, $hash) = @_;
$script //= btc_script->new;
lib/Bitcoin/Crypto/Secret.pm view on Meta::CPAN
package Bitcoin::Crypto::Secret;
$Bitcoin::Crypto::Secret::VERSION = '4.005';
use v5.14;
use warnings;
use Scalar::Util qw(refaddr);
use namespace::autoclean;
use overload
q{""} => "as_string",
fallback => 1;
my %secrets;
my $store_secret = sub {
my ($obj, $secret) = @_;
( run in 1.858 second using v1.01-cache-2.11-cpan-39bf76dae61 )