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

Websocket clients may miss redeeming transactions during reorg. #603

Open
jrick opened this issue Jan 19, 2016 · 0 comments
Open

Websocket clients may miss redeeming transactions during reorg. #603

jrick opened this issue Jan 19, 2016 · 0 comments

Comments

@jrick
Copy link
Member

jrick commented Jan 19, 2016

The websocket notification server will deregister websocket clients from receiving notifications for a transaction when the spending transaction is in a newly attached block. The purpose of this is to prevent ramping up memory usage for tracking outputs that can not be spent again. However, during reorg, if the block containing this transaction is removed and the transaction also is included in the new best chain, a websocket client may not be notified of the transaction because the watched output is no longer watched. This can cause websocket clients (e.g. btcwallet) from believing that some spent outputs are still unspent.

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

1 participant