Post
Topic
Board Bitcoin Discussion
Re: Do you think bitcoin will have another inflation bug?
by
squatter
on 29/09/2019, 23:01:23 UTC
Why would it have "another" inflation bug? The code has been available for everyone to see for more than a decade, and NOBODY has spotted it?

You really think it's impossible?

There have already been 2 inflation bugs found throughout Bitcoin's history. One of them was patched just last year -- the vulnerability was present in Bitcoin Core from versions 0.14.0 to 0.16.2. All the more reason why we should still consider Bitcoin to be in beta.

You see the whole point of open source software is to catch these things.

Fair point, but it's a complex issue. How do you address this:

Finger-pointing would not be constructive, but neither would it be sufficient to say "we just need more eyes on the code" and move on. This bug was very subtle, and I doubt that anyone would've ever found it by actually looking at the code. Indeed, the person who found it did so when they were doing something else and ended up tripping the assertion. Furthermore, this bug probably wouldn't have been found through standard unit testing, since this was a higher-level logic error. (By my count, something like 18% of the entire Bitcoin Core repository is tests, but that still didn't catch it.)