iotaledger / hornet

HORNET is a powerful IOTA fullnode software
Apache License 2.0
310 stars 151 forks source link

CTPS affected by external spammer parameter #482

Closed Nyrsta closed 4 years ago

Nyrsta commented 4 years ago

Luca-moser/ Iota-spammer can affect confirmation rate/Milestone by increasing instances parameter with same TPS output

To Reproduce Steps to reproduce the behavior:

Expected behavior No decrease of CTPS

Environment information:

Additional context hornet_SpamTest_Nyrsta.gz Screenshots.zip

muXxer commented 4 years ago

Thanks for analyzing this problem.

It's not a problem of HORNET itself, but the tangle. It's a permissionless network, and everyone can issue transactions like he wants to. If the interconnections between the transactions are not optimal, you lower the confirmation rate of the tangle. So called lazy tips. If you fire up so much instances, HORNET will return tips, but since you do so much things in parallel, these tips won't take the other new tx's into account. It's a client side problem.

Future improvements in the protocol (whiteflag, URTS) will improve these things eventually. I guess the biggest boost in conf.rate regarding this problem would be, if the client libs would refresh the tips during PoW.