TheCharlatan
09ef322acc
[[refactor]] Check CTxMemPool options in constructor
...
This ensures that the tests run the same checks on the mempool options
that the init code also applies.
2024-05-17 23:37:25 +02:00
Suhas Daftuar
cc15c5bfd1
fuzz: don't allow adding duplicate transactions to the mempool
2024-04-28 15:39:10 -04:00
AngusP
a8203e9412
refactor: Simplify extra_txn
to be a vec of CTransactionRef instead of a vec of pair<Wtxid, CTransactionRef>
...
All `CTransactionRef` have `.GetWitnessHash()` that returns a cached `const Wtxid` (since fac1223a56
),
so we don't need to pass transaction refs around with their IDs as they're easy to get from a ref.
2024-04-06 19:17:20 +01:00
AngusP
c3c18433ae
refactor: Use typesafe Wtxid in compact block encoding message, instead of ambiguous uint256.
...
Wtxid/Txid types introduced in #28107
2024-03-28 23:29:57 +01:00
Anthony Towns
6e9e4e6130
Use ParamsWrapper for witness serialization
2023-11-14 08:45:30 +10:00
MarcoFalke
fa6dfaaf45
scripted-diff: Use new FUZZ_TARGET macro everywhere
...
-BEGIN VERIFY SCRIPT-
ren() { sed --regexp-extended -i "s|$1|$2|g" $(git grep -l --extended-regexp "$1"); }
# Replace FUZZ_TARGET_INIT
ren 'FUZZ_TARGET_INIT\((.+), (.+)\)' 'FUZZ_TARGET(\1, .init = \2)'
# Delete unused FUZZ_TARGET_INIT
sed -i -e '37,39d' src/test/fuzz/fuzz.h
-END VERIFY SCRIPT-
2023-07-13 20:37:14 +02:00
dergoegge
a1c36275b5
[fuzz] Assert that omitting missing transactions always fails block reconstruction
2023-01-23 17:29:41 +01:00
dergoegge
a8ac61ab5e
[fuzz] Add PartiallyDownloadedBlock target
2023-01-23 17:29:41 +01:00