1. 19 Oct, 2012 1 commit
  2. 14 Oct, 2012 4 commits
  3. 12 Oct, 2012 5 commits
  4. 11 Oct, 2012 5 commits
  5. 09 Oct, 2012 6 commits
  6. 08 Oct, 2012 8 commits
    • Jeff Garzik's avatar
      Merge pull request #1834 from jgarzik/kickblocks · 75d6033a
      Jeff Garzik authored
      P2P: Do not request blocks from peers with fewer blocks than us
      75d6033a
    • Jeff Garzik's avatar
      Revert "Send 'mempool' P2P command at the start of each P2P session" · 56bfcfbc
      Jeff Garzik authored
      Fat-fingered on github, and merged this too early.
      
      This reverts commit 22f9b069.
      56bfcfbc
    • Jeff Garzik's avatar
      Merge pull request #1833 from jgarzik/mempool-query · 4e73b503
      Jeff Garzik authored
      Send 'mempool' P2P command at the start of each P2P session
      4e73b503
    • Gavin Andresen's avatar
      3db66406
    • Gavin Andresen's avatar
      Handle corrupt wallets gracefully. · 6e94595b
      Gavin Andresen authored
      Corrupt wallets used to cause a DB_RUNRECOVERY uncaught exception and a
      crash. This commit does three things:
      
      1) Runs a BDB verify early in the startup process, and if there is a
      low-level problem with the database:
        + Moves the bad wallet.dat to wallet.timestamp.bak
        + Runs a 'salvage' operation to get key/value pairs, and
          writes them to a new wallet.dat
        + Continues with startup.
      
      2) Much more tolerant of serialization errors. All errors in deserialization
      are reported by tolerated EXCEPT for errors related to reading keypairs
      or master key records-- those are reported and then shut down, so the user
      can get help (or recover from a backup).
      
      3) Adds a new -salvagewallet option, which:
       + Moves the wallet.dat to wallet.timestamp.bak
       + extracts ONLY keypairs and master keys into a new wallet.dat
       + soft-sets -rescan, to recreate transaction history
      
      This was tested by randomly corrupting testnet wallets using a little
      python script I wrote (https://gist.github.com/3812689)
      6e94595b
    • Gavin Andresen's avatar
      Handle incompatible BDB environments · 8f646ffa
      Gavin Andresen authored
      Before, opening a -datadir that was created with a new
      version of Berkeley DB would result in an un-caught DB_RUNRECOVERY
      exception.
      
      After these changes, the error is caught and the user is told
      that there is a problem and is told how to try to recover from
      it.
      8f646ffa
    • Gavin Andresen's avatar
      Merge branch 'BDB_DOWNGRADE' · 2cffd4f0
      Gavin Andresen authored
      2cffd4f0
    • Gavin Andresen's avatar
      Handle incompatible BDB environments · 0aa66076
      Gavin Andresen authored
      Before, opening a -datadir that was created with a new
      version of Berkeley DB would result in an un-caught DB_RUNRECOVERY
      exception.
      
      After these changes, the error is caught and the user is told
      that there is a problem and is told how to try to recover from
      it.
      0aa66076
  7. 07 Oct, 2012 5 commits
  8. 05 Oct, 2012 4 commits
  9. 04 Oct, 2012 2 commits