Litecoin: Disable mempool replacement by default and update tests
This commit is contained in:
parent
c44278e77e
commit
8246d7876e
@ -94,6 +94,11 @@ Minimum relay fee lowered
|
||||
|
||||
The minimum relay fee `-minrelayfee` has been lowered to 0.01 lites per kB (0.00001 LTC). This is to prepare for dropping the minimum transaction fee to 0.1 lites per kB (0.0001 LTC) in the next release.
|
||||
|
||||
Mempool replacement disabled by default
|
||||
---------------------------------------
|
||||
|
||||
Mempool replacement `--mempoolreplacement` has been disabled by default.
|
||||
|
||||
Miner block size limiting deprecated
|
||||
------------------------------------
|
||||
|
||||
|
||||
@ -134,7 +134,7 @@ static const unsigned int DEFAULT_BANSCORE_THRESHOLD = 100;
|
||||
/** Default for -persistmempool */
|
||||
static const bool DEFAULT_PERSIST_MEMPOOL = true;
|
||||
/** Default for -mempoolreplacement */
|
||||
static const bool DEFAULT_ENABLE_REPLACEMENT = true;
|
||||
static const bool DEFAULT_ENABLE_REPLACEMENT = false;
|
||||
/** Default for using fee filter */
|
||||
static const bool DEFAULT_FEEFILTER = true;
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ make assumptions about execution order.
|
||||
"""
|
||||
|
||||
from segwit import send_to_witness
|
||||
from test_framework.test_framework import BitcoinTestFramework
|
||||
from test_framework.test_framework import BitcoinTestFramework, SkipTest
|
||||
from test_framework import blocktools
|
||||
from test_framework.mininode import CTransaction
|
||||
from test_framework.util import *
|
||||
@ -37,6 +37,8 @@ class BumpFeeTest(BitcoinTestFramework):
|
||||
for i in range(self.num_nodes)]
|
||||
|
||||
def run_test(self):
|
||||
raise SkipTest("Litecoin doesn't support RBF.")
|
||||
|
||||
# Encrypt wallet for test_locked_wallet_fails test
|
||||
self.nodes[1].node_encrypt_wallet(WALLET_PASSPHRASE)
|
||||
self.start_node(1)
|
||||
|
||||
@ -90,8 +90,8 @@ class ListTransactionsTest(BitcoinTestFramework):
|
||||
assert_array_result(self.nodes[0].listtransactions("watchonly", 100, 0, True),
|
||||
{"category":"receive","amount":Decimal("0.1")},
|
||||
{"txid":txid, "account" : "watchonly"} )
|
||||
|
||||
self.run_rbf_opt_in_test()
|
||||
# Litecoin has RBF disabled
|
||||
# self.run_rbf_opt_in_test()
|
||||
|
||||
# Check that the opt-in-rbf flag works properly, for sent and received
|
||||
# transactions.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user