Skip to content

rpc: Add maxmempool and effective min fee to getmempoolinfo - #6877

Merged
laanwj merged 1 commit into
bitcoin:masterfrom
laanwj:2015_10_mempool_effective_fee
Oct 26, 2015
Merged

rpc: Add maxmempool and effective min fee to getmempoolinfo#6877
laanwj merged 1 commit into
bitcoin:masterfrom
laanwj:2015_10_mempool_effective_fee

Conversation

@laanwj

@laanwj laanwj commented Oct 23, 2015

Copy link
Copy Markdown
Member

I think these can be useful.

Context: lots of these in my log

2015-10-23 06:19:39 b84b52b021d6703dacb85c73b799a232ce6ae1ef7d3a3945c3d2899fc067d642 from peer=7929 was not accepted: mempool min fee not met, 15000 < 20424 (code 66)

Which doesn't give information about the transaction size, so can't reason back to what the effective minfee was.

@laanwj
laanwj force-pushed the 2015_10_mempool_effective_fee branch from 7915afe to 507f1b5 Compare October 23, 2015 07:56
@btcdrak

btcdrak commented Oct 23, 2015

Copy link
Copy Markdown
Contributor

Makes sense.

Concept ACK

Comment thread src/rpcblockchain.cpp Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"effectiveminfee" seems misleading if your GetMinFee() is 0.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better suggestions?
Hm maybe just 'minfee' (context is getmempoolinfo, after all) or 'mempoolminfee'. I agree it's not really the effective number used and shouldn't be named that...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mempoolminfee?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems we have two votes for mempoolminfee - changing to that

@jgarzik

jgarzik commented Oct 23, 2015

Copy link
Copy Markdown
Contributor

ACK

@laanwj
laanwj force-pushed the 2015_10_mempool_effective_fee branch from 507f1b5 to 10e2eae Compare October 26, 2015 08:59
@laanwj
laanwj merged commit 10e2eae into bitcoin:master Oct 26, 2015
laanwj added a commit that referenced this pull request Oct 26, 2015
10e2eae rpc: Add maxmempool and effective min fee to getmempoolinfo (Wladimir J. van der Laan)
Comment thread src/rpcblockchain.cpp

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'd need to update help getmempoolinfo as well.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documented in #7118.

@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants