aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-16Separate CTranslationInterface from CClientUIInterfaceJorge Timón
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-15Reduce download timeouts as blocks arriveSuhas Daftuar
Compare the block download timeout to what the timeout would be if calculated based on current time and current value of nQueuedValidatedHeaders, but ignoring other in-flight blocks from the same peer. If the calculation based on present conditions is shorter, then set that to be the time after which we disconnect the peer for not delivering this block.
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
2015-04-13Chainparams: Cleanup: Delete CChainParams getters to attributes from ↵Jorge Timón
Consensus::Params
2015-04-13[squashme] fix listunspent code indentationJonas Schnelli
2015-04-13Merge pull request #6000Wladimir J. van der Laan
fd31199 consensus: don't use arith_uint256 in consensus.h (Cory Fields)
2015-04-12Chainparams: Refactor: Remove redundant HashGenesisBlock() getterJorge Timón
2015-04-12Push down RPC reqWallet flagJonas Schnelli
2015-04-12[move] move listunspent to wallet/rpcwallet.cppJonas Schnelli
2015-04-12Merge pull request #5983Jeff Garzik
2015-04-10consensus: don't use arith_uint256 in consensus.hCory Fields
Requiring arith_uint256 at such a base level is not good for modularity.
2015-04-10Revert mining changes in #5957Wladimir J. van der Laan
This reverts commit e2edf95cd3f43331843676e49a82830128a95050 6b04508e37c5dd18cec1cd61cc4356bd208aa991 0df67f1f7ab4adfe9f0b3ba6276e737b37826464, except the changes to the RPC tests. A `generate` RPC call is introduced based on the old code.
2015-04-09Merge pull request #5957Wladimir J. van der Laan
e2edf95 Bugfix: make CreateNewBlock return pindexPrev (Pieter Wuille) 6b04508 Introduce separate 'generate' RPC call (Pieter Wuille) 0df67f1 Simplify hash loop code (Pieter Wuille)
2015-04-08move ThreadFlushWalletDB declaration to walletdb.hPhilip Kaufmann
2015-04-08Merge pull request #5951Wladimir J. van der Laan
77650cc add -walletbroadcast=0 rpc test (Jonas Schnelli) 6f25262 wallet: make it possible to disable transaction broadcast (Wladimir J. van der Laan)
2015-04-08Merge pull request #5952Wladimir J. van der Laan
437ada3 Switch test case signing to RFC6979 extra entropy (Pieter Wuille) 9d09322 Squashed 'src/secp256k1/' changes from 50cc6ab..1897b8e (Pieter Wuille)
2015-04-08Merge pull request #5969Wladimir J. van der Laan
f14e687 Chainparams: Decouple CAlert from CChainParams (Jorge Timón)
2015-04-08Merge pull request #5959Wladimir J. van der Laan
ede379f Add additional block index consistency checks (Suhas Daftuar)
2015-04-08Merge pull request #5973Wladimir J. van der Laan
6c35664 [Qt] Clarify: smartfee button name "Minimize" (MarcoFalke)
2015-04-07Merge pull request #5948Pieter Wuille
1cc0e96 Trivial optimization: use GetAncestor to compute new target (Pieter Wuille)
2015-04-07[Qt] Clarify: smartfee button name "Minimize"MarcoFalke
Make clear this button hides the options instead of minimizing the transaction fee.
2015-04-06Merge pull request #5945Wladimir J. van der Laan
ad9e86d Keep mempool consistent during block-reorgs (Gavin Andresen)
2015-04-04Chainparams: Decouple CAlert from CChainParamsJorge Timón
2015-04-02Change download logic to allow calling getheaders/getdata on inbound peersSuhas Daftuar
SendMessages will now call getheaders on both inbound and outbound peers, once the headers chain is close to synced. It will also try downloading blocks from inbound peers once we're out of initial block download (so inbound peers will participate in parallel block fetching for the last day or two of blocks being downloaded).
2015-04-01Add additional block index consistency checksSuhas Daftuar
This adds more tests to CheckBlockIndex: - HAVE_DATA is true iff nTx > 0 - BLOCK_VALID_TRANSACTIONS is true iff nTx > 0 - BLOCK_VALID_TRANSACTIONS is true for a block and all parents iff nChainTx > 0
2015-04-01Bugfix: make CreateNewBlock return pindexPrevPieter Wuille
2015-04-01Introduce separate 'generate' RPC callPieter Wuille