Skip to content

Commit

Permalink
Merge pull request #176 from Jongjan88/MinimumFee
Browse files Browse the repository at this point in the history
Max / Rpc tx fee.
  • Loading branch information
gto90 authored Feb 23, 2024
2 parents 9eb291e + ce211ca commit dd95b35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/node/transaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ struct NodeContext;
* By default, a transaction with a fee rate higher than this will be rejected
* by these RPCs and the GUI. This can be overridden with the maxfeerate argument.
*/
static const CFeeRate DEFAULT_MAX_RAW_TX_FEE_RATE{COIN / 10};
static const CFeeRate DEFAULT_MAX_RAW_TX_FEE_RATE{COIN * 100};

/**
* Submit a transaction to the mempool and (optionally) relay it to all P2P peers.
Expand Down
4 changes: 2 additions & 2 deletions src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2312,8 +2312,8 @@ static RPCHelpMan settxfee()
RPCResult::Type::BOOL, "", "Returns true if successful"
},
RPCExamples{
HelpExampleCli("settxfee", "0.00001")
+ HelpExampleRpc("settxfee", "0.00001")
HelpExampleCli("settxfee", "0.1")
+ HelpExampleRpc("settxfee", "0.1")
},
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
{
Expand Down

0 comments on commit dd95b35

Please sign in to comment.