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

Watch chequebounced events and take action #1895

Open
Eknir opened this issue Oct 22, 2019 · 3 comments
Open

Watch chequebounced events and take action #1895

Eknir opened this issue Oct 22, 2019 · 3 comments
Milestone

Comments

@Eknir
Copy link
Contributor

Eknir commented Oct 22, 2019

#1885 prevents a node from sending cheques that can be bounced. This issue is about the action which a node takes when the smart-contract of a peer emits a ChequeBounced event.

The proposed action is to disconnect.

To complete this issue, we will have to set up event-watchers for ChequeBounced events and take the appropriate action when an event fires.

@Eknir
Copy link
Contributor Author

Eknir commented Oct 22, 2019

@ralph-pichler , what is the computational load of setting up an event-watcher per peer?

@Eknir Eknir changed the title Watch chequebounced events Watch chequebounced events and take action Oct 22, 2019
@ralph-pichler
Copy link
Member

With the current go bindings this is only possible using eth_Subscribe over websockets, but RSK does not implement that yet.

@holisticode
Copy link
Contributor

We need the blacklist for this. Postponed but needs to be implemented before main net launch.

@holisticode holisticode added this to the 1.0 milestone Jan 7, 2020
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

3 participants