Merge pull request #123 from zander/disableRBF

Disable RBF
This commit is contained in:
TomZ
2016-03-02 14:48:12 +00:00
2 changed files with 5 additions and 1 deletions

View File

@@ -40,6 +40,10 @@ def check_array_result(object_array, to_match, expected):
class ListTransactionsTest(BitcoinTestFramework):
def setup_nodes(self):
node_count=4
return start_nodes(node_count, self.options.tmpdir, [["-mempoolreplacement=1"]] * node_count)
def run_test(self):
# Simple send, 0 to 1:
txid = self.nodes[0].sendtoaddress(self.nodes[1].getnewaddress(), 0.1)

View File

@@ -111,7 +111,7 @@ static const unsigned int DEFAULT_BANSCORE_THRESHOLD = 100;
static const bool DEFAULT_TESTSAFEMODE = false;
/** Default for -mempoolreplacement */
static const bool DEFAULT_ENABLE_REPLACEMENT = true;
static const bool DEFAULT_ENABLE_REPLACEMENT = false;
/** Maximum number of headers to announce when relaying blocks with headers message.*/
static const unsigned int MAX_BLOCKS_TO_ANNOUNCE = 8;