You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's by design. Every system is vulnerable to spamming since it accepts transactions via forward. There are two main aspects to plan:
How early do we identify the issue - in our case we could verify every transaction immediately on forward received and throw it, but instead we optimize with an optimistic approach. We don't verify on entry because we must verify during consensus, so we only do this once and not twice. The price is a bit of memory held until we throw the transaction which we feel is the better tradeoff. We believe that CPU will be the narrow resource here, not memory.
Accountability for spammers - this is the real solution.. and most blockchains don't have it. In our case, the transaction pool must sign every batch of forwarded transactions so this node is now accountable for them. Eventually, we will implement our reputation system and nodes that spam forwards will be penalized and their forwards ignored. This mechanism will be developed as spamming becomes an issue.
The text was updated successfully, but these errors were encountered: