aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-11-24OpenSSL 1.1.0: Fix text variant of the version numberMarcoFalke
2015-11-24Merge pull request #7065Wladimir J. van der Laan
3522f49 http: add Boost 1.49 compatibility (Wladimir J. van der Laan)
2015-11-23Globals: Remove a bunch of Params() calls from main.cpp:Jorge Timón
1) Chainparams: Explicit CChainParams arg for main: -AcceptBlock -AcceptBlockHeader -ActivateBestChain -ConnectTip -InitBlockIndex -LoadExternalBlockFile -VerifyDB parametric constructor 2) Also pickup more Params()\. in main.cpp 3) Pass nPruneAfterHeight explicitly to new FindFilesToPrune() in main.cpp
2015-11-23Limit setAskFor and retire requested entries only when a getdata returns.Gregory Maxwell
The setAskFor duplicate elimination was too eager and removed entries when we still had no getdata response, allowing the peer to keep INVing and not responding.
2015-11-23prevent peer flooding request queue for an invkazcw
mapAlreadyAskedFor does not keep track of which peer has a request queued for a particular tx. As a result, a peer can blind a node to a tx indefinitely by sending many invs for the same tx, and then never replying to getdatas for it. Each inv received will be placed 2 minutes farther back in mapAlreadyAskedFor, so a short message containing 10 invs would render that tx unavailable for 20 minutes. This is fixed by disallowing a peer from having more than one entry for a particular inv in mapAlreadyAskedFor at a time.
2015-11-22Merge pull request #7046Gregory Maxwell
80ae230 Improve log messages for blocks only violations. (Patick Strateman) 08843ed Add relaytxes status to getpeerinfo (Peter Todd) d8aaa51 Bail early in processing transactions in blocks only mode. (Patick Strateman) 3587f6a Fix relay mechanism for whitelisted peers under blocks only mode. (Patick Strateman)
2015-11-22Move time data log print to 'net' category to reduce log noisetulip
2015-11-21Improve log messages for blocks only violations.Patick Strateman
2015-11-21Merge pull request #7011Gregory Maxwell
6531f17 Add mediantime field to getblock and getblockheader (Peter Todd) 7259769 Document new mediantime field in getblockchaininfo (Peter Todd) c277a63 Clarify nLockTime-by-time comment in CheckFinalTx() (Peter Todd) 748321e Add mediantime field to getblockchaininfo RPC call (Peter Todd)
2015-11-20Merge pull request #6851Gregory Maxwell
3e7c891 Optimisation: Store transaction list order in memory rather than compute it every need (Luke Dashjr)
2015-11-21Optimisation: Store transaction list order in memory rather than compute it ↵Luke Dashjr
every need Huge performance improvement (450%) for zapwallettxes
2015-11-20Add relaytxes status to getpeerinfoPeter Todd
2015-11-20Bail early in processing transactions in blocks only mode.Patick Strateman
Previously unsolicited transactions would be processed as normal.
2015-11-20Fix relay mechanism for whitelisted peers under blocks only mode.Patick Strateman
Previously in blocks only mode all inv messages where type!=MSG_BLOCK would be rejected without regard for whitelisting or whitelistalwaysrelay. As such whitelisted peers would never send the transaction (which would be processed).
2015-11-20Merge pull request #6979Wladimir J. van der Laan
c197798 [Qt] simple mempool info in debug window (Jonas Schnelli)
2015-11-20Add missing "blocktime" description to listtransactions help, fix formatting.Pavel Janík
2015-11-20http: add Boost 1.49 compatibilityWladimir J. van der Laan
`try_join_for` was introduced in Boost 1.50: http://www.boost.org/doc/libs/1_50_0/doc/html/thread/thread_management.html#thread.thread_management.thread.try_join_for 1.49 has `timed_join`, one can accomplish the same with: http://www.boost.org/doc/libs/1_49_0/doc/html/thread/thread_management.html#thread.thread_management.thread.timed_join However, `timed_join` was deprecated in 1.50. So a conditional is necessary. This solution was tested in #7031.
2015-11-20[Qt] simple mempool info in debug windowJonas Schnelli
2015-11-19Change GetPriority calculation.Alex Morcos
Compute the value of inputs that already are in the chain at time of mempool entry and only increase priority due to aging for those inputs. This effectively changes the CTxMemPoolEntry's GetPriority calculation from an upper bound to a lower bound.
2015-11-19Modify variable names for entry height and priorityAlex Morcos
2015-11-19Remove default arguments for CTxMemPoolEntry()Alex Morcos
2015-11-19qt: Periodic translations updateWladimir J. van der Laan
2015-11-19Merge pull request #7051Wladimir J. van der Laan
b4f3e9c ui: Add "Copy raw transaction data" to transaction list context menu (Wladimir J. van der Laan)
2015-11-19ui: Add "Copy raw transaction data" to transaction list context menuWladimir J. van der Laan
Add a way to quickly copy transaction hex. Primarily useful when manually submitting transactions, e.g. `-walletbroadcast=0` is set.
2015-11-19zmq: prepend zmq to debug messagesDaniel Cousens
2015-11-19init: add zmq to debug categoriesDaniel Cousens
2015-11-19init: amend ZMQ flag namesDaniel Cousens
2015-11-18add UI help for -resetguisettingsJonas Schnelli
2015-11-18Save the last unnecessary database readAlex Morcos
It's possible coins with the same hash exist when you create a duplicate coinbase, so previously we were reading from the database to make sure we had the old coins cached so if we were to spend the new ones, the old ones would also be spent. This pull instead just marks the new coins as not fresh if they are from a coinbase, so if they are spent they will be written all the way down to the database anyway overwriting any duplicates.
2015-11-18Alter assumptions in CCoinsViewCache::BatchWriteAlex Morcos
Previously it would break if you flushed a parent cache while there was a child cache referring to it. This change will allow the flushing of parent caches.
2015-11-18Merge pull request #6932Wladimir J. van der Laan
1cf3dd8 Add unit test for UpdateCoins (Alex Morcos) 03c8282 Make CCoinsViewTest behave like CCoinsViewDB (Alex Morcos) 14470f9 ModifyNewCoins saves database lookups (Alex Morcos)
2015-11-18Merge pull request #6951Jonas Schnelli
513686d [qt] Use maxTxFee instead of 10000000 (MarcoFalke)
2015-11-18[Qt] don't allow to store invalid proxy portsJonas Schnelli
2015-11-17Fix debug log message for block filesAlex Morcos
2015-11-17Bugfix: Use unique autostart filenames on Linux for testnet/regtestLuke Dashjr
2015-11-16Implement helper class for CTxMemPoolEntry constructorAlex Morcos
This is only for unit tests.
2015-11-16Merge pull request #6986Gregory Maxwell
6bc9e40 Chainparams: Explicit CChainParams arg for miner: (Jorge Timón) 598e494 Chainparams: Explicit CChainParams arg for main (pre miner): (Jorge Timón)
2015-11-16Merge pull request #6999Gregory Maxwell
f6d9d5e add (max)uploadtarget infos to getnettotals RPC help (Jonas Schnelli)
2015-11-16Merge pull request #7023Gregory Maxwell
4d29032 Fixed integer comparison warning. (Eric Lombrozo)
2015-11-16Expose RPC calls for estimatesmart functionsAlex Morcos
Also add testing for estimatesmartfee in smartfees.py
2015-11-16add estimateSmartFee to the unit testAlex Morcos
2015-11-16EstimateSmart functions consider mempool min feeAlex Morcos
2015-11-16Increase success threshold for fee estimation to 95%Alex Morcos
This provides more conservative estimates and reacts more quickly to a backlog. Unfortunately the unit test for fee estimation depends on the success threshold (and the decay) chosen; also modify the unit test for the new default success thresholds.
2015-11-16Change wallet and GUI code to use new smart fee estimation calls.Alex Morcos
2015-11-16Add smart fee estimation functionsAlex Morcos
These are more useful fee and priority estimation functions. If there is no fee/pri high enough for the target you are aiming for, it will give you the estimate for the lowest target that you can reliably obtain. This is better than defaulting to the minimum. It will also pass back the target for which it returned an answer.
2015-11-16Merge pull request #6954Wladimir J. van der Laan
6e18268 Switch to libsecp256k1-based validation for ECDSA (Pieter Wuille)
2015-11-16Merge pull request #7016Wladimir J. van der Laan
aee22bf Avoid a compile error on hosts with libevent too old for EVENT_LOG_WARN. (Gregory Maxwell)
2015-11-16[Qt] refactor and optimize proxy settings behaviorJonas Schnelli
2015-11-16Avoid a compile error on hosts with libevent too old for EVENT_LOG_WARN.Gregory Maxwell
This uses _EVENT_LOG_WARN instead, which appears to be defined in the old versions of libevent that I have on some systems.
2015-11-16Merge pull request #6991Gregory Maxwell
9bd3f03 Clarify 'fee' field in fundrawtransaction help text (Peter Todd)