aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-04-26Merge pull request #5696Wladimir J. van der Laan
691161d Consensus: Create consensus/consensus.h with some constants (jtimon)
2015-04-24Merge pull request #6033Wladimir J. van der Laan
cd558b4 FreeBSD, OpenBSD thread renaming. (sinetek)
2015-04-24Merge pull request #6028Wladimir J. van der Laan
1d5b47a nLastTry is only used for addrman entries (Pieter Wuille)
2015-04-24Merge pull request #6036Wladimir J. van der Laan
f89b092 add rpc test for listunspents support for zero value txouts (Jonas Schnelli) 219953c Show zero value txouts in listunspent. (Gregory Maxwell)
2015-04-24Merge pull request #5863Wladimir J. van der Laan
f9ec3f0 Add block pruning functionality (mrbandrews)
2015-04-23Merge pull request #6039Wladimir J. van der Laan
27ce808 tests: Error when setgenerate is used on regtest (Wladimir J. van der Laan)
2015-04-23fix and enable bip32 unit testJonas Schnelli
the bip32 unit test was not included in the make process
2015-04-22Add block pruning functionalitymrbandrews
This adds a -prune=N option to bitcoind, which if set to N>0 will enable block file pruning. When pruning is enabled, block and undo files will be deleted to try to keep total space used by those files to below the prune target (N, in MB) specified by the user, subject to some constraints: - The last 288 blocks on the main chain are always kept (MIN_BLOCKS_TO_KEEP), - N must be at least 550MB (chosen as a value for the target that could reasonably be met, with some assumptions about block sizes, orphan rates, etc; see comment in main.h), - No blocks are pruned until chainActive is at least 100,000 blocks long (on mainnet; defined separately for mainnet, testnet, and regtest in chainparams as nPruneAfterHeight). This unsets NODE_NETWORK if pruning is enabled. Also included is an RPC test for pruning (pruning.py). Thanks to @rdponticelli for earlier work on this feature; this is based in part off that work.
2015-04-21tests: Error when setgenerate is used on regtestWladimir J. van der Laan
Ever since #5957 there has been the problem that older RPC test cases (as can be found plenty in open pulls) use setgenerate() on regtest, assuming a different interpretation of the arguments. Directly generating a number of blocks has been split off into a new method `generate` - however using `setgenerate` with the previous arguments will result in spawning an unreasonable number of threads, and well, simply not work as expected without clear indication of the error. Add an error to point the user at the right method.
2015-04-21FreeBSD, OpenBSD thread renaming.sinetek
2015-04-20Consensus: Create consensus/consensus.h with some constantsjtimon
2015-04-20Show zero value txouts in listunspent.Gregory Maxwell
It's reasonable that automatic coin selection will not pick a zero value txout, but they're actually spendable; and you should know if you have them. Listing also makes them available to tools like dust-b-gone.
2015-04-20Merge pull request #5911Wladimir J. van der Laan
6be3562 rpc-tests: Add proxy test (Wladimir J. van der Laan) 67a7949 privacy: Stream isolation for Tor (Wladimir J. van der Laan)
2015-04-20Merge pull request #6029Wladimir J. van der Laan
a784f90 Cap nAttempts penalty at 8 and switch to pow instead of a division loop. (Gregory Maxwell)
2015-04-20Merge pull request #6010Wladimir J. van der Laan
c1ecee8 Set nSequenceId when a block is fully linked (Suhas Daftuar)
2015-04-20trivial string change in wallet.cpp (the -> that)Philip Kaufmann
2015-04-20Add operator names to DNS Seed listMichael Ford
2015-04-20ensure consistent header comment naming conventionsPhilip Kaufmann
- BITCOIN_FOLDER_SUBFOLDER_FILENAME_H
2015-04-20Make 'Default: %u' spacing consistent in help messageWladimir J. van der Laan
Comment by pryds on Transifex.
2015-04-20[Qt, Trivial] remove two unneeded includes of wallet/db.hPhilip Kaufmann
2015-04-20[Qt, Trivial] fix header groupings + space, intdentation fixesPhilip Kaufmann
2015-04-20[Qt, Trivial] misc minor string changesPhilip Kaufmann
- write "Bitcoins" uppercase - replace secure/insecure for payment requests with authenticated/unauthenticated - change a translatable string for payment request expiry to match another existing string to only get ONE resulting string to translate
2015-04-20[Trivial] format sync.hPhilip Kaufmann
2015-04-20 Use https link to bitcoin.org in Doxygen introMichael Ford
2015-04-20Fix typo in init.cpp interpration/interpretationMichael Ford
2015-04-20Removed '()' where used without contents insideNicolas Benoit
This additional patch removes '()' from current function name in LogPrintf output.
2015-04-20Replaced current function names with __func__ in LogPrintf() calls.Nicolas Benoit
2015-04-20Fix docs for 'complete' field in 'signrawtransaction' responsecharlescharles
2015-04-20[Qt] header group cleanupPhilip Kaufmann
- seperate core from GUI headers where this was missing - remove an unneeded new-line
2015-04-20Merge pull request #6020Wladimir J. van der Laan
30c43d9 miner.h: fix clang warning because of class/struct mix (Jonas Schnelli)
2015-04-19Cap nAttempts penalty at 8 and switch to pow instead of a division loop.Gregory Maxwell
On hosts that had spent some time with a failed internet connection their nAttempts penalty was going through the roof (e.g. thousands for all peers) and as a result the connect search was pegging the CPU and failing to get more than a 4 connections after days of running (because it was taking so long per try).
2015-04-19nLastTry is only used for addrman entriesPieter Wuille
No need to define it for every CAddress, as it's memory only anyway.
2015-04-17privacy: Stream isolation for TorWladimir J. van der Laan
According to Tor's extensions to the SOCKS protocol (https://gitweb.torproject.org/torspec.git/tree/socks-extensions.txt) it is possible to perform stream isolation by providing authentication to the proxy. Each set of credentials will create a new circuit, which makes it harder to correlate connections. This patch adds an option, `-proxyrandomize` (on by default) that randomizes credentials for every outgoing connection, thus creating a new circuit. 2015-03-16 15:29:59 SOCKS5 Sending proxy authentication 3842137544:3256031132
2015-04-16Merge pull request #6012Wladimir J. van der Laan
0421c18 Fix CheckBlockIndex for reindex. (mrbandrews)
2015-04-16miner.h: fix clang warning because of class/struct mixJonas Schnelli
- class 'Params' was previously declared as a struct
2015-04-15Merge pull request #5467Wladimir J. van der Laan
6171e49 [Qt] Use identical strings for expired payment request message (Philip Kaufmann) 06087bd [Qt] minor comment updates in PaymentServer (Philip Kaufmann) 35d1595 [Qt] constify first parameter of processPaymentRequest() (Philip Kaufmann) 9b14aef [Qt] take care of a missing typecast in PaymentRequestPlus::getMerchant() (Philip Kaufmann) d19ae3c [Qt] remove unused PaymentRequestPlus::getPKIType function (Philip Kaufmann) 6e17a74 [Qt] paymentserver: better logging of invalid certs (Philip Kaufmann) 5a53d7c [Qt] paymentserver: do not log NULL certificates (Philip Kaufmann)
2015-04-15[Qt] Use identical strings for expired payment request messagePhilip Kaufmann
- used in sendcoinsdialog.cpp and paymentserver.cpp - removes an unneded translation string
2015-04-15[Qt] minor comment updates in PaymentServerPhilip Kaufmann
2015-04-15[Qt] constify first parameter of processPaymentRequest()Philip Kaufmann
2015-04-15[Qt] take care of a missing typecast in PaymentRequestPlus::getMerchant()Philip Kaufmann
2015-04-15[Qt] remove unused PaymentRequestPlus::getPKIType functionPhilip Kaufmann
2015-04-15[Qt] paymentserver: better logging of invalid certsPhilip Kaufmann
Before and after was tested in Windows: before: GUI: ReportInvalidCertificate : Payment server found an invalid certificate: ("Microsoft Authenticode(tm) Root Authority") GUI: ReportInvalidCertificate : Payment server found an invalid certificate: () GUI: ReportInvalidCertificate : Payment server found an invalid certificate: () GUI: ReportInvalidCertificate : Payment server found an invalid certificate: () after: GUI: ReportInvalidCertificate: Payment server found an invalid certificate: "01" ("Microsoft Authenticode(tm) Root Authority") () () GUI: ReportInvalidCertificate: Payment server found an invalid certificate: "01" () () ("Copyright (c) 1997 Microsoft Corp.", "Microsoft Time Stamping Service Root", "Microsoft Corporation") GUI: ReportInvalidCertificate: Payment server found an invalid certificate: "4a:19:d2:38:8c:82:59:1c:a5:5d:73:5f:15:5d:dc:a3" () () ("NO LIABILITY ACCEPTED, (c)97 VeriSign, Inc.", "VeriSign Time Stamping Service Root", "VeriSign, Inc.") GUI: ReportInvalidCertificate: Payment server found an invalid certificate: "e4:9e:fd:f3:3a:e8:0e:cf:a5:11:3e:19:a4:24:02:32" () () ("Class 3 Public Primary Certification Authority")
2015-04-15[Qt] paymentserver: do not log NULL certificatesPhilip Kaufmann
- also add a few more comments in PaymentServer::LoadRootCAs
2015-04-15Chainparams: Refactor: Remove redundant AllowMinDifficultyBlocks() getterJorge Timón
2015-04-15Merge pull request #5997Wladimir J. van der Laan
4e38217 Chainparams: Refactor: Remove redundant HashGenesisBlock() getter (Jorge Timón)
2015-04-15Merge pull request #5999Wladimir J. van der Laan
e8e8904 Chainparams: Cleanup: Delete CChainParams getters to attributes from Consensus::Params (Jorge Timón)
2015-04-15Merge pull request #5992Wladimir J. van der Laan
ea9e82d [squashme] fix listunspent code indentation (Jonas Schnelli) b9fb692 Push down RPC reqWallet flag (Jonas Schnelli) 0b9dc9c [move] move listunspent to wallet/rpcwallet.cpp (Jonas Schnelli)
2015-04-14Fix CheckBlockIndex for reindex.mrbandrews
Some tests in CheckBlockIndex require chainActive.Tip(), but when reindexing, chainActive has not been set on the first call to CheckBlockIndex. reindex.py starts a node, mines 3 blocks, stops, and reindexes with CheckBlockIndex enabled.
2015-04-14Set nSequenceId when a block is fully linkedSuhas Daftuar
Also adds a test to CheckBlockIndex
2015-04-13Fix missing lock in submitblockMatt Corallo