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

Don't let swarm cause ChequeBounced events #1885

@Eknir

Description

@Eknir

A Swarm never trigger a ChequeBounced event on the chequebook smart-contract side. Currently, a node will happily boot up and allow you to send cheques with an unfunded chequebook. This will cause errors on the node who received your cheques and tries to cash them out.

We can solve this issue by shutting down the node when the availableBalance is less or equal than the paymentThreshold.

dependent upon #1884

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions