Permalink
Commits on Jun 19, 2012
  1. Merge branch '0.6.x' of git://gitorious.org/+bitcoin-stable-developer…

    gavinandresen committed Jun 19, 2012
    …s/bitcoin/bitcoind-stable into 0.6.3
  2. Use a 64-bit nonce in ping

    sipa authored and gavinandresen committed Jun 14, 2012
    Former code sent '0' as nonce, which was serialized as 32-bit.
  3. Prevent crashes due to missing or corrupted blk????.dat records

    Jeff Garzik authored and gavinandresen committed May 22, 2012
    In LoadExternalBlockFile(), errors are already caught... silently.
    Add a warning message, even though we do not abort the program due to
    load error.
  4. Prevent crashes due to missing or corrupted database records

    Jeff Garzik authored and gavinandresen committed May 22, 2012
    Any problems seen during deserialization will throw an uncaught
    exception, crashing the entire bitcoin process.  Properly return an
    error instead, so that we may at least log the error and gracefully
    shutdown other portions of the app.
  5. Move signature cache from CKey::Verify to CheckSig in script.cpp

    gavinandresen committed May 22, 2012
    More than doubles the speed of verifying already-cached signatures
    that use compressed pubkeys:
    Before: ~200 microseconds
    After:  ~80 microseconds
    (no caching at all: ~3,300 microseconds per signature)
    
    Also encapsulates the signature cache code in a class
    and fixes a signed/unsigned comparison warning.
  6. Define BOOST_SPIRIT_THREADSAFE in all makefiles

    Jeff Garzik authored and gavinandresen committed May 22, 2012
    rather than at each include site.
    
    Fixes #1371
  7. Default to DB_TXN_WRITE_NOSYNC for all transactional operations

    Jeff Garzik authored and gavinandresen committed May 19, 2012
    * This is safer than DB_TXN_NOSYNC, and does not appear to impact
      performance.
    * Applying this to the dbenv is necessary to avoid many fdatasync(2)
      calls on db 5.x
    * We carefully and thoroughly flush databases upon shutdown and
      other important events already.
  8. Cache signature verifications

    gavinandresen committed May 16, 2012
    Create a maximum-10MB signature verification result cache.
    This should almost double the number of transactions that
    can be processed on a given CPU, because before this change
    ECDSA signatures were verified when transactions were added
    to the memory pool and then again when they appeared in
    a block.
  9. Further DoS prevention: Verify signatures last

    gavinandresen committed May 16, 2012
    Loop over all inputs doing inexpensive validity checks first,
    and then loop over them a second time doing expensive signature
    checks. This helps prevent possible CPU exhaustion attacks
    where an attacker tries to make a victim waste time checking
    signatures for invalid transactions.
  10. Remove invalid dependent orphans from memory

    gavinandresen committed May 17, 2012
    Remove orphan transactions from memory once
    all of their parent transactions are received
    and they're still not valid.
    Thanks to Sergio Demian Lerner for suggesting this fix.
  11. Optimize orphan transaction handling

    gavinandresen committed May 15, 2012
    Changes suggested by Sergio Demian Lerner to
    help prevent potential DoS attacks.
  12. Make orphan logging more verbose, displaying mapOrphanTransactions.si…

    Jeff Garzik authored and gavinandresen committed May 18, 2012
    …ze()
    
    Old log message:
    	storing orphan tx df2244f6bc
    
    New log message:
    	storing orphan tx df2244f6bc (mapsz 51)
    
    Also, trim a few trailing whitespace in main.cpp.
Commits on Jun 14, 2012
  1. Merge branch '0.6.0.x' into 0.6.x

    luke-jr committed Jun 14, 2012
    Conflicts:
    	.gitignore
    	src/bitcoinrpc.cpp
    	src/main.cpp
    	src/qt/bitcoingui.cpp
    	src/ui_interface.h
    	src/util.cpp
  2. Merge branch '0.5.x' into 0.6.0.x

    luke-jr committed Jun 14, 2012
    Conflicts:
    	src/main.h
    	src/net.cpp
    	src/serialize.h
  3. Merge branch '0.4.x' into 0.5.x

    luke-jr committed Jun 14, 2012
    Conflicts:
    	doc/release-process.txt
    	src/serialize.h
  4. Use a 64-bit nonce in ping

    sipa authored and luke-jr committed Jun 14, 2012
    Former code sent '0' as nonce, which was serialized as 32-bit.
  5. Fix build of testcases after commit 0f10b21

    laanwj authored and luke-jr committed Jun 14, 2012
  6. Bugfix: Fix various places where Bitcoin-Qt was being shutdown improp…

    Philip Kaufmann authored and luke-jr committed Jun 11, 2012
    …erly
    
    (Partial/merge of upstream 9247134, 1a3f0da, and 3e34352)
  7. Don't call exit() in Shutdown() for Bitcoin-Qt (fixes a tray-icon issue)

    Philip Kaufmann authored and luke-jr committed Jun 11, 2012
    (partial of 9247134)
  8. change initial Balance on overviewpage from "123.456 BTC" to "0 BTC" …

    Philip Kaufmann authored and luke-jr committed Jun 11, 2012
    …to not confuse users, which could see it before we init with the real wallet balance
  9. removed ability to translate "0 BTC" and "123.456 BTC" as this is onl…

    Philip Kaufmann authored and luke-jr committed May 6, 2012
    …y used as preview in the Qt Designer anyway
    
    (partial of 4295311)
  10. Fix broken config files

    TheBlueMatt authored and luke-jr committed Jun 11, 2012
  11. Do not select first address automatically in the address book

    laanwj authored and luke-jr committed Jun 12, 2012
    This contributed to an accidental send (#1384), and has no clear advantage, better to disable it.
  12. Update comment about secure_allocator<>

    sipa authored and luke-jr committed Jun 8, 2012
Commits on Jun 12, 2012
  1. Bugfix: Move IsStandard scriptSig size check out of IsPushOnly, since…

    luke-jr committed Jun 12, 2012
    … BIP16 verification uses the latter too
    
    This caused clients to reject block #177618 since it has a P2SH transaction with over 200 bytes in scriptSig.
    
    (Upstream commit: e679ec9)
Commits on Jun 6, 2012
  1. Bugfix: Allow tray icon to linger until Bitcoin-Qt shuts down complet…

    luke-jr committed Jun 6, 2012
    …ely. Fixes #908
    
    Upstream commit: 7cfbe1f
  2. fix an incorrect if-clause in net.cpp

    Philip Kaufmann authored and luke-jr committed May 8, 2012