Nano-node: Could the network fail gracefully?

Created on 25 Jul 2018  Â·  4Comments  Â·  Source: nanocurrency/nano-node

Bitcoin has many flaws but its fee system is very effective at preventing network spam, and it keeps working (albeit expensively) under load.

As we've seen from the recent spam attack, when the network can't cope, many nodes sort of go offline until they can catch up. To me this seems worse than a fee.

I'm aware that those bottlenecks are being addressed, but there will always be a bottleneck somewhere. So it's not a matter of whether the network capacity will be exceeded but when and how.

So I propose a "the network is under load" state. When nodes are unable to keep up, for whatever reason, they have a way of reaching a consensus that they are under load, and will operate differently until things return to normal.

When under load, there's a bidding war to get your transaction processed, just like Bitcoin. There could be a constantly adjusted fee option (users would have to manually choose this) or a constantly adjusting level of proof of work requirement (no pre-caching) so your transaction is sent when your proof of work reaches the threshold and otherwise keeps going (does that work? I don't know much about nonces) till it reaches the threshold.

Obviously you still would want to avoid this state. It's still a failure. This is just the backup, so that when failure happens, everything still works and nobody is stuck not being able to use the network at all.

Most helpful comment

We have plans for a queueing mechanism weighted on (least recently used account) * (amount) * (PoW difficulty). Nodes will be able to dynamically increase the PoW difficulty they generate to get prioritization.

All 4 comments

Uh, duplicate of #196

We have plans for a queueing mechanism weighted on (least recently used account) * (amount) * (PoW difficulty). Nodes will be able to dynamically increase the PoW difficulty they generate to get prioritization.

Wow. That formula is just, genius. Just wow. I'm struggling to think of a scenario where it might not work well.

On Reddit was a discussion about this topic to dynamically adjust the PoW
difficulty. Maybe some stimuli to find:
https://www.reddit.com/r/nanocurrency/comments/8y0ljp/what_is_the_incentive_to_spam_the_nano_network/e279oy7

My comment was: that any type of account based PoW adjustment could only
work, if open new accounts is more PoW expensive
then normal transactions. Otherwise a attacker just spam with new opened
accounts.
High PoW cost to open a new account should hit spammer harder, and not
normal Nano user, which use their accounts long-term.

On Wed, Jul 25, 2018 at 8:54 PM clemahieu notifications@github.com wrote:

We have plans for a queueing mechanism weighted on (least recently used
account) * (amount) * (PoW difficulty). Nodes will be able to dynamically
increase the PoW difficulty they generate to get prioritization.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nanocurrency/raiblocks/issues/990#issuecomment-407858621,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Afh3xMG-otoH7SeqGoK-qDy5RZ4bpcR_ks5uKL7mgaJpZM4Vfsnt
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sacreman picture sacreman  Â·  6Comments

bartclaeys picture bartclaeys  Â·  3Comments

paulmelis picture paulmelis  Â·  6Comments

i3bitcoin picture i3bitcoin  Â·  4Comments

FndNur1Labs picture FndNur1Labs  Â·  6Comments