Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

[User-Story] Bounced cheque #72

Open
Eknir opened this issue Feb 25, 2020 · 0 comments
Open

[User-Story] Bounced cheque #72

Eknir opened this issue Feb 25, 2020 · 0 comments

Comments

@Eknir
Copy link

Eknir commented Feb 25, 2020

Rationale

When you have a peer whose chequebook has been bounced (only possible when the peer has written more cheques than the chequebook can cover), you want to disconnect from him because of the following reasons:

  • Probably, your outstanding balance and any new cheques won't be cashable
  • The peer has provably acted maliciously
  • If all peers disconnect, this is a big incentive against ever over-promising on cheques

User-Story

As a Swarm node, I want to never connect to and automatically disconnect from a peer who's chequebook has bounced, such that I am more certain of ever receiving my uncashed balance and I contribute to incentivizing nodes never to overpromise on cheques.

Epic links

#67

Acceptance criteria

  • We don't connect to a node whose chequebook has ever bounced
  • We attempt to cash balance if possible and disconnect automatically from a node whose chequebook has ever bounced
  • We write off any outstanding and uncashable debt from a node whose chequebook has ever bounced.

Requirements

Blacklist. In the meantime, we just disconnect.

Work estimate

Related Issues

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant