MarcoFalke
fa5f297748
scripted-diff: [doc] Unify stale copyright headers
...
-BEGIN VERIFY SCRIPT-
sed --in-place --regexp-extended \
's;( 20[0-2][0-9])(-20[0-2][0-9])? The Bitcoin Core developers;\1-present The Bitcoin Core developers;g' \
$( git grep -l 'The Bitcoin Core developers' -- ':(exclude)COPYING' ':(exclude)src/ipc/libmultiprocess' ':(exclude)src/minisketch' )
-END VERIFY SCRIPT-
2025-12-16 22:21:15 +01:00
Suhas Daftuar
6c5c44f774
test: add functional test for new cluster mempool RPCs
...
Co-authored-by: glozow <gloriajzhao@gmail.com >
2025-11-18 11:14:52 -05:00
MarcoFalke
fa3f682032
test: Fixup fill_mempool docstring
...
The assumption was removed in commit
3eab8b7240 .
2025-08-29 08:05:40 +02:00
ishaanam
4ef8065a5e
test: add truc wallet tests
2025-08-15 11:24:51 -04:00
glozow
6da5de58ca
[policy] lower default minrelaytxfee and incrementalrelayfee to 100sat/kvB
...
Let's say an attacker wants to use/exhaust the network's bandwidth, and
has the choice between renting resources from a commercial provider and
getting the network to "spam" itself it by sending unconfirmed
transactions. We'd like the latter to be more expensive than the former.
The bandwidth for relaying a transaction across the network is roughly
its serialized size (plus relay overhead) x number of nodes. A 1000vB
transaction is 1000-4000B serialized. With 100k nodes, that's 0.1-0.4GB
If the going rate for commercial services is 10c/GB, that's like 1-4c per kvB
of transaction data, so a 1000vB transaction should pay at least $0.04.
At a price of 120k USD/BTC, 100sat is about $0.12. This price allows us
to tolerate a large decrease in the conversion rate or increase in the
number of nodes.
2025-08-11 17:07:43 -04:00
glozow
3eab8b7240
[prep/test] replace magic number 1000 with respective feerate vars
2025-08-11 16:58:26 -04:00
glozow
1fbee5d7b6
[test] explicitly check default -minrelaytxfee and -incrementalrelayfee
2025-08-11 16:58:21 -04:00
glozow
45c7a4b56d
[functional test] orphan resolution works in the presence of DoSy peers
...
Co-authored-by: Greg Sanders <gsanders87@gmail.com >
2025-07-14 16:13:47 -04:00
glozow
15a4ec9069
[prep/rpc] remove entry and expiry time from getorphantxs
...
Expiry is going away in a later commit.
This is only an RPC change. Behavior of the orphanage does not change.
Note that getorphantxs is marked experimental.
2025-07-11 13:52:50 -04:00
Sebastian Falbesoner
472f3770ae
scripted-diff: test: rename CTransaction .getwtxid() -> wtxid_hex for consistency
...
-BEGIN VERIFY SCRIPT-
sed -i "s|def getwtxid|@property\n def wtxid_hex|g" ./test/functional/test_framework/messages.py
sed -i "s|getwtxid()|wtxid_hex|g" $(git grep -l getwtxid)
-END VERIFY SCRIPT-
2025-06-11 00:52:25 +02:00
Sebastian Falbesoner
ce83924237
test: rename CTransaction .rehash()/.hash -> .txid_hex for consistency
...
Note that we unfortunately can't use a scripted diff here, as the same
property and method name is also used for `CBlockHeader`/`CBlock` instances.
2025-06-11 00:49:10 +02:00
Greg Sanders
63091b79e7
test: remove unnecessary -datacarriersize args from tests
2025-05-30 10:14:18 -04:00
Greg Sanders
466e4df3fb
assert_mempool_contents: assert not duplicates expected
2024-11-20 13:49:41 -05:00
Greg Sanders
e2e30e89ba
functional test: Add ephemeral dust tests
2024-11-12 09:24:54 -05:00
tdb3
63f5e6ec79
test: add entry and expiration time checks
2024-10-25 17:11:27 -04:00
tdb3
93f48fceb7
test: add tx_in_orphanage()
...
Allows tests to check if a transaction
is contained within the orphanage
2024-10-02 18:23:27 -04:00
MarcoFalke
faf801515f
test: Add missing sync_mempools() to fill_mempool()
...
Also disable the function, when it is not needed.
2024-09-24 10:13:21 +02:00
MarcoFalke
fa48be6f02
test: Refactor fill_mempool to extract send_batch helper
...
This is needed for the next commit
2024-09-24 09:59:36 +02:00
Sebastian Falbesoner
dd8fa86193
test: use tagged ephemeral MiniWallet instance in fill_mempool
2024-05-05 12:36:51 +02:00
Sebastian Falbesoner
c8e6d08236
test: refactor: eliminate COINBASE_MATURITY magic number in fill_mempool
2024-05-05 12:33:34 +02:00
Sebastian Falbesoner
4f347140b1
test: refactor: move fill_mempool to new module mempool_util
...
This is needed to avoid circular dependencies in later commits.
Can be reviewed via `--color-moved=dimmed-zebra`.
2024-05-05 12:33:30 +02:00