aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-11-19Make CBlock::vtx a vector of shared_ptr<CTransaction>Pieter Wuille
2016-11-19Add deserializing constructors to CTransaction and CMutableTransactionPieter Wuille
2016-11-19Add serialization for unique_ptr and shared_ptrPieter Wuille
2016-11-19Merge #9186: test: Fix use-after-free in scheduler testsWladimir J. van der Laan
12519bf test: Fix use-after-free in scheduler tests (Wladimir J. van der Laan)
2016-11-18test: Fix use-after-free in scheduler testsWladimir J. van der Laan
Make a copy of the boost time-point to wait for, otherwise the head of the queue may be deleted by another thread while this one is waiting, while the boost function still has a reference to it. Although this problem is in non-test code, this is not an actual problem outside of the tests because we use the thread scheduler with only one service thread, so there will never be threads fighting at the head of the queue. The old boost fallback escapes this problem because it passes a scalar value to wait_until instead of a const object reference. Found by running the tests in LLVM-4.0-master asan.
2016-11-17Merge #9075: Decouple peer-processing-logic from block-connection-logic (#3)Pieter Wuille
ae22357 Replace CValidationState param in ProcessNewBlock with BlockChecked (Matt Corallo) 7c98ce5 Remove pfrom parameter from ProcessNewBlock (Matt Corallo) e2e069d Revert "RPC: Give more details when "generate" fails" (Matt Corallo)
2016-11-17Merge #8838: Calculate size and weight of block correctly in CreateNewBlock()Wladimir J. van der Laan
5f274a1 log block size and weight correctly. (jnewbery)
2016-11-16Merge #9155: [trivial] update comments for tx weightMarcoFalke
07ede5d update comments for tx weight (Brian Deery)
2016-11-16Merge #9133: Unset fImporting for loading mempoolWladimir J. van der Laan
79f755d Unset fImporting for loading mempool (Alex Morcos)
2016-11-16Merge #9131: fNetworkActive is not protected by a lock, use an atomicWladimir J. van der Laan
079142b fNetworkActive is not protected by a lock, use an atomic (Jonas Schnelli)
2016-11-15Merge #9164: [trivial] credit values are CAmountPieter Wuille
20c3215 credit values are CAmount (Gregory Sanders)
2016-11-15credit values are CAmountGregory Sanders
2016-11-15Merge #9140: Bugfix: Correctly replace generated headers and fail cleanlyWladimir J. van der Laan
b74ff5c Bugfix: Correctly replace generated headers and fail cleanly (Luke Dashjr)
2016-11-15Merge #9132: Make strWalletFile constWladimir J. van der Laan
f734505 Make strWalletFile const (Jonas Schnelli)
2016-11-15Merge #9160: [trivial] Fix hungarian variable nameWladimir J. van der Laan
ec34648 [trivial] Fix hungarian variable name (Russell Yanofsky)
2016-11-14[trivial] Fix hungarian variable nameRussell Yanofsky
Follow up to comment https://github.com/bitcoin/bitcoin/pull/9058#discussion_r87676593
2016-11-14update comments for tx weightBrian Deery
2016-11-13[qt] Make network disabled icon 50% opaqueMarcoFalke
2016-11-12Bugfix: Correctly replace generated headers and fail cleanlyLuke Dashjr
Also removes generation of headers for *.raw files in test_bitcoin (none exist anymore)
2016-11-11Unset fImporting for loading mempoolAlex Morcos
2016-11-11Make strWalletFile constJonas Schnelli
2016-11-11fNetworkActive is not protected by a lock, use an atomicJonas Schnelli
2016-11-11Merge #9124: Use better name for local variable to prevent -Wshadow compiler ↵Wladimir J. van der Laan
warning bf49f10 Use better name for local variable to prevent -Wshadow compiler warning (Pavel Janík)
2016-11-11Merge #8996: Network activity toggleJonas Schnelli
19f46f1 Qt: New network_disabled icon (Luke Dashjr) 54cf997 RPC/Net: Use boolean consistently for networkactive, and remove from getinfo (Luke Dashjr) b2b33d9 Overhaul network activity toggle (Jonas Schnelli) 32efa79 Qt: Add GUI feedback and control of network activity state. (Jon Lund Steffensen) e38993b RPC: Add "togglenetwork" method to toggle network activity temporarily (Jon Lund Steffensen) 7c9a98a Allow network activity to be temporarily suspended. (Jon Lund Steffensen)
2016-11-11Merge #9058: Fixes for p2p-compactblocks.py test timeouts on travis (#8842)Wladimir J. van der Laan
dac53b5 Modify getblocktxn handler not to drop requests for old blocks (Russell Yanofsky) 55bfddc [qa] Fix stale data bug in test_compactblocks_not_at_tip (Russell Yanofsky) 47e9659 [qa] Fix bug in compactblocks v2 merge (Russell Yanofsky)
2016-11-11Merge #9112: Avoid ugly exception in log on unknown inv typeWladimir J. van der Laan
e9f25dd Avoid ugly exception in log on unknown inv type (Wladimir J. van der Laan)
2016-11-10Use better name for local variable to prevent -Wshadow compiler warningPavel Janík
2016-11-10Merge #9049: Remove duplicatable duplicate-input check from CheckTransactionWladimir J. van der Laan
e2b3fb3 Optimize vInOutPoints insertion a bit (Matt Corallo) eecffe5 Remove redundant duplicate-input check from CheckTransaction (Matt Corallo) b2e178a Add deserialize + CheckBlock benchmarks, and a full block hex (Matt Corallo)
2016-11-10Merge #9122: fix getnettotals RPC description about timemillis.MarcoFalke
a79f864 fix getnettotals RPC description about timemillis. (Masahiko Hyuga)
2016-11-10Merge #9121: Initialize variable to prevent compiler warningWladimir J. van der Laan
bdcba6d Initialize variable to prevent compiler warning (Pavel Janík)
2016-11-10Merge #9120: bug: Missed one "return false" in recent refactoring in #9067Wladimir J. van der Laan
45d372f Missed one "return false" in recent refactoring in #9067 (UdjinM6)
2016-11-10fix getnettotals RPC description about timemillis.Masahiko Hyuga
2016-11-10Initialize variable to prevent compiler warningPavel Janík
2016-11-10Missed one "return false" in recent refactoring in #9067UdjinM6
2016-11-09Merge #9111: Remove unused variable UNLIKELY_PCT from fees.hWladimir J. van der Laan
d8edf03 Remove unused var UNLIKELY_PCT from fees.h (fanquake)
2016-11-09Optimize vInOutPoints insertion a bitMatt Corallo
2016-11-09Remove redundant duplicate-input check from CheckTransactionMatt Corallo
2016-11-09Add deserialize + CheckBlock benchmarks, and a full block hexMatt Corallo
2016-11-09Replace CValidationState param in ProcessNewBlock with BlockCheckedMatt Corallo
2016-11-09Remove pfrom parameter from ProcessNewBlockMatt Corallo
This further decouples ProcessNewBlock from networking/peer logic.
2016-11-09Merge #9039: Various serialization simplifcations and optimizationsWladimir J. van der Laan
d59a518 Use fixed preallocation instead of costly GetSerializeSize (Pieter Wuille) 25a211a Add optimized CSizeComputer serializers (Pieter Wuille) a2929a2 Make CSerAction's ForRead() constexpr (Pieter Wuille) a603925 Avoid -Wshadow errors (Pieter Wuille) 5284721 Get rid of nType and nVersion (Pieter Wuille) 657e05a Make GetSerializeSize a wrapper on top of CSizeComputer (Pieter Wuille) fad9b66 Make nType and nVersion private and sometimes const (Pieter Wuille) c2c5d42 Make streams' read and write return void (Pieter Wuille) 50e8a9c Remove unused ReadVersion and WriteVersion (Pieter Wuille)
2016-11-09Avoid ugly exception in log on unknown inv typeWladimir J. van der Laan
It is unexpected behavior for `ToString` to raise an exception. It is expected to do a best-effort attempt at formatting but never fail. Catch the exception and simply print unknown inv types as hexadecimal. Fixes #9110.
2016-11-09Merge #8874: Multiple Selection for peer and ban tablesWladimir J. van der Laan
1077577 Fix auto-deselection of peers (Andrew Chow) addfdeb Multiple Selection for peer and ban tables (Andrew Chow)
2016-11-09Remove unused var UNLIKELY_PCT from fees.hfanquake
2016-11-08Revert "RPC: Give more details when "generate" fails"Matt Corallo
This only returned information in the case of CheckBlock failure, but breaks future changes.
2016-11-08Fix auto-deselection of peersAndrew Chow
2016-11-08RPC: Give more details when "generate" failsJorge Timón
2016-11-08Multiple Selection for peer and ban tablesAndrew Chow
Allows multiple selection and action for the nodes in the peer and ban tables in the Debug Window.
2016-11-08Merge #9088: Reduce ambiguity of warning messageWladimir J. van der Laan
77cbbd9 Make warning message about wallet balance possibly being incorrect less ambiguous. (R E Broadley)
2016-11-08Merge #9067: Fix exit codesWladimir J. van der Laan
4441018 Every main()/exit() should return/use one of EXIT_ codes instead of magic numbers (UdjinM6) bd0de13 Fix exit codes: - `--help`, `--version` etc should exit with `0` i.e. no error ("not enough args" case should still trigger an error) - error reading config file should exit with `1` (UdjinM6)