2

I am testing commands through Bitcoin testnet and Bitcoin Core.

During the test, I intentionally attempted to create and broadcasts transactions by charging high fees.(1 BTC)

During the final phase, sendrawtransaction blocked the progress with error 256: absurdly-high-fee (code -26)

  1. What exactly is the high fee that Bitcoin Core is talking about? Does this client have exactly fixed number?

  2. Can I broadcast a transaction programmatically without any fee restrictions as intended if I use custom client?

  3. If 2 is possible, can hackers make spamming attacks by setting fees lower than the current minimum limit(0.00001 BTC/kB)?

1 Answer 1

4

What exactly is the high fee that Bitcoin Core is talking about? Does this client have exactly fixed number?

Bitcoin Core has a hard limit for what it considers to be an absurdly high fee, which is 0.1. Other node software may not impose this limit, or may have a different value for it.

Note that this is not part of the standard tx rules. It is simply a check to limit the fees for a single transaction.

Can I broadcast a transaction programmatically without any fee restrictions as intended if I use custom client?

You can remove the fee check from validation.cpp.

If 2 is possible, can hackers make spamming attacks by setting fees lower than the current minimum limit(0.00001 BTC/kB)?

You can just change the minrelayfee flag to go under the limit. There is no flag to override the high fee parameter, as far as I'm aware.

There are plenty of nodes on the network that will broadcast a high fee tx. Indeed, there have been a few cases of very high fees in the past, such as 13.65 BTC, and even 200 BTC (this one was before the high fee check was added in 2015, though)!

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.