aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | |
* | | | 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.
* | | | | | Merge pull request #5318Wladimir J. van der Laan2014-11-211-7/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 77c38bb Truthier error message when rpcpassword is missing (Glenn Willen)
| * | | | | | Truthier error message when rpcpassword is missingGlenn Willen2014-11-191-7/+1
| | |_|/ / / | |/| | | |
* | | | | | qt: English translation updateWladimir J. van der Laan2014-11-212-118/+232
| | | | | |
* | | | | | Merge pull request #5322Wladimir J. van der Laan2014-11-211-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | aabe61c [Qt] explicitly call proxy in GUI settings SOCKS5 proxy (Philip Kaufmann)
| * | | | | | [Qt] explicitly call proxy in GUI settings SOCKS5 proxyPhilip Kaufmann2014-11-201-2/+2
| |/ / / / / | | | | | | | | | | | | | | | | | | - to ensure a consistent wording between core and GUI
* | | | | | build: fix link error on some platforms. Fixes #5235Cory Fields2014-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some users may have libtool libs (.la) installed in their linker search paths. In this case, using -static-libtool-libs would try to link in .a's instead of shared libs. That would be harmless unless the .a was built in a way that would break linking, like non-fpic. What we really want is "-static" here. Despite its name, it's actually less aggressive than -static-libtool-libs. It causes only internal libs to be linked statically (libbitcoinconsensus is the one were'a after).
* | | | | | Merge pull request #5270Wladimir J. van der Laan2014-11-201-0/+5
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | 57425a2 Check block header before accepting it. (Daniel Kraft)
| * | | | | Check block header before accepting it.Daniel Kraft2014-11-201-0/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Previously, AcceptBlockHeader did not check the header (in particular PoW). This made the client accept invalid-PoW-headers from peers in headers-first sync.
* | | | | Merge pull request #5000Pieter Wuille2014-11-208-3/+49
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 0391423 Discourage NOPs reserved for soft-fork upgrades (Peter Todd)
| * | | | | Discourage NOPs reserved for soft-fork upgradesPeter Todd2014-11-178-3/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOP1 to NOP10 are reserved for future soft-fork upgrades. In the event of an upgrade such NOPs have *VERIFY behavior, meaning that if their arguments are not correct the script fails. Discouraging these NOPs by rejecting transactions containing them from the mempool ensures that we'll never accept transactions, nor mine blocks, with scripts that are now invalid according to the majority of hashing power even if we're not yet upgraded. Previously this wasn't an issue as the IsStandard() rules didn't allow upgradable NOPs anyway, but 7f3b4e95 relaxed the IsStandard() rules for P2SH redemptions allowing any redeemScript to be spent. We *do* allow upgradable NOPs in scripts so long as they are not executed. This is harmless as there is no opportunity for the script to be invalid post-upgrade.
* | | | | | Merge pull request #5324Wladimir J. van der Laan2014-11-2012-80/+83
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 72fb3d2 Update comments in src/rpc* to be doxygen compatible (Michael Ford)
| * | | | | | Update comments in src/rpc* to be doxygen compatibleMichael Ford2014-11-2012-80/+83
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #5320Wladimir J. van der Laan2014-11-202-3/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | e0a25c5 qt: Make askpassphrase dialog behave more sanely (Wladimir J. van der Laan)
| * | | | | | qt: Make askpassphrase dialog behave more sanelyWladimir J. van der Laan2014-11-202-3/+15
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Set minimum sizes appropriately, and make sure that they are enforced. Replaces #5226.
* | | | | | build: add quick consensus lib testsCory Fields2014-11-191-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | They should be hooked up in other places as well, but this is a start.
* | | | | | build: add --with-libs so that libs are optionalCory Fields2014-11-192-1/+7
| | | | | |
* | | | | | build: add libbitcoinconsensus files and hook up the lib buildCory Fields2014-11-194-1/+190
| | | | | | | | | | | | | | | | | | | | | | | | Credit BlueMatt for libbitcoinsonsensus.h/cpp
* | | | | | build: make a distinction between static app ldflags and static lib ldflagsCory Fields2014-11-194-6/+6
|/ / / / / | | | | | | | | | | | | | | | | | | | | For windows builds, exe's are always static, but libs should still conform to --enabled-shared and --enable-static.
* | | | | [Qt] Add Smartfee to GUICozz Lovan2014-11-1920-167/+904
| | | | |
* | | | | [Wallet] Prevent user from paying a non-sense feeCozz Lovan2014-11-191-0/+3
| | | | |