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

Strange behaviour on send #71

Open
zathras-crypto opened this issue May 20, 2015 · 4 comments
Open

Strange behaviour on send #71

zathras-crypto opened this issue May 20, 2015 · 4 comments

Comments

@zathras-crypto
Copy link
Owner

Noticed during testing this morning - transaction sat in unconfirmed state for a few minutes before transitioning to "Offline". No conflicts that I can see and client had 8 connections at time of send.

omni1

@dexX7
Copy link

dexX7 commented May 20, 2015

@zathras-crypto: this is very likely the bug where unconfirmed transactions are added out of order back to the memory pool after a restart.

The fix was merged upstream, so we may adopt it: bitcoin#5511

@zathras-crypto
Copy link
Owner Author

There was no restart though? The client was running the whole time when it transitioned from "Unconfirmed" to "Offline".

EDIT: I think - perhaps I'm getting myself confused now :(

Running a secondary test now

EDIT: secondary test was fine - I'm almost certain I didn't close the client though because the trade details for that transaction were still populated in the exchange page... For now let's put on hold unless I can reproduce.

@dexX7
Copy link

dexX7 commented May 20, 2015

Ah sorry, I just noticed it's "offline", and not "conflicting".

If I recall correctly, then this can be reproduced by flooding the client with many, many transactions. I'm not 100 % sure anymore how, but if I'm not mistaken, then it's a Bitcoin Core issue, and not caused by our changes.

Edit: hmm.. even after running the tests a few times, everything is fine.

@zathras-crypto
Copy link
Owner Author

Yeah it was really strange behaviour - the transaction sat unconfirmed for a few minutes, then went to "offline" until it got confirmed, and then got parsed and processed as normal.

I've seen loads of conflicts before across several of my testing wallets but this is almost universally down to closing and reopening the client which sometimes allows the client to re-use the same inputs (likely due to the out of order mempool issue you noted) - I'm near certain this is a different issue and it's the first time I've seen such behaviour but I haven't been able to reproduce it again.

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