Bitcoin-Crypto

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Revision history for Perl extension Bitcoin::Crypto.

4.005 Thu Apr 23, 2026
	[Public interface changes]
	- Bitcoin::Crypto::PSBT::FieldType:
		- added get_fields_available_in_version method
	- Bitcoin::Crypto::BIP44:
		- change can now be passed as a boolean value and will be automatically mapped to an integer

	[Fixes and improvements]
	- fix PSBT serializers and deserializers of proprietary fields' keys
	- 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
		- added verify_standard method
		- added txid method
		- added wtxid method
	- Bitcoin::Crypto::Transaction::Input:
		- method script_base is now internal use only, as it depends on other parts to deliver correct results
	- Bitcoin::Crypto::Transaction::Flags:
		- added new_full method
		- renamed strict_signatures flag to der_signatures
		- renamed nulldummy flag to null_dummy
		- added strict_sigantures method
		- added signature_pushes_only flag
		- added minimal_if flag
		- added compressed_pubkeys flag
		- added strict_encoding flag
		- added low_s_signatures flag
		- added minimal_data flag
		- added null_fail flag
		- added clean_stack flag
		- added const_script flag
		- added known_witness flag
		- added illegal_upgradeable_nops flag
	- Bitcoin::Crypto::Transaction::UTXO:
		- added unload method
		- added registered_count method
	- Bitcoin::Crypto::Block:
		- added pos parameter to from_serialized method
	- Bitcoin::Crypto::Types:
		- added TransactionFlags type
		- added BitcoinSecret type
	- Bitcoin::Crypto::Script:
		- added get_raw_address method
		- added has_errors method
		- added assert_valid method
	- added Bitcoin::Crypto::Secret class
	- added Bitcoin::Crypto::Script::Compiler::Opcode class
	- added exporting mechanism for Bitcoin::Crypto::Constants
	- removed ScriptSuccess exception class
	- removed ScriptSyntax exception class

	[Documentation]
	- Bitcoin::Crypto::Manual has been rewritten and extended
	- Bitcoin::Crypto::Manual::Transactions has been merged into base manual
	- Bitcoin::Crypto::Manual::Taproot has been merged into base manual

	[Improvements and behavior changes]
	- module now stores secrets in inside-out objects, and is aware of Crypt::SecretBuffer
	- future segwit versions are now recognized as UNKNOWN_SEGWIT script types
	- Script's is_native_segwit method will now return true for future segwit versions
	- flags can now be passed to verify function as a hashref
	- most error messages no longer contain double error position



( run in 0.671 second using v1.01-cache-2.11-cpan-39bf76dae61 )