Skip to content

Conversation

@luke-jr
Copy link
Member

@luke-jr luke-jr commented Sep 8, 2012

Thanks @gmaxwell for finding these bugs!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My head has difficulties parsing this English early in the morning.
Maybe something like "Returns the next sequential transaction order id" would be clearer? I think the increment is implicit in "next".

@BitcoinPullTester
Copy link

@gavinandresen
Copy link
Contributor

What is the severity of this bug? Does it prevent bitcoin from working at all when starting with an empty wallet?

@gmaxwell
Copy link
Contributor

gmaxwell commented Sep 8, 2012

The position counter is uninitialized. So far I've never been able able to get it to a case where it happened to have any value other than zero, which is the correct and expected value for a new wallet. No matter what value it takes it should not be able to prevent bitcoin from working. The worst result would be some transactions appearing out of order.

I found the issues while making a second code review of all the later pulls, I don't believe any problems have been reported related to this.

@luke-jr
Copy link
Member Author

luke-jr commented Sep 8, 2012

In theory, a new wallet might put items out of order across restarts since they won't run the "process old data" function :/

@luke-jr
Copy link
Member Author

luke-jr commented Sep 11, 2012

bump, rc3?

@gavinandresen gavinandresen merged commit da7b8c1 into bitcoin:master Sep 18, 2012
@luke-jr luke-jr deleted the refactor_times branch January 1, 2015 10:15
sidhujag added a commit to syscoin/syscoin that referenced this pull request Jan 2, 2018
But fix properly, bitcoin upstream did not fix properly
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants