bitcoin/test/functional/test_framework
Peter Todd cd7872ca54
Remove arbitrary limits on OP_Return (datacarrier) outputs
Also removes the code to enforce those limits, including the
`-datacarrier` and `-datacarriersize` config options.

These limits are easily bypassed by both direct submission to miner
mempools (e.g. MARA Slipstream), and forks of Bitcoin Core that do not
enforce them (e.g. Libre Relay). Secondly, protocols are bypassing them
by simply publishing data in other ways, such as unspendable outputs and
scriptsigs.

The *form* of datacarrier outputs remains standardized: a single
OP_Return followed by zero or more data pushes; non-data opcodes remain
non-standard.
2025-04-27 21:07:16 +00:00
..
crypto test: create assert_not_equal util and add to where imports are needed 2025-04-01 08:39:24 -04:00
__init__.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
address.py test: check that keyless P2A 'signing' via signrawtransactionwithkey succeeds 2024-08-02 20:13:07 +02:00
authproxy.py test: Fix authproxy named args debug logging 2025-02-25 22:41:17 +01:00
bdb.py test: complete BDB parser (handle internal/overflow pages, support all page sizes) 2024-10-24 14:23:54 +02:00
bip340_test_vectors.csv tests: add BIP340 Schnorr signature support to test framework 2020-10-12 17:18:47 -07:00
blockfilter.py Merge bitcoin/bitcoin#28605: Fix typos 2023-11-16 10:35:49 +00:00
blocktools.py test: avoid unneeded hash -> uint256 -> hash roundtrips 2025-03-13 01:41:25 +01:00
compressor.py test: introduce output amount (de)compression routines 2025-03-04 12:50:17 -05:00
coverage.py test: fix PEP484 no implicit optional argument types errors 2023-06-29 16:14:07 -06:00
descriptors.py Output a descriptor in createmultisig and addmultisigaddress 2020-01-30 23:55:36 -05:00
key.py test: create assert_not_equal util and add to where imports are needed 2025-04-01 08:39:24 -04:00
mempool_util.py assert_mempool_contents: assert not duplicates expected 2024-11-20 13:49:41 -05:00
messages.py Remove arbitrary limits on OP_Return (datacarrier) outputs 2025-04-27 21:07:16 +00:00
netutil.py Merge bitcoin/bitcoin#31614: test: expect that files may disappear from /proc/PID/fd/ 2025-02-10 15:58:09 -08:00
p2p.py test: create assert_not_equal util and add to where imports are needed 2025-04-01 08:39:24 -04:00
psbt.py test: PSBT: eliminate magic numbers for global unsigned tx key (0) 2023-03-04 12:43:38 +01:00
script.py test: avoid unneeded hash -> uint256 -> hash roundtrips 2025-03-13 01:41:25 +01:00
script_util.py test: Add anchor mempool acceptance test 2024-07-30 14:06:58 -04:00
segwit_addr.py Use Bech32m encoding for v1+ segwit addresses 2021-03-16 10:48:36 -07:00
socks5.py test: Avoid F541 (f-string without any placeholders) 2024-12-05 08:39:09 +01:00
test_framework.py test: remove legacy wallet functional tests 2025-04-23 12:10:30 -07:00
test_node.py test: remove legacy wallet functional tests 2025-04-23 12:10:30 -07:00
test_shell.py test: remove legacy wallet functional tests 2025-04-23 12:10:30 -07:00
util.py test: Add imports for util bpf_cflags 2025-04-24 10:47:44 +02:00
v2_p2p.py test: Check that disconnection happens when >4095 garbage bytes is sent 2024-06-21 19:37:13 +05:30
wallet.py Merge bitcoin/bitcoin#30226: test: add validation for gettxout RPC response 2025-02-05 13:30:51 +00:00
wallet_util.py Fix typos in description.md and wallet_util.py 2024-04-25 16:14:10 +08:00