mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-13 03:30:42 +02:00
Merge 1day_default_conftarget
This commit is contained in:
commit
c189a5677d
@ -128,7 +128,7 @@ static const bool DEFAULT_SPEND_ZEROCONF_CHANGE = true;
|
||||
//! Default for -walletrejectlongchains
|
||||
static const bool DEFAULT_WALLET_REJECT_LONG_CHAINS{true};
|
||||
//! -txconfirmtarget default
|
||||
static const unsigned int DEFAULT_TX_CONFIRM_TARGET = 6;
|
||||
static const unsigned int DEFAULT_TX_CONFIRM_TARGET = 144;
|
||||
//! -walletrbf default
|
||||
static const bool DEFAULT_WALLET_RBF = true;
|
||||
static const bool DEFAULT_WALLETBROADCAST = true;
|
||||
|
@ -305,7 +305,7 @@ class WalletTaprootTest(BitcoinTestFramework):
|
||||
assert rpc_online.gettransaction(res)["confirmations"] > 0
|
||||
|
||||
# Cleanup
|
||||
txid = rpc_online.sendall(recipients=[self.boring.getnewaddress()])["txid"]
|
||||
txid = rpc_online.sendall(recipients=[self.boring.getnewaddress()], fee_rate=200)["txid"]
|
||||
self.generatetoaddress(self.nodes[0], 1, self.boring.getnewaddress(), sync_fun=self.no_op)
|
||||
assert rpc_online.gettransaction(txid)["confirmations"] > 0
|
||||
rpc_online.unloadwallet()
|
||||
@ -378,7 +378,7 @@ class WalletTaprootTest(BitcoinTestFramework):
|
||||
assert psbt_online.gettransaction(txid)['confirmations'] > 0
|
||||
|
||||
# Cleanup
|
||||
psbt = psbt_online.sendall(recipients=[self.boring.getnewaddress()], psbt=True)["psbt"]
|
||||
psbt = psbt_online.sendall(recipients=[self.boring.getnewaddress()], psbt=True, conf_target=1, estimate_mode='conservative')["psbt"]
|
||||
res = psbt_offline.walletprocesspsbt(psbt=psbt, finalize=False)
|
||||
rawtx = self.nodes[0].finalizepsbt(res['psbt'])['hex']
|
||||
txid = self.nodes[0].sendrawtransaction(rawtx)
|
||||
|
Loading…
Reference in New Issue
Block a user