aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-03-22Merge branch 'checklevel' of https://github.com/sipa/bitcoinGavin Andresen
2012-03-22Merge pull request #975 from sipa/versioncheckGavin Andresen
Check minversion before loading the rest of the wallet
2012-03-22Merge branch 'addrman' of https://github.com/sipa/bitcoinGavin Andresen
2012-03-22Merge pull request #964 from sipa/fastblocksGavin Andresen
Speed up block downloading
2012-03-22Merge branch 'master' of github.com:bitcoin/bitcoinGavin Andresen
2012-03-21Merge pull request #969 from laanwj/2012_03_printconsole_errorWladimir J. van der Laan
replace call to PrintConsole with call to error()
2012-03-22Check minversion before loading the rest of the walletPieter Wuille
When a 0.6 wallet with compressed pubkeys is created, it writes a minversion record to prevent older clients from reading it. If the 0.5 loading it sees a key record before seeing the minversion record however, it will fail with DB_CORRUPT instead of DB_TOO_NEW.
2012-03-22Add -checklevel and improve -checkblocksPieter Wuille
-checkblocks now takes a numeric argument: the number of blocks that must be verified at the end of the chain. Default is 2500, and 0 means all blocks. -checklevel specifies how thorough the verification must be: 0: only check whether the block exists on disk 1: verify block validity (default) 2: verify transaction index validity 3: check transaction hashes 4: check whether spent txouts were spent within the main chain 5: check whether all prevouts are marked spent 6: check whether spent txouts were spent by a valid transaction that consumes them
2012-03-21Remove -bip16 and -paytoscripthashtime command-line argumentsGavin Andresen
2012-03-21replace call to PrintConsole with call to error()Wladimir J. van der Laan
As these are equivalent functions, this cleans up the source a bit. Also remove PrintConsole() as this was the only use.
2012-03-21Merge pull request #947 from ali1234/masterGavin Andresen
When disconnecting a node, the receive buffer should be cleared
2012-03-21Merge pull request #948 from sipa/unstuckGavin Andresen
Prevent stuck block download in large reorganisations
2012-03-21Merge pull request #965 from khorben/masterGavin Andresen
The generic UNIX Makefile builds with lots of warnings
2012-03-21More debug output for failed reorganizationsPieter Wuille
2012-03-21Correct dateMichael
2012-03-21Merge pull request #954 from Diapolo/masterWladimir J. van der Laan
language updates for source file bitcoin_en.ts + remove cs_CZ (issue #958)
2012-03-21Prevent stuck block download in large reorganisationsPieter Wuille
In cases of very large reorganisations (hundreds of blocks), a situation may appear where an 'inv' is sent as response to a 'getblocks', but the last block mentioned in the inv is already known to the receiver node. However, the supplying node uses a request for this last block as a trigger to send the rest of the inv blocks. If it never comes, the block chain download is stuck. This commit makes the receiver node always request the last inv'ed block, even if it is already known, to prevent this problem.
2012-03-21Speed up block downloadingPieter Wuille
2012-03-21Avoid some pointless warnings while compilingPierre Pronchery
2012-03-20Use last checkpoint instead of hard-coded 140,700. Fixes #913.Gavin Andresen
2012-03-20Proper support for Growl 1.3 notificationsp2k
2012-03-20assertion in CBlock::SetBestChainInner was too strongPieter Wuille
2012-03-20remove bitcoin_cs_CZ from bitcoin.qrc and delete bitcoin_cs_CZ.tsPhilip Kaufmann
2012-03-19updated english language source file via lupdatePhilip Kaufmann
2012-03-19Merge pull request #953 from Diapolo/masterNils Schneider
german translation update
2012-03-19fixed a capitalization error in the german translationPhilip Kaufmann
2012-03-19update german translation from transifexPhilip Kaufmann
2012-03-19Merge pull request #928 from jojkaart/masterWladimir J. van der Laan
Make send coins dialog honor the configured unit type even on the first attempt.
2012-03-18Merge pull request #931 from luke-jr/dbg_loaderrGregory Maxwell
Wallet loading diagnostic prints to debug.log
2012-03-18Make the sendcoins dialog use the configured unit type, even on the first ↵Joel Kaartinen
attempt.
2012-03-18When disconnecting a node, clear the received buffer so that we doAlistair Buxton
not process any already received messages. The primary reason to do this is if a node spams hundreds of messages and we ban them, we don't want to continue processing the rest of it.
2012-03-17update german translation from transifexPhilip Kaufmann
2012-03-16Bump CLIENT_VERSION for rc4 releasev0.6.0rc4Gregory Maxwell
2012-03-16update translations from transifexNils Schneider
2012-03-16Yet another attempt at implementing "minimize to tray" that works on all OSesWladimir J. van der Laan
2012-03-13Bump CLIENT_VERSION for rc3 releasev0.6.0rc3Gavin Andresen
2012-03-12Limit the impact of reorganisations on the databasePieter Wuille
Sometimes a new block arrives in a new chain that was already the best valid one, but wasn't marked that way. This happens for example when network rules change to recover after a fork. In this case, it is not necessary to do the entire reorganisation inside a single db commit. These can become huge, and exceed the objects/lockers limits in bdb. This patch limits the blocks the actual reorganisation is applied to, and adds the next blocks afterwards in separate db transactions.
2012-03-12Print more diagnostic info for the various DB_CORRUPT conditionsLuke Dashjr
2012-03-11Print wallet load errors (to debug.log)Luke Dashjr
2012-03-10Resolves issue #922 - "wallet passphrase timeout of several years doesn't work"Gregory Maxwell
2^31 milliseconds is only about 25 days. Also clamps Sleep() to 10 years, because it currently sleeps for 0 seconds when the sleep time would cross 2^31 seconds since the epoch. Hopefully boost will be fixed by 2028.
2012-03-05fix typo src/net.cppnomnombtc
2012-03-03Do not allow overwriting unspent transactions (BIP 30)Pieter Wuille
Introduce the following network rule: * a block is not valid if it contains a transaction whose hash already exists in the block chain, unless all that transaction's outputs were already spent before said block. Warning: this is effectively a network rule change, with potential risk for forking the block chain. Leaving this unfixed carries the same risk however, for attackers that can cause a reorganisation in part of the network. Thanks to Russell O'Connor and Ben Reeves.
2012-02-29DoS fix for mapOrphanTransactionsv0.6.0rc2Gavin Andresen
2012-02-28Merge branch 'mruinventory' of https://github.com/sipa/bitcoinGavin Andresen
2012-02-28Merge branch '2012_02_getspecialfolderpath_overflow' of ↵Gavin Andresen
https://github.com/laanwj/bitcoin
2012-02-28"February"Michael Ford
2012-02-27Do not start bitcoin: thread on OSX. fixes #889Gavin Andresen
2012-02-27Merge branch 'nodosbip16' of https://github.com/sipa/bitcoinGavin Andresen
2012-02-27Add mruset and use it for setInventoryKnownPieter Wuille
2012-02-27Move BIP16 switchover time to April 1Gavin Andresen