Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push events from blockchain #8

Open
mattgstevens opened this issue Mar 19, 2016 · 1 comment
Open

Push events from blockchain #8

mattgstevens opened this issue Mar 19, 2016 · 1 comment

Comments

@mattgstevens
Copy link
Member

We can register a websocket to listen for payments on addresses we are tracking.

https://medium.com/@orweinberger/coding-an-alerting-mechanism-for-the-blockchain-using-node-js-e644fff35dd#.zhf7p7vtu

Instead of needing to make HTTP request to an API, we could eagerly listen for when an address is paid. This could be cleaned up when the TTL for the redis entry expires.

@fromheten
Copy link
Member

👍 a way better way to do it. Should not be too hard to replace the current way we do it - just have to replace http with websocket.

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

No branches or pull requests

2 participants