Files
bitcoin/test/functional/test_framework
VolodymyrBg 6b0f8bfd08 test: Add support for mainnet addresses in address_to_scriptpubkey
This commit adds support for mainnet addresses (P2PKH and P2SH) in the
address_to_scriptpubkey function in the test framework. Previously, the
function only supported testnet addresses and segwit addresses.

The changes include:
- Adding support for mainnet P2PKH addresses (version 0)
- Adding support for mainnet P2SH addresses (version 5)
- Adding tests to verify the new functionality
- Removing the TODO comment as the requested functionality has been implemented

This enhancement improves the test framework's ability to handle different
address formats, making it more versatile for testing scenarios that involve
mainnet addresses.
2025-03-14 19:31:21 +02:00
..
2024-12-19 15:04:22 +00:00