Fixes issue #2239 -- return the main network genesis block time if pindexBest has not yet been set.
Prevent Qt crash at startup with an empty data directory #2248
pull gavinandresen wants to merge 1 commits into bitcoin:master from gavinandresen:issue2239 changing 1 files +4 −1-
gavinandresen commented at 8:25 PM on January 30, 2013: contributor
-
Prevent Qt crash at startup with an empty data directory 85b534b23e
-
sipa commented at 8:48 PM on January 30, 2013: member
Haven't tested, but looks good. A constant for that timestamp would be nice, though...
-
laanwj commented at 10:37 PM on January 30, 2013: member
No, there is currently no constant for this. Let's leave that for a later improvement (the number returned isn't important at all, could even return 0, the null pointer check is).
- laanwj referenced this in commit 4dfae2fd2f on Jan 30, 2013
- laanwj merged this on Jan 30, 2013
- laanwj closed this on Jan 30, 2013
- laudney referenced this in commit 1405dc5bdd on Mar 19, 2014
- DrahtBot locked this on Sep 8, 2021
Contributors
Milestone
0.8.0