aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5135Gavin Andresen2014-10-272-6/+6
|\ | | | | | | | | | | a31e8ba Make CBlockIndex* returned by GetDepthInMainChain const. (Daniel Kraft) Signed-off-by: Gavin Andresen <[email protected]>
| * Make CBlockIndex* returned by GetDepthInMainChain const.Daniel Kraft2014-10-242-6/+6
| | | | | | | | | | | | Make the CBlockIndex* (optionally) returned by GetDepthInMainChain const. This prevents accidental modification. The result is for reading its properties rather than modifying it.
* | Build util and common before building serverjtimon2014-10-271-4/+6
| |
* | Merge pull request #5086Wladimir J. van der Laan2014-10-274-6/+9
|\ \ | | | | | | | | | | | | 1723862 build: fix libtool's refusal to link static libs into a dll (Cory Fields) 28d412f build: quit abusing LIBS for Windows builds. (Cory Fields)
| * | build: quit abusing LIBS for Windows builds.Cory Fields2014-10-134-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | Similar to the INCLUDES changes in 6b099402b40, split out LIBS into individual entries for more fine-grained control. Also add MINIUPNPC_LIBS which was missing before, and hook it up to executables.
* | | Merge pull request #5119Pieter Wuille2014-10-2716-553/+589
|\ \ \ | | | | | | | | | | | | fa73619 boost: split stream classes out of serialize.h (Cory Fields)
| * | | boost: split stream classes out of serialize.hCory Fields2014-10-2216-553/+589
| | | | | | | | | | | | | | | | serialization now has no dependencies.
* | | | Merge pull request #5115Wladimir J. van der Laan2014-10-272-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | 33dfbf5 rpc: Fix leveldb iterator leak, and flush before `gettxoutsetinfo` (Wladimir J. van der Laan)
| * | | | rpc: Fix leveldb iterator leak, and flush before `gettxoutsetinfo`Wladimir J. van der Laan2014-10-212-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an iterator leak resulting in bitcoind: db/version_set.cc:789: leveldb::VersionSet::~VersionSet(): Assertion `dummy_versions_.next_ == &dummy_versions_' failed." exception on shutdown. Also make sure to flush pcoinsTip before calling GetStats() to make sure we apply them to the current height.
* | | | | Merge pull request #5134Wladimir J. van der Laan2014-10-271-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 6261e6e getblockhash: throw JSONRPCError (not runtime_error) (dexX7)
| * | | | | getblockhash: throw JSONRPCError (not runtime_error)dexX72014-10-241-1/+1
| | |_|_|/ | |/| | |
* | | | | Merge pull request #5093Pieter Wuille2014-10-2540-282/+602
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 4b0e2d7 Squashed 'src/leveldb/' changes from 7924331..7d41e6f (Pieter Wuille)
| * | | | | Merge src/leveldb changes for LevelDB 1.18.Pieter Wuille2014-10-1640-282/+602
| | | | | |
* | | | | | Merge pull request #5131Wladimir J. van der Laan2014-10-252-119/+128
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 24f5c94 Update comments in addrman to be doxygen compatible (Michael Ford) c772f4c Add doc/doxygen to .gitignore (Michael Ford)
| * | | | | | Update comments in addrman to be doxygen compatibleMichael Ford2014-10-242-119/+128
| | |/ / / / | |/| | | | | | | | | | | | | | | | Also correct the file license
* | | | | | Merge pull request #5117Wladimir J. van der Laan2014-10-251-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 7014f38 [Qt] Remove CAmount from BitcoinAmountField Q_PROPERTY (Cozz Lovan)
| * | | | | | [Qt] Remove CAmount from BitcoinAmountField Q_PROPERTYCozz Lovan2014-10-241-1/+3
| | |_|/ / / | |/| | | |
* | | | | | Clear vFixedSeeds for regtest networkWladimir J. van der Laan2014-10-241-0/+1
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | It shouldn't inherit these from testnet. (seems to be already done for unit test network but forgotten here...) Fixes #5127.
* | | | | fix build with libc++ after 85c579eCory Fields2014-10-231-0/+1
| | | | |
* | | | | qt: remove monitoreddatamapperWladimir J. van der Laan2014-10-235-80/+4
| |_|/ / |/| | | | | | | | | | | | | | | We haven't used the viewModified signal in ages, so we can use a normal QDataWidgetMapper.
* | | | Merge pull request #4981Wladimir J. van der Laan2014-10-2234-177/+192
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85c579e script: add a slew of includes all around and drop includes from script.h (Cory Fields) db8eb54 script: move ToString and ValueString out of the header (Cory Fields) e9ca428 script: add ToByteVector() for converting anything with begin/end (Cory Fields) 066e2a1 script: move CScriptID to standard.h and add a ctor for creating them from CScripts (Cory Fields)
| * | | | script: add a slew of includes all around and drop includes from script.hCory Fields2014-10-1718-7/+31
| | | | | | | | | | | | | | | | | | | | Lots of files ended up with indirect includes from script.h.
| * | | | script: move ToString and ValueString out of the headerCory Fields2014-10-172-29/+34
| | | | |
| * | | | script: add ToByteVector() for converting anything with begin/endCory Fields2014-10-179-108/+91
| | | | | | | | | | | | | | | | | | | | This should move to a util header once their dependencies are cleaned up.
| * | | | script: move CScriptID to standard.h and add a ctor for creating them from ↵Cory Fields2014-10-1717-34/+37
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CScripts This allows for a reversal of the current behavior. This: CScript foo; CScriptID bar(foo.GetID()); Becomes: CScript foo; CScriptID bar(foo); This way, CScript is no longer dependent on CScriptID or Hash();
* | | | Merge pull request #4988Wladimir J. van der Laan2014-10-221-38/+40
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 7b2bb96 Replace some function names with __func__ (Pieter Wuille) ed6d1a2 Keep information about all block files in memory (Pieter Wuille)
| * | | | Replace some function names with __func__Pieter Wuille2014-10-211-2/+2
| | | | |
| * | | | Keep information about all block files in memoryPieter Wuille2014-10-061-37/+39
| | | | |
* | | | | Merge pull request #5108Wladimir J. van der Laan2014-10-225-24/+31
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a873823 CAutoFile: Explicit Get() and remove unused methods (Wladimir J. van der Laan) fef24ca Add IsNull() to class CAutoFile and remove operator ! (Ruben Dario Ponticeli)
| * | | | | CAutoFile: Explicit Get() and remove unused methodsWladimir J. van der Laan2014-10-225-18/+25
| | | | | | | | | | | | | | | | | | | | | | | | Also add documentation to some methods.
| * | | | | Add IsNull() to class CAutoFile and remove operator !Ruben Dario Ponticeli2014-10-203-7/+7
| | | | | |
* | | | | | Merge pull request #5110Wladimir J. van der Laan2014-10-222-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | a3c26c2 Fixes for missing boost tuple.hpp header include. (randy-waterhouse)
| * | | | | | Fixes for missing boost tuple.hpp header include.randy-waterhouse2014-10-212-0/+2
| |/ / / / /
* | | | | | Merge pull request #5104Wladimir J. van der Laan2014-10-222-5/+4
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | b7ae2c1 Chain::SetTip return type to void (21E14)
| * | | | | Chain::SetTip return type to void21E142014-10-202-5/+4
| | | | | |
* | | | | | qt: small English language updates from translatorsWladimir J. van der Laan2014-10-215-26/+35
| | | | | | | | | | | | | | | | | | | | | | | | More friendly language, use placeholders where possible
* | | | | | qt: English translation update after 0a08aa8Wladimir J. van der Laan2014-10-212-382/+348
| | | | | |
* | | | | | Merge pull request #5076Wladimir J. van der Laan2014-10-212-46/+46
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c0195b1 Bugfix: Remove default from -zapwallettxes description (inaccurate) (Luke Dashjr) 0a08aa8 Parameterise command line option defaults, so translations are independent of them (Luke Dashjr)
| * | | | | | Bugfix: Remove default from -zapwallettxes description (inaccurate)Luke Dashjr2014-10-141-1/+1
| | | | | | |
| * | | | | | Parameterise command line option defaults, so translations are independent ↵Luke Dashjr2014-10-112-46/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | of them
* | | | | | | Merge pull request #5105Wladimir J. van der Laan2014-10-215-33/+33
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | a96d113 Rename CWalletInterface to CValidationInterface (Pieter Wuille)
| * | | | | | Rename CWalletInterface to CValidationInterfacePieter Wuille2014-10-205-33/+33
| | |/ / / / | |/| | | | | | | | | | | | | | | | It's useful for much more than wallets.
* | | | | | Merge pull request #5095Wladimir J. van der Laan2014-10-204-2/+12
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | d4746d5 Add a SECURE style flag for ThreadSafeMessageBox, which indicates that the message contains sensitive information. This keeps the message from being output to the debug log by bitcoind. Fixes a possible security risk when starting bitcoind in server mode without the 'rpcpassword' option configured, resulting in the "suggested" password being output to the debug log. (Mark Friedenbach)
| * | | | | Add a SECURE style flag for ThreadSafeMessageBox, which indicates that the ↵Mark Friedenbach2014-10-174-2/+12
| | |_|/ / | |/| | | | | | | | | | | | | message contains sensitive information. This keeps the message from being output to the debug log by bitcoind. Fixes a possible security risk when starting bitcoind in server mode without the 'rpcpassword' option configured, resulting in the "suggested" password being output to the debug log.
* | | | | Merge pull request #4468Wladimir J. van der Laan2014-10-1714-501/+479
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e11b2ce Fix large reorgs (Pieter Wuille) afc32c5 Fix rebuild-chainstate feature and improve its performance (Pieter Wuille) 16d5194 Skip reindexed blocks individually (Pieter Wuille) ad96e7c Make -reindex cope with out-of-order blocks (Wladimir J. van der Laan) e17bd58 Rename setBlockIndexValid to setBlockIndexCandidates (Pieter Wuille) 1af838b Add height to "Requesting block" debug (R E Broadley) 1bcee67 Better logging of stalling (R E Broadley) 4c93322 Improve getheaders (sending) logging (R E Broadley) f244c99 Remove CheckMinWork, as we always know all parent headers (Pieter Wuille) ad6e601 RPC additions after headers-first (Pieter Wuille) 341735e Headers-first synchronization (Pieter Wuille)
| * | | | | Fix large reorgsPieter Wuille2014-10-141-5/+6
| | | | | |
| * | | | | Fix rebuild-chainstate feature and improve its performancePieter Wuille2014-10-142-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous refactorings broke the ability to rebuild the chainstate by deleting the chainstate directory, resulting in an incorrect "Incorrect or no genesis block found" error message. Fix that. Also, improve the performance of ActivateBestBlockStep by using the skiplist to only discover a few potential blocks to connect at a time, instead of all blocks forever - as we likely bail out after connecting a single one anyway.
| * | | | | Skip reindexed blocks individuallyPieter Wuille2014-10-141-33/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of skipping to the last reindexed block in each file (which could jump over processed out-of-order blocks), just skip each already processed block individually.
| * | | | | Make -reindex cope with out-of-order blocksWladimir J. van der Laan2014-10-141-8/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remember out-of-order block headers along with disk positions. This is likely the simplest and least-impact way to make -reindex work with headers first. Based on top of #4468.
| * | | | | Rename setBlockIndexValid to setBlockIndexCandidatesPieter Wuille2014-10-141-15/+15
| | | | | |