aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5158Wladimir J. van der Laan2014-11-261-9/+8
|\ | | | | | | | | 9ec75c5 Add a locking mechanism to IsInitialBlockDownload to ensure it never goes from false to true. (Ruben Dario Ponticelli) a2d0fc6 Fix IsInitialBlockDownload which was broken by headers first. (Ruben Dario Ponticelli)
| * Add a locking mechanism to IsInitialBlockDownload to ensure it never goes ↵Ruben Dario Ponticelli2014-11-071-1/+7
| | | | | | | | from false to true.
| * Fix IsInitialBlockDownload which was broken by headers first.Ruben Dario Ponticelli2014-10-281-9/+2
| |
* | Merge pull request #5273Wladimir J. van der Laan2014-11-261-5/+5
|\ \ | | | | | | | | | | | | cd4d3f1 Win32: change buffer size for gethotsname in Discover() (Philip Kaufmann) 8fa0494 Win32: log addresses found in Discover() calls (Philip Kaufmann)
| * | Win32: change buffer size for gethotsname in Discover()Philip Kaufmann2014-11-131-1/+1
| | | | | | | | | | | | | | | - 256 byte is the maximum, as per http://msdn.microsoft.com/en-us/library/windows/desktop/ms738527%28v=vs.85%29.aspx
| * | Win32: log addresses found in Discover() callsPhilip Kaufmann2014-11-131-4/+4
| | |
* | | Merge pull request #5326Wladimir J. van der Laan2014-11-265-3/+20
|\ \ \ | | | | | | | | | | | | | | | | | | | | 5dc713b [REST] set REST API behind "-rest" option (Jonas Schnelli) 78bdc81 [REST] give an appropriate response in warmup phase (Jonas Schnelli) 210eba9 [REST] fix headersonly flag for BINARY responses (Jonas Schnelli)
| * | | [REST] set REST API behind "-rest" optionJonas Schnelli2014-11-262-1/+2
| | | |
| * | | [REST] give an appropriate response in warmup phaseJonas Schnelli2014-11-264-0/+16
| | | |
| * | | [REST] fix headersonly flag for BINARY responsesJonas Schnelli2014-11-261-2/+2
| | | |
* | | | qt: Update translations from transifexWladimir J. van der Laan2014-11-2670-1086/+1586
| | | |
* | | | Merge pull request #5321Wladimir J. van der Laan2014-11-261-9/+16
|\ \ \ \ | |/ / / |/| | | | | | | | | | | 34559c7 Make PruneBlockIndexCandidates safer (Pieter Wuille) cca48f6 Reset setBlockIndexCandidates once block index db loaded (21E14)
| * | | Make PruneBlockIndexCandidates saferPieter Wuille2014-11-201-3/+3
| | | |
| * | | Reset setBlockIndexCandidates once block index db loaded21E142014-11-121-7/+14
| | | |
* | | | Merge pull request #5323Wladimir J. van der Laan2014-11-261-5/+9
|\ \ \ \ | | | | | | | | | | | | | | | a328dd6 [Qt] small changes to sendcoinsdialog (Philip Kaufmann)
| * | | | [Qt] small changes to sendcoinsdialogPhilip Kaufmann2014-11-251-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add newly added variables to the constructor init - move an already existing bool also to constructor init - move a connect call to setClientModel and add a NULL pointer check
* | | | | Merge pull request #5209Wladimir J. van der Laan2014-11-261-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 9b1627d [Wallet] Reduce minTxFee for transaction creation to 1000 satoshis (Cozz Lovan)
| * | | | | [Wallet] Reduce minTxFee for transaction creation to 1000 satoshisCozz Lovan2014-11-041-1/+1
| | | | | |
* | | | | | Merge pull request #5361Wladimir J. van der Laan2014-11-262-12/+13
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 3223179 libbitcoinconsensus: don't require any global constructors (Cory Fields)
| * | | | | | libbitcoinconsensus: don't require any global constructorsCory Fields2014-11-242-12/+13
| | |/ / / / | |/| | | | | | | | | | | | | | | | These static objects are only used in once place, so declare them there instead.
* | | | | | Merge pull request #5340Wladimir J. van der Laan2014-11-263-0/+27
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c8ed613 Include missing config/bitcoin-config.h. (Pavel Janík) 494f6e7 Check for strnlen and provide it if it is not found. (Pavel Janík)
| * | | | | | Include missing config/bitcoin-config.h.Pavel Janík2014-11-261-0/+4
| | | | | | |
| * | | | | | Check for strnlen and provide it if it is not found.Pavel Janík2014-11-243-0/+23
| | | | | | |
* | | | | | | Merge pull request #5351Wladimir J. van der Laan2014-11-252-39/+42
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3d0a1ce Process help and version arguments before datadir. (Pavel Janík)
| * | | | | | | Process help and version arguments before datadir.Pavel Janík2014-11-222-39/+42
| | |/ / / / / | |/| | | | |
* | | | | | | Merge pull request #5241Wladimir J. van der Laan2014-11-254-55/+75
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a206950 Introduce separate flushing modes (Pieter Wuille) 51ce901 Improve chainstate/blockindex disk writing policy (Pieter Wuille)
| * | | | | | | Introduce separate flushing modesPieter Wuille2014-11-241-9/+16
| | | | | | | |
| * | | | | | | Improve chainstate/blockindex disk writing policyPieter Wuille2014-11-244-55/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are 3 pieces of data that are maintained on disk. The actual block and undo data, the block index (which can refer to positions on disk), and the chainstate (which refers to the best block hash). Earlier, there was no guarantee that blocks were written to disk before block index entries referring to them were written. This commit introduces dirty flags for block index data, and delays writing entries until the actual block data is flushed. With this stricter ordering in writes, it is now safe to not always flush after every block, so there is no need for the IsInitialBlockDownload() check there - instead we just write whenever enough time has passed or the cache size grows too large. Also updating the wallet's best known block is delayed until this is done, otherwise the wallet may end up referring to an unknown block. In addition, only do a write inside the block processing loop if necessary (because of cache size exceeded). Otherwise, move the writing to a point after processing is done, after relaying.
* | | | | | | | Merge pull request #5358Wladimir J. van der Laan2014-11-241-4/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 3c77714 Make -proxy set all network types, avoiding a connect leak. (Gregory Maxwell)
| * | | | | | | | Make -proxy set all network types, avoiding a connect leak.Gregory Maxwell2014-11-231-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously -proxy was not setting the proxy for IsLimited networks, so if you set your configuration to be onlynet=tor you wouldn't get an IPv4 proxy set. The payment protocol gets its proxy configuration from the IPv4 proxy, and so it would experience a connection leak. This addresses issue #5355 and also clears up a cosmetic bug where getinfo proxy output shows nothing when onlynet=tor is set.
* | | | | | | | | Merge pull request #5154Wladimir J. van der Laan2014-11-241-2/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 730b1ed Check pindexBestForkBase for null (21E14)
| * | | | | | | | | Check pindexBestForkBase for null21E142014-11-221-2/+2
| | | | | | | | | |
* | | | | | | | | | [Qt, OSX] fix Qt4.8 compatibility with QProgressBar issueJonas Schnelli2014-11-241-1/+1
| |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rebased-From: 7f33d2cebfde99ded12c711ef6bd77c91725cfb8 Github-Issue: #5344
* | | | | | | | | Merge pull request #1816Wladimir J. van der Laan2014-11-247-89/+207
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b867e40 CreateNewBlock: Stick height in coinbase so we pass template sanity check (Luke Dashjr) 60755db submitblock: Check for duplicate submissions explicitly (Luke Dashjr) bc6cb41 QA RPC tests: Add tests block block proposals (Luke Dashjr) 9765a50 Implement BIP 23 Block Proposal (Luke Dashjr) 3dcbb9b Abstract DecodeHexBlk and BIP22ValidationResult functions out of submitblock (Luke Dashjr) 132ea9b miner_tests: Disable checkpoints so they don't fail the subsidy-change test (Luke Dashjr) df08a62 TestBlockValidity function for CBlock proposals (used by CreateNewBlock) (Luke Dashjr) 4ea1be7 CreateNewBlock and miner_tests: Also check generated template is valid by CheckBlockHeader, ContextualCheckBlockHeader, CheckBlock, and ContextualCheckBlock (Luke Dashjr) a48f2d6 Abstract context-dependent block checking from acceptance (Luke Dashjr)
| * | | | | | | | | CreateNewBlock: Stick height in coinbase so we pass template sanity checkLuke Dashjr2014-11-201-5/+6
| | | | | | | | | |
| * | | | | | | | | submitblock: Check for duplicate submissions explicitlyLuke Dashjr2014-11-201-4/+21
| | | | | | | | | |
| * | | | | | | | | Implement BIP 23 Block ProposalLuke Dashjr2014-11-201-0/+33
| | | | | | | | | |
| * | | | | | | | | Abstract DecodeHexBlk and BIP22ValidationResult functions out of submitblockLuke Dashjr2014-11-183-21/+41
| | | | | | | | | |
| * | | | | | | | | miner_tests: Disable checkpoints so they don't fail the subsidy-change testLuke Dashjr2014-11-181-0/+2
| | | | | | | | | |
| * | | | | | | | | TestBlockValidity function for CBlock proposals (used by CreateNewBlock)Luke Dashjr2014-11-183-17/+31
| | | | | | | | | |
| * | | | | | | | | CreateNewBlock and miner_tests: Also check generated template is valid by ↵Luke Dashjr2014-11-181-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CheckBlockHeader, ContextualCheckBlockHeader, CheckBlock, and ContextualCheckBlock
| * | | | | | | | | Abstract context-dependent block checking from acceptanceLuke Dashjr2014-11-182-53/+75
| | | | | | | | | |
* | | | | | | | | | Merge pull request #5224Wladimir J. van der Laan2014-11-245-5/+53
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f321d6b Add key generation/verification to ECC sanity check (Pieter Wuille) d0c41a7 Add sanity check after key generation (Pieter Wuille)
| * | | | | | | | | | Add key generation/verification to ECC sanity checkPieter Wuille2014-11-231-1/+9
| | | | | | | | | | |
| * | | | | | | | | | Add sanity check after key generationPieter Wuille2014-11-235-4/+44
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a sanity check to prevent cosmic rays from flipping a bit in the generated public key, or bugs in the elliptic curve code. This is simply done by signing a (randomized) message, and verifying the result.
* | | | | | | | | | Merge pull request #5309Wladimir J. van der Laan2014-11-243-11/+12
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4574248 [Qt] minor ordering cleanup after new fee selection (Philip Kaufmann) a01fa30 minor style cleanup after HTTP rest interface merge (Philip Kaufmann)
| * | | | | | | | | [Qt] minor ordering cleanup after new fee selectionPhilip Kaufmann2014-11-201-1/+1
| | | | | | | | | |
| * | | | | | | | | minor style cleanup after HTTP rest interface mergePhilip Kaufmann2014-11-202-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - no code changes
* | | | | | | | | | Prioritize and display -testsafemode status in UIdexX72014-11-231-3/+3
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Like in a real world situation, a safe mode test should also be visible in the UI. A test of safe mode is furthermore mostly relevant for developers, so it should not be overwritten by a warning about a pre-release test build.
* | | | | | | | | Remove misleading comment about testnet's message string.Pavel Janík2014-11-221-5/+0
| |_|_|/ / / / / |/| | | | | | |