bitcoin/master 787df19 Sebastian Falbesoner: validation: don't try to invalidate genesis block
bitcoin/master 63952f7 MarcoFalke: Merge #20921: validation: don't try to invalidate genesis block in CChainS...
[bitcoin] MarcoFalke merged pull request #20921: validation: don't try to invalidate genesis block in CChainState::InvalidateBlock (master...2021-rpc-forbid_invalidateblock_on_genesisblock) https://github.com/bitcoin/bitcoin/pull/20921
Is there anything in core like decoderawtransaction but it will tell you what the feerate paid would be?
warren: estimatesmartfee or you can also set the fee_rate (in sat/vB) explicitly
(the latter starting from 0.21)
jonatack_: I have a signed transaction from elsewhere (lightningd in this case), I want a tool to calculate what the fee rate is if this tx were to be transmitted.
testmempoolaccept will tell you the fee, i think
"reject-reason": "mempool min fee not met"
In the case where it would reject because the fee rate is too low it doesn't tell you how low it was.
(lightningd has a corner case bug where you tell it to make a transaction where it picks a "slow" feerate and it is immediately rejected by Bitcoin Core as being too low. Trying to find a tool that tells you exactly how low it was.)
yeah testmempoolaccept only tells you the fee if it’s valid
warren, probably have to change the testmempoolaccept rpc to tell you
warren: with Knots, you can override the rejections for testmempoolaccept
why is everyone staring at IRC during a weekend? =) Thanks everyone.
not perfect, but might get the job done