mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Merge be63674c18 into merged_master (Bitcoin PR bitcoin/bitcoin#30324)
This commit is contained in:
commit
d487f1e562
3 changed files with 6 additions and 5 deletions
|
|
@ -92,6 +92,7 @@ void ApplyArgsManOptions(const ArgsManager& args, BlockAssembler::Options& optio
|
|||
if (const auto blockmintxfee{args.GetArg("-blockmintxfee")}) {
|
||||
if (const auto parsed{ParseMoney(*blockmintxfee)}) options.blockMinFeeRate = CFeeRate{*parsed};
|
||||
}
|
||||
options.print_modified_fee = args.GetBoolArg("-printpriority", options.print_modified_fee);
|
||||
}
|
||||
|
||||
void BlockAssembler::resetBlock()
|
||||
|
|
@ -275,8 +276,7 @@ void BlockAssembler::AddToBlock(CTxMemPool::txiter iter)
|
|||
nFees += iter->GetFee();
|
||||
inBlock.insert(iter->GetSharedTx()->GetHash());
|
||||
|
||||
bool fPrintPriority = gArgs.GetBoolArg("-printpriority", DEFAULT_PRINTPRIORITY);
|
||||
if (fPrintPriority) {
|
||||
if (m_options.print_modified_fee) {
|
||||
LogPrintf("fee rate %s txid %s\n",
|
||||
CFeeRate(iter->GetModifiedFee(), iter->GetTxSize()).ToString(),
|
||||
iter->GetTx().GetHash().ToString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue