aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-08Merge #8126: std::shared_ptr based CTransaction storage in mempoolWladimir J. van der Laan
288d85d Get rid of CTxMempool::lookup() entirely (Pieter Wuille) c2a4724 Optimization: use usec in expiration and reuse nNow (Pieter Wuille) e9b4780 Optimization: don't check the mempool at all if no mempool req ever (Pieter Wuille) dbfb426 Optimize the relay map to use shared_ptr's (Pieter Wuille) 8d39d7a Switch CTransaction storage in mempool to std::shared_ptr (Pieter Wuille) 1b9e6d3 Add support for unique_ptr and shared_ptr to memusage (Pieter Wuille)
2016-06-08Merge #7703: tor: Change auth order to only use password auth if -torpasswordWladimir J. van der Laan
2e49448 tor: Change auth order to only use HASHEDPASSWORD if -torpassword (Wladimir J. van der Laan)
2016-06-08Merge #8065: Addrman offline attemptsWladimir J. van der Laan
6182d10 Do not increment nAttempts by more than one for every Good connection. (Gregory Maxwell) c769c4a Avoid counting failed connect attempts when probably offline. (Gregory Maxwell)
2016-06-08Merge #8078: Disable the mempool P2P command when bloom filters disabledWladimir J. van der Laan
3d3602f Add RPC test for the p2p mempool command in conjunction with disabled bloomfilters (Jonas Schnelli) beceac9 Disable the mempool P2P command when bloom filters disabled (Peter Todd)
2016-06-08Merge #8164: [Bitcoin-Tx] fix missing test fixtures, fix 32bit atoi issueWladimir J. van der Laan
86efa30 [Bitcoin-Tx] fix missing test fixtures, fix 32bit atoi issue (Jonas Schnelli)
2016-06-07[Bitcoin-Tx] fix missing test fixtures, fix 32bit atoi issueJonas Schnelli
2016-06-07Merge #7957: [RPC][Bitcoin-TX] Add support for sequence numberWladimir J. van der Laan
ae357d5 [Bitcoin-Tx] Add tests for sequence number support (Jonas Schnelli) e59336f [bitcoin-tx] allow to set nSequence number over the in= command (Jonas Schnelli) a946bb6 [RPC] createrawtransaction: add option to set the sequence number per input (Jonas Schnelli)
2016-06-07[Bitcoin-Tx] Add tests for sequence number supportJonas Schnelli
2016-06-07Merge #8136: Log/report in 10% steps during VerifyDBWladimir J. van der Laan
8b78486 Log/report in 10% steps during VerifyDB (Jonas Schnelli)
2016-06-07Merge #8118: Reduce unnecessary hashing in signrawtransactionWladimir J. van der Laan
bd0f413 Reduce unnecessary hashing in signrawtransaction (Jonas Nick)
2016-06-07Get rid of CTxMempool::lookup() entirelyPieter Wuille
2016-06-07Log/report in 10% steps during VerifyDBJonas Schnelli
2016-06-07Merge #8151: [init] Make feefilter option debug optionWladimir J. van der Laan
fa51a1d [init] Make feefilter option debug option (MarcoFalke)
2016-06-07[init] Make feefilter option debug optionMarcoFalke
2016-06-06Merge #8142: Improve CWallet API with new GetAccountPubkey function.Wladimir J. van der Laan
152ab23 Improve CWallet API with new GetAccountPubkey function. (Patrick Strateman)
2016-06-06Improve CWallet API with new GetAccountPubkey function.Patrick Strateman
Remove one more caller that is passing CWalletDB.
2016-06-06Merge #8007: Minor locking improvementsWladimir J. van der Laan
f0fdda0 IsInitialBlockDownload: usually avoid locking (Kaz Wesley)
2016-06-06Merge #8137: Improve CWallet API with new AccountMove function.Wladimir J. van der Laan
9dfaa1c Improve CWallet API with new AccountMove function. (Patrick Strateman)
2016-06-06tor: Change auth order to only use HASHEDPASSWORD if -torpasswordWladimir J. van der Laan
Change authentication order to make it more clear (see #7700). - If the `-torpassword` option is provided, force use of `HASHEDPASSWORD` auth. - Give error message if `-torpassword` provided, but `HASHEDPASSWORD` auth is not available. - Give error message if only `HASHEDPASSWORD` available, but `-torpassword` not given.
2016-06-06qt: translation strings updateWladimir J. van der Laan
2016-06-06Optimization: use usec in expiration and reuse nNowPieter Wuille
2016-06-06Optimization: don't check the mempool at all if no mempool req everPieter Wuille
2016-06-06Optimize the relay map to use shared_ptr'sPieter Wuille
* Switch mapRelay to use shared_ptr<CTransaction> * Switch the relay code to copy mempool shared_ptr's, rather than copying the transaction itself. * Change vRelayExpiration to store mapRelay iterators rather than hashes (smaller and faster).
2016-06-04IsInitialBlockDownload: usually avoid lockingKaz Wesley
Optimistically test the latch bool before taking the lock. For all IsInitialBlockDownload calls after the first to return false, this avoids the need to lock cs_main.
2016-06-05Switch CTransaction storage in mempool to std::shared_ptrPieter Wuille
2016-06-05Add support for unique_ptr and shared_ptr to memusagePieter Wuille
2016-06-04Merge #8143: comment nit: miners don't voteJonas Schnelli
e39dc69 comment nit: miners don't vote (instagibbs)
2016-06-03comment nit: miners don't voteinstagibbs
2016-06-03Merge #7967: [RPC] add feerate option to fundrawtransactionWladimir J. van der Laan
04eaa90 Add more clear interface for CoinControl.h regarding individual feerate (Jonas Schnelli) 3b35e48 [RPC] add feerate option to fundrawtransaction (Jonas Schnelli)
2016-06-03Merge #7942: locking for Misbehave() and other cs_main locking fixesWladimir J. van der Laan
719de56 lock cs_main for chainActive (Kaz Wesley) efb54ba lock cs_main for State/Misbehaving (Kaz Wesley)
2016-06-03Merge #8139: Fix interrupted HTTP RPC connection workaround for Python 3.5+MarcoFalke
f45f51e Fix interrupted HTTP RPC connection workaround for Python 3.5+ (Pieter Wuille)
2016-06-03Merge #7997: replace mapNextTx with slimmer setSpendsPieter Wuille
9805f4a mapNextTx: use pointer as key, simplify value (Kaz Wesley)
2016-06-03Merge #7825: Prevent multiple calls to ExtractDestinationPieter Wuille
0bf6f30 Prevent multiple calls to ExtractDestination (Pedro Branco)
2016-06-02mapNextTx: use pointer as key, simplify valueKaz Wesley
Saves about 10% of application memory usage once the mempool warms up. Since the mempool is DynamicUsage-regulated, this will translate to a larger mempool in the same amount of space. Map value type: eliminate the vin index; no users of the map need to know which input of the transaction is spending the prevout. Map key type: replace the COutPoint with a pointer to a COutPoint. A COutPoint is 36 bytes, but each COutPoint is accessible from the same map entry's value. A trivial DereferencingComparator functor allows indirect map keys, but the resulting syntax is misleading: `map.find(&outpoint)`. Implement an indirectmap that acts as a wrapper to a map that uses a DereferencingComparator, supporting a syntax that accurately reflect the container's semantics: inserts and iterators use pointers since they store pointers and need them to remain constant and dereferenceable, but lookup functions take const references.
2016-06-02Fix interrupted HTTP RPC connection workaround for Python 3.5+Pieter Wuille
2016-06-02Merge #7992: Extend #7956 with one more test.Pieter Wuille
269a440 Add test for dbwrapper iterators with same-prefix keys. (Matt Corallo) 6030625 test: Add more thorough test for dbwrapper iterators (Wladimir J. van der Laan) 84c13e7 chain: Add assertion in case of missing records in index db (Wladimir J. van der Laan)
2016-06-02Improve CWallet API with new AccountMove function.Patrick Strateman
2016-06-02Merge #8129: Fix RPC console auto completerJonas Schnelli
16698cb PR #7772 is not enough to fix the issue with QCompleter, use event filter instead of `connect` (UdjinM6)
2016-06-02Merge #8029: [Doc] Simplify OS X build notesJonas Schnelli
2692e1b [Doc] Simplify OS X build notes (fanquake)
2016-06-01Merge #8077: Consensus: Decouple from chainparams.o and timedata.oPieter Wuille
ee9f4a5 Consensus: Decouple from chainparams.o and timedata.o (Jorge Timón)
2016-06-01Merge #8123: Use std::atomic for fRequestShutdown and fReopenDebugLogPieter Wuille
a886dbf Use std::atomic for fRequestShutdown and fReopenDebugLog (Pieter Wuille) 16cf85f Revert "Include signal.h for sig_atomic_t in WIN32" (Pieter Wuille)
2016-06-01Use std::atomic for fRequestShutdown and fReopenDebugLogPieter Wuille
2016-06-01Revert "Include signal.h for sig_atomic_t in WIN32"Pieter Wuille
This reverts commit 88f14b999cb70f6c556633f2889e698a05305158.
2016-06-01Merge #8112: Include signal.h for sig_atomic_t in WIN32Pieter Wuille
88f14b9 Include signal.h for sig_atomic_t in WIN32 (Pieter Wuille)
2016-06-01Merge #7960: Only use AddInventoryKnown for transactionsPieter Wuille
383fc10 Only use AddInventoryKnown for transactions (Suhas Daftuar)
2016-06-01Merge #7689: Replace OpenSSL AES with ctaes-based versionPieter Wuille
723779c build: Enumerate ctaes rather than globbing (Cory Fields) 34ed64a crypter: add tests for crypter (Cory Fields) 0a36b9a crypter: shuffle Makefile so that crypto can be used by the wallet (Cory Fields) 976f9ec crypter: add a BytesToKey clone to replace the use of openssl (Cory Fields) 9049cde crypter: hook up the new aes cbc classes (Cory Fields) fb96831 crypter: constify encrypt/decrypt (Cory Fields) 1c391a5 crypter: fix the stored initialization vector size (Cory Fields) daa3841 crypto: add aes cbc tests (Cory Fields) 27a212d crypto: add AES 128/256 CBC classes (Cory Fields) 6bec172 Add ctaes-based constant time AES implementation (Pieter Wuille) a545127 Squashed 'src/crypto/ctaes/' content from commit cd3c3ac (Pieter Wuille)
2016-06-01Merge #8082: Defer inserting into maprelay until just before relaying.Pieter Wuille
4d8993b Defer inserting into maprelay until just before relaying. (Gregory Maxwell)
2016-06-01Merge #8121: [Doc] Update implemented BIPs listPieter Wuille
e4f73c7 [Doc] Update implemented BIPs list (fanquake)
2016-05-31Defer inserting into maprelay until just before relaying.Gregory Maxwell
This reduces the rate of not founds by better matching the far end expectations, it also improves privacy by removing the ability to use getdata to probe for a node having a txn before it has been relayed.
2016-05-31Merge #8080: Do not use mempool for GETDATA for tx accepted after the last ↵Wladimir J. van der Laan
mempool req. 7e908c7 Do not use mempool for GETDATA for tx accepted after the last mempool req. (Gregory Maxwell)