diff options
author | ismaelsadeeq <ask4ismailsadiq@gmail.com> | 2024-02-29 12:43:52 +0100 |
---|---|---|
committer | ismaelsadeeq <ask4ismailsadiq@gmail.com> | 2024-06-27 15:31:21 +0100 |
commit | 734076c6de1781f957c8bc3bf7ed6951920cfcf6 (patch) | |
tree | 1102525c0ba39be6d66671ea3b17fd9524bbdfc3 /test/functional/test_framework | |
parent | b6fc5043c16c2467a2a6768a6ca9b18035fc400f (diff) |
[wallet, rpc]: add `max_tx_weight` to tx funding options
This allows a transaction's weight to be bound under a certain
weight if possible and desired. This can be beneficial for future
RBF attempts, or whenever a more restricted spend topology is
desired.
Co-authored-by: Greg Sanders <gsanders87@gmail.com>
Diffstat (limited to 'test/functional/test_framework')
-rw-r--r-- | test/functional/test_framework/blocktools.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/test_framework/blocktools.py b/test/functional/test_framework/blocktools.py index f0dc866f69..338b7fa3b0 100644 --- a/test/functional/test_framework/blocktools.py +++ b/test/functional/test_framework/blocktools.py @@ -48,6 +48,7 @@ from .util import assert_equal MAX_BLOCK_SIGOPS = 20000 MAX_BLOCK_SIGOPS_WEIGHT = MAX_BLOCK_SIGOPS * WITNESS_SCALE_FACTOR +MAX_STANDARD_TX_WEIGHT = 400000 # Genesis block time (regtest) TIME_GENESIS_BLOCK = 1296688602 |