-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
timemarkovqtum
committed
Mar 25, 2024
1 parent
61726bf
commit 5624032
Showing
56 changed files
with
481 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -134,9 +134,9 @@ def set_test_params(self): | |
self.num_nodes = 3 | ||
# Force fSendTrickle to true (via whitelist.noban) | ||
self.extra_args = [ | ||
["[email protected]"], | ||
["[email protected]", "-blockmaxweight=68000"], | ||
["[email protected]", "-blockmaxweight=32000"], | ||
["[email protected]", "-dustrelayfee=0"], | ||
["[email protected]", "-blockmaxweight=68000", "-dustrelayfee=0"], | ||
["[email protected]", "-blockmaxweight=32000", "-dustrelayfee=0"], | ||
] | ||
|
||
def setup_network(self): | ||
|
@@ -154,7 +154,7 @@ def setup_network(self): | |
# produces too small blocks (room for only 55 or so transactions) | ||
|
||
def transact_and_mine(self, numblocks, mining_node): | ||
min_fee = Decimal("0.00001") | ||
min_fee = Decimal("0.0009") | ||
# We will now mine numblocks blocks generating on average 100 transactions between each block | ||
# We shuffle our confirmed txout set before each set of transactions | ||
# small_txpuzzle_randfee will use the transactions that have inputs already in the chain when possible | ||
|
@@ -169,7 +169,7 @@ def transact_and_mine(self, numblocks, mining_node): | |
self.nodes[from_index], | ||
self.confutxo, | ||
self.memutxo, | ||
Decimal("0.005"), | ||
Decimal("0.5"), | ||
min_fee, | ||
min_fee, | ||
batch_sendtx_reqs, | ||
|
@@ -244,8 +244,8 @@ def sanity_check_rbf_estimates(self, utxos): | |
node = self.nodes[0] | ||
miner = self.nodes[1] | ||
# In sat/vb | ||
low_feerate = 1 | ||
high_feerate = 10 | ||
low_feerate = 1200 | ||
high_feerate = 10000 | ||
# Cache the utxos of which to replace the spender after it failed to get | ||
# confirmed | ||
utxos_to_respend = [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.