v31.1-roots.1 · Commit 2: [PATCH 02/17] feat(policy): preserve Roots parsing and local transaction checks
test/functional/p2p_ibd_txrelay.py
Before: test/functional/p2p_ibd_txrelay.py · After: test/functional/p2p_ibd_txrelay.py
File metadata
index fe70d04626e7b34803bc15415f6363b8931211da..7d5c2bc02395a338005cd3dc48b5c97b86245aff 100755
Download original patch · Release notes
Diff rows 1–12 of 12. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
test/functional/p2p_ibd_txrelay.py
CHANGED
|
@@ -29,8 +29,10 @@ from test_framework.p2p import (
|
|
| 29 |
)
|
| 30 |
from test_framework.test_framework import BitcoinTestFramework
|
| 31 |
|
| 32 |
-
MAX_FEE_FILTER = Decimal(9936506) / COIN
|
| 33 |
-
NORMAL_FEE_FILTER = Decimal(10) / COIN
|
|
|
|
|
|
|
| 34 |
|
| 35 |
|
| 36 |
class P2PIBDTxRelayTest(BitcoinTestFramework):
|
|
|
|
| 29 |
)
|
| 30 |
from test_framework.test_framework import BitcoinTestFramework
|
| 31 |
|
| 32 |
+
# Native fee-filter buckets start at half the Roots default relay fee (1000 sat/kvB).
|
| 33 |
+
# Use that first nonzero bucket for the explicit non-IBD fixture fee.
|
| 34 |
+
MAX_FEE_FILTER = Decimal(9170997) / COIN
|
| 35 |
+
NORMAL_FEE_FILTER = Decimal(500) / COIN
|
| 36 |
|
| 37 |
|
| 38 |
class P2PIBDTxRelayTest(BitcoinTestFramework):
|