mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-20 22:04:19 +02:00
Merge #20285: Remove references to CreateWalletFromFile
c82336c493b112160d781974d4066fcb956b85f6 Remove references to CreateWalletFromFile (fanquake) Pull request description: `CWallet::CreateWalletFromFile()` was removed in 8b5e7297c02f3100a9cb27bfe206e3fc617ec173 but these references remain. ACKs for top commit: hebasto: ACK c82336c493b112160d781974d4066fcb956b85f6 Tree-SHA512: 3dd50fe0cd5a60bbc96d265107d4739f3e08f943435f3772038963ac4be9e4a87a863412ac0d571226ea66d71550b17b52f01b9d46a6282d49feae1508fd682e
This commit is contained in:
commit
bcd142e479
@ -1145,7 +1145,7 @@ bool AppInitParameterInteraction(const ArgsManager& args)
|
|||||||
if (!ParseMoney(args.GetArg("-minrelaytxfee", ""), n)) {
|
if (!ParseMoney(args.GetArg("-minrelaytxfee", ""), n)) {
|
||||||
return InitError(AmountErrMsg("minrelaytxfee", args.GetArg("-minrelaytxfee", "")));
|
return InitError(AmountErrMsg("minrelaytxfee", args.GetArg("-minrelaytxfee", "")));
|
||||||
}
|
}
|
||||||
// High fee check is done afterward in CWallet::CreateWalletFromFile()
|
// High fee check is done afterward in CWallet::Create()
|
||||||
::minRelayTxFee = CFeeRate(n);
|
::minRelayTxFee = CFeeRate(n);
|
||||||
} else if (incrementalRelayFee > ::minRelayTxFee) {
|
} else if (incrementalRelayFee > ::minRelayTxFee) {
|
||||||
// Allow only setting incrementalRelayFee to control both
|
// Allow only setting incrementalRelayFee to control both
|
||||||
|
@ -688,7 +688,7 @@ BOOST_FIXTURE_TEST_CASE(wallet_descriptor_test, BasicTestingSetup)
|
|||||||
BOOST_CHECK_EXCEPTION(vr >> w_desc, std::ios_base::failure, malformed_descriptor);
|
BOOST_CHECK_EXCEPTION(vr >> w_desc, std::ios_base::failure, malformed_descriptor);
|
||||||
}
|
}
|
||||||
|
|
||||||
//! Test CreateWalletFromFile function and its behavior handling potential race
|
//! Test CWallet::Create() and its behavior handling potential race
|
||||||
//! conditions if it's called the same time an incoming transaction shows up in
|
//! conditions if it's called the same time an incoming transaction shows up in
|
||||||
//! the mempool or a new block.
|
//! the mempool or a new block.
|
||||||
//!
|
//!
|
||||||
@ -706,7 +706,7 @@ BOOST_FIXTURE_TEST_CASE(wallet_descriptor_test, BasicTestingSetup)
|
|||||||
//! wallet rescan and notifications are immediately synced, to verify the wallet
|
//! wallet rescan and notifications are immediately synced, to verify the wallet
|
||||||
//! must already have a handler in place for them, and there's no gap after
|
//! must already have a handler in place for them, and there's no gap after
|
||||||
//! rescanning where new transactions in new blocks could be lost.
|
//! rescanning where new transactions in new blocks could be lost.
|
||||||
BOOST_FIXTURE_TEST_CASE(CreateWalletFromFile, TestChain100Setup)
|
BOOST_FIXTURE_TEST_CASE(CreateWallet, TestChain100Setup)
|
||||||
{
|
{
|
||||||
// Create new wallet with known key and unload it.
|
// Create new wallet with known key and unload it.
|
||||||
auto chain = interfaces::MakeChain(m_node);
|
auto chain = interfaces::MakeChain(m_node);
|
||||||
|
@ -32,7 +32,7 @@ deadlock:CConnman::ForNode
|
|||||||
deadlock:CConnman::GetNodeStats
|
deadlock:CConnman::GetNodeStats
|
||||||
deadlock:CChainState::ConnectTip
|
deadlock:CChainState::ConnectTip
|
||||||
deadlock:UpdateTip
|
deadlock:UpdateTip
|
||||||
deadlock:wallet_tests::CreateWalletFromFile
|
deadlock:wallet_tests::CreateWallet
|
||||||
|
|
||||||
# WalletBatch (unidentified deadlock)
|
# WalletBatch (unidentified deadlock)
|
||||||
deadlock:WalletBatch
|
deadlock:WalletBatch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user