bitcore-node
bitcore-node copied to clipboard
give access to getrawmempool verbose
If I use bitcoin-cli getrawmempool true I can get info on all mempool transactions like this:
{
"f9a96e48d30efbc1c3614ed5ef6925f517067b47a017e8d766ffe109446867d3": {
"size": 225,
"fee": 0.00027120,
"modifiedfee": 0.00027120,
"time": 1488733845,
"height": 455892,
"startingpriority": 0,
"currentpriority": 0,
"descendantcount": 1,
"descendantsize": 225,
"descendantfees": 27120,
"ancestorcount": 2,
"ancestorsize": 451,
"ancestorfees": 54240,
"depends": [
"c3cecbcf9ce74863159b9807d36233dbf70fec0d98dc25c78aeea6945a28abd2"
]
}
}
I can look and see that the whole chain of 2 unspent transactions is averaging 120 satoshi/byte and will likely that both transactions won't confirm for a while.
A lot of miners use CPFP now, so I would like to add a method to insight-api to return the ancestorsize and ancestorfees for a given transaction so we can try to CPFP them to help confirmation.