aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* No semantic change: reuse stack variable in P2SH evaluationPieter Wuille2014-11-251-7/+10
|
* 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 #5362Wladimir J. van der Laan2014-11-251-0/+1
|\ \ | | | | | | | | | d61dc25 qt: osx: fix hidden symbol visibility (Cory Fields)
| * | qt: osx: fix hidden symbol visibilityCory Fields2014-11-241-0/+1
|/ / | | | | | | | | | | | | | | | | | | Fixes default hidden symbol visibility for our linux->osx cross build. Without this change, the check for working -fvisibility=hidden fails, and all symbols are visible by default. Ugly as this is, it's just a simple find/replace to fix a bug in Qt's configure. They assume in an "XPLATFORM_MAC" block that the builder is capable of running osx programs. This should be "BUILD_ON_MAC" instead.
* | Merge pull request #5335Gavin Andresen2014-11-241-0/+1
|\ \ | | | | | | | | | 7e615f5 Fixed mempool sync after sending a transaction (Suhas Daftuar)
| * | Fixed mempool sync after sending a transactionSuhas Daftuar2014-11-201-0/+1
| | |
* | | 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-249-93/+391
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | | |
| * | | | QA RPC tests: Add tests block block proposalsLuke Dashjr2014-11-202-4/+184
| | | | |
| * | | | 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
* | | | | Merge pull request #5356Wladimir J. van der Laan2014-11-241-3/+3
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | 7357893 Prioritize and display -testsafemode status in UI (dexX7)
| * | | | 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.
* | | | Merge pull request #5350Gregory Maxwell2014-11-221-5/+0
|\ \ \ \ | | | | | | | | | | | | | | | e0535e1 Remove misleading comment about testnet's message string. (Pavel Janík)
| * | | | Remove misleading comment about testnet's message string.Pavel Janík2014-11-221-5/+0
| | | | |
* | | | | Merge pull request #5348Gregory Maxwell2014-11-221-2/+0
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | be4ac91 docs: ThreadGetMyExternalIP has been removed (Pavel Vasin)
| * | | | docs: ThreadGetMyExternalIP has been removedPavel Vasin2014-11-221-2/+0
|/ / / / | | | | | | | | | | | | It was removed in https://github.com/bitcoin/bitcoin/pull/5161
* | | | Merge pull request #4727Wladimir J. van der Laan2014-11-2134-1593/+435
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 246659a gitian: make tarballs deterministic and nuke .la files from build output (Cory Fields) c54d647 travis: let travis use shared libs for tests (Cory Fields) 4bbbdf3 gitian: quick docs update (Cory Fields) 1aead42 gitian: descriptors overhaul (Cory Fields) 5f93ec2 depends: Add a package for qt4.6. Linux uses it by default. (Cory Fields) 4302fa6 depends: Use pic for all linux dependencies (Cory Fields)
| * | | | gitian: make tarballs deterministic and nuke .la files from build outputCory Fields2014-11-193-0/+30
| | | | |
| * | | | travis: let travis use shared libs for testsCory Fields2014-11-191-0/+1
| | | | |
| * | | | gitian: quick docs updateCory Fields2014-11-192-68/+6
| | | | |
| * | | | gitian: descriptors overhaulCory Fields2014-11-1915-1516/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Descriptors now make use of the dependencies builder, so results are cached. A very new version (>= e9741525c) of Gitian should be used in order to take advantage of caching.
| * | | | depends: Add a package for qt4.6. Linux uses it by default.Cory Fields2014-11-197-2/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're not ready to switch to a static qt5 for Linux yet due to missing plugin support. This adds a recipe for building a shared qt4 that we build and link against, but don't distribute. make USE_LINUX_STATIC_QT5=1 can be used to build static qt5 as before.
| * | | | depends: Use pic for all linux dependenciesCory Fields2014-11-1910-14/+13
| |/ / / | | | | | | | | | | | | This avoids textrels, and matches previous gitian behavior.
* | | | Change MIT/X11 to MIT in license displayed in the programPhilip Kaufmann2014-11-213-9/+9
| | | |
* | | | Convert remaining comments in /src to doxygen formatMichael Ford2014-11-2119-225/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update comments in checkpoints to be doxygen compatible - Update comments in checkqueue to be doxygen compatible - Update coins to be doxygen compatible - Fix comment typo in crypter.h - Update licenses/copyright dates Closes #5325 #5184 #5183 #5182
* | | | Merge pull request #5170Wladimir J. van der Laan2014-11-216-26/+20
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 092b58d CBlockIndex::GetBlockWork() + GetProofIncrement(nBits) -> GetBlockProof(CBlockIndex) (jtimon) 22c4272 MOVEONLY: Move void UpdateTime() from pow.o to miner.o (plus fix include main.h -> chain.h) (jtimon)
| * | | | CBlockIndex::GetBlockWork() + GetProofIncrement(nBits) -> ↵jtimon2014-10-294-13/+7
| | | | | | | | | | | | | | | | | | | | GetBlockProof(CBlockIndex)
| * | | | MOVEONLY: Move void UpdateTime() from pow.o to miner.o (plus fix include ↵jtimon2014-10-294-13/+13
| | | | | | | | | | | | | | | | | | | | main.h -> chain.h)
* | | | | Merge pull request #5247Wladimir J. van der Laan2014-11-217-24/+102
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ca81587 Test the exact order of CHECKMULTISIG sig/pubkey evaluation (Peter Todd) 98b135f Make STRICTENC invalid pubkeys fail the script rather than the opcode. (Pieter Wuille)
| * | | | | Test the exact order of CHECKMULTISIG sig/pubkey evaluationPeter Todd2014-11-203-1/+49
| | | | | | | | | | | | | | | | | | | | | | | | Possible with STRICTENC
| * | | | | Make STRICTENC invalid pubkeys fail the script rather than the opcode.Pieter Wuille2014-11-207-23/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This turns STRICTENC turn into a softforking-safe change (even though it is not intended as a consensus rule), and as a result guarantee that using it for mempool validation only results in consensus-valid transactions in the mempool.