mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
Add src/wallet/* code to wallet:: namespace
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <wallet/wallet.h>
|
||||
|
||||
|
||||
namespace wallet {
|
||||
CAmount GetRequiredFee(const CWallet& wallet, unsigned int nTxBytes)
|
||||
{
|
||||
return GetRequiredFeeRate(wallet).GetFee(nTxBytes);
|
||||
@@ -90,3 +91,4 @@ CFeeRate GetDiscardRate(const CWallet& wallet)
|
||||
discard_rate = std::max(discard_rate, wallet.chain().relayDustFee());
|
||||
return discard_rate;
|
||||
}
|
||||
} // namespace wallet
|
||||
|
||||
Reference in New Issue
Block a user