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

v4 duplicate transactions non-segwit->segwit #545

Open
parazyd opened this issue Apr 19, 2021 · 2 comments
Open

v4 duplicate transactions non-segwit->segwit #545

parazyd opened this issue Apr 19, 2021 · 2 comments

Comments

@parazyd
Copy link

parazyd commented Apr 19, 2021

In testnet v4 I noticed duplicate transactions happening when sending coins from non-segwit addresses to segwit ones.
This also breaks balance fetch as it doubles up.

I can reproduce this when using both bx and zmq.

$ bx fetch-history c66eb3f4fb8b5613a4899b2d7351070f22386d345aaed3474af9fcf84a507bb9
transfers
{
    transfer
    {
        received
        {
            hash 74b945e0170735de9cbde60320680f1f28c05ef15ac3517e9443052592700a3b
            height 1972006
            index 0
        }
        value 1953337
    }
    transfer
    {
        received
        {
            hash 74b945e0170735de9cbde60320680f1f28c05ef15ac3517e9443052592700a3b
            height 1972006
            index 0
        }
        value 1953337
    }
}
$ bx fetch-balance c66eb3f4fb8b5613a4899b2d7351070f22386d345aaed3474af9fcf84a507bb9
balance
{
    key c66eb3f4fb8b5613a4899b2d7351070f22386d345aaed3474af9fcf84a507bb9
    received 3906674
    spent 0
}
@evoskuil
Copy link
Member

I don’t expect v4 server stack to be reliable for some time, but I’m working toward it full time presently. The new Electrum-style payment indexation is new and has never been sufficiently tested. You can try simply filtering out dups.

@parazyd
Copy link
Author

parazyd commented Apr 20, 2021 via email

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