0

Suppose, A is a malicious attacker. He wants to flood the mempool with fake transactions. I know if an attacker broadcasts fake transactions with no fees, then mining nodes will simply increase the transaction fees to be accepted.So, that type of transactions won't be accepted. But, suppose, if an attacker broadcasts fake transactions with high fees. Is it possible to flood the memory pools with this type of transactions?

  • 1
    What do you mean by "fake transaction"? There aren't "fake transactions", only valid and invalid transactions. – Andrew Chow Mar 19 '18 at 0:21
  • Yes, Invalid transactions – Monmoy Sarker Mar 19 '18 at 0:50
  • Invalid transactions are rejected, they never get to the mempool. – Osias Jota Mar 19 '18 at 1:11
  • I know that the transaction rules in the attacker software won't allow to broadcast the invalid transaction. But, if they change that rules and then broadcast those transactions. My point is not whether it will be accepted or not, but to flood the mempool of a miner. – Monmoy Sarker Mar 19 '18 at 1:14
  • 3
    A miner won't accept invalid transaction into the mempool so it won't be flooded. – Andrew Chow Mar 19 '18 at 1:50
2

I see the question you have, and thought I put some more info in this reply, cause comments are too short.

You seem to postulate, that it might be possible to spam the net, by sending messages with high fee, and you consider this as a possible attack vector (with "fake transaction").

To understand how the network works, it is essentially necessary to look into the validation rules of transactions, when they are sent over the network. The fees are calculated by substracting the output value from the input value. If it is above 0, then ok, else invalid.

As a particular person anyone can craft a malformed tx. The question is now, how could you do this? Again, looking at the rules, it seems impossible. When you send it, the receiving nodes and all other full nodes will verify this tx. If the tx is malformed, they will reject it, and your node will be marked as a node, which sent wrong data into the network. At a certain point in time your node will get added to the blacklist of each full node, so this malfunctioning node cannot disturb the network further.

So you would need to find a way on how to send invalid tx to other full nodes, and as Andrew and Osias replied, to the current knowledge this is impossible.

  • Unless A intends to bear the cost of the fees and be disruptive by sending valid transactions with high fees? But, that is not in the question. – Willtech Mar 19 '18 at 9:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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