Skip to content

Conversation

@gavinandresen
Copy link
Contributor

This is an alternative to pull #1004 , to fix part of bug #999

Tested by doing a complete blockchain download and observing the number of log files every 2 minutes (see https://gist.github.com/2236954 -- maximum of 5 were created).

Removing log files before shutdown does make 'catastrophic database recovery' impossible, however catastrophic recovery is only possible if you have ALL of the log files available (all since the creation of the database), so the only situation in which that is an issue would be a brand-new user running Bitcoin for the first time and then suffering a disk-corrupting failure before they shutdown.

@jgarzik
Copy link
Contributor

jgarzik commented Mar 29, 2012

ACK

1 similar comment
@laanwj
Copy link
Member

laanwj commented Mar 29, 2012

ACK

gavinandresen added a commit that referenced this pull request Mar 29, 2012
Auto-remove logs, and decrease logfile size to 10M
@gavinandresen gavinandresen merged commit 83e914c into bitcoin:master Mar 29, 2012
coblee referenced this pull request in litecoin-project/litecoin Jul 17, 2012
Auto-remove logs, and decrease logfile size to 10M
suprnurd pushed a commit to chaincoin-legacy/chaincoin that referenced this pull request Dec 5, 2017
ptschip pushed a commit to ptschip/bitcoin that referenced this pull request Apr 5, 2018
[Phase2] Use shared txn pointers for XTHIN processing
lateminer pushed a commit to lateminer/bitcoin that referenced this pull request Oct 30, 2019
8a0048f Show current version on splash screen (Fuzzbawls)
6e36259 Resize splash and use background-image (Fuzzbawls)
abd5e8c [Qt] Reintroduce networkstyle to title texts (Fuzzbawls)

Pull request description:

  Allows for the window's title to contain `[testnet]` or `[regtest]` as
  needed.

  Also makes the splash screen a full window.

  window with 96b4e09:
  ![Screen Shot 2019-09-15 at 12 23 57 AM](https://user-images.githubusercontent.com/7393257/64928842-6e96ee80-d7d2-11e9-9600-682a89390de6.png)

  window with 4bfb2f6:
  ![Screen Shot 2019-09-15 at 1 41 12 AM](https://user-images.githubusercontent.com/7393257/64928849-7c4c7400-d7d2-11e9-811f-750b72ac42ae.png)

ACKs for top commit:
  furszy:
    ACK [`8a0048f`](PIVX-Project@8a0048f)
  Warrows:
    ACK 8a0048f
  random-zebra:
    ACK 8a0048f and merging...

Tree-SHA512: 17ffe67941ed303db91886b83c5c1140b701fd37ee45f6ceba81ff07c774a3c96c8b5926ec9da55c837f06a4c040bfc2a99b05804ff582ffd5953bbf9f0e375f
@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.

3 participants