About insufficient priority error

1

The input of UTXO transaction being used is 10 pieces, total 0.0082 BTC. Broadcasting the fee at 0.000012 BTC (sendrawtransaction), the following error occurs.

insufficient priority

Is the fee setting not good? I do not know the cause.

kogane

Posted 2019-01-28T11:57:02.653

Reputation: 11

Answers

1

That error means you did not provide a high enough transaction fee on your transaction.

Andrew Chow

Posted 2019-01-28T11:57:02.653

Reputation: 40 910

Thank you for your comment, I am using bitcoin abc client, how can I calculate the fee?kogane 2019-01-29T00:09:39.197

Using the transaction you have now, get its size in kb. Then you can use the estimatesmartfee command (read the help text for that command so you can use the correct arguments) to get a feerate in BCH/kb. Using that feerate, multiply it by the transaction size in kb that you got earlier. That's the fee you should pay. Then remake your transaction using that fee.Andrew Chow 2019-01-29T00:22:51.910

Since we are using bitcoin-abc client vertion 0.18.5 and there is no estimatesmartfee, i useestimatefee to calculate it. Is it better to use use estimatefee? After calculating the fee using estimatefee, it insufficient priority errorkogane 2019-01-29T01:41:27.033

Also, the calculation formula I use is below ` (estimatefee result * transaction size) / 1000 = fee (btc) ` Is this calculation wrong?kogane 2019-01-29T01:41:35.717