aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add immature balances to getwalletinfo.Gregory Maxwell2014-12-251-2/+4
|
* Add unconfirmedbalance field to getwalletinfoazeteki2014-12-251-1/+3
|
* Merge pull request #5507Wladimir J. van der Laan2014-12-231-1/+3
|\ | | | | | | c907704 DOS: Respect max per-peer blocks in flight limit (Adam Weiss)
| * DOS: Respect max per-peer blocks in flight limitAdam Weiss2014-12-231-1/+3
| | | | | | | | | | | | | | Don't allow immediate inv driven block downloads if a peer already has MAX_BLOCKS_IN_TRANSIT_PER_PEER active downloads. Prevents bogus inv spam from blowing up block transfer tracking data structures.
* | Merge pull request #5481Wladimir J. van der Laan2014-12-231-8/+18
|\ \ | | | | | | | | | 6484930 Apply AreSane() checks to the fees from the network. (Gregory Maxwell)
| * | Apply AreSane() checks to the fees from the network.Gregory Maxwell2014-12-151-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'Sane' was already defined by this code as: fee.GetFeePerK() > minRelayFee.GetFeePerK() * 10000 But sanity was only enforced for data loaded from disk. Note that this is a pretty expansive definition of 'sane': A 10 BTC fee is still passes the test if its on a 100kb transaction. This prevents a single insane fee on the network from making us reject our stored fee data at start. We still may reject valid saved fee state if minRelayFee is changed between executions. This also reduces the risk and limits the damage from a cascading failure where one party pays a bunch of insane fees which cases others to pay insane fees.
* | | Merge pull request #5485Wladimir J. van der Laan2014-12-233-19/+48
|\ \ \ | | | | | | | | | | | | aa279d6 Enforce minRelayTxFee on wallet created tx and add a maxtxfee option. (Gregory Maxwell)
| * | | Enforce minRelayTxFee on wallet created tx and add a maxtxfee option.Gregory Maxwell2014-12-193-19/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the minRelayTxFee was only enforced on user specified values. It was possible for smartfee to produce a fee below minRelayTxFee which would just result in the transaction getting stuck because it can't be relayed. This also introduces a maxtxfee option which sets an absolute maximum for any fee created by the wallet, with an intention of increasing user confidence that the automatic fees won't burn them. This was frequently a concern even before smartfees. If the configured fee policy won't even allow the wallet to meet the relay fee the transaction creation may be aborted.
* | | | Merge pull request #5459Wladimir J. van der Laan2014-12-231-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | 3497022 Reject headers that build on an invalid parent (Pieter Wuille)
| * | | | Reject headers that build on an invalid parentPieter Wuille2014-12-221-0/+6
| | | | |
* | | | | Merge pull request #5523Wladimir J. van der Laan2014-12-222-3/+0
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | 4bc95c4 remove max orphan blocks config parameter since it is no longer functional (Jameson Lopp)
| * | | | remove max orphan blocks config parameter since it is no longer functionalJameson Lopp2014-12-212-3/+0
| | | | |
* | | | | Merge pull request #5253Wladimir J. van der Laan2014-12-221-0/+15
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | 7c041b3 Check against MANDATORY flags prior to accepting to mempool (Peter Todd)
| * | | | Check against MANDATORY flags prior to accepting to mempoolPeter Todd2014-11-101-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously transactions were only tested again the STANDARD_SCRIPT_VERIFY_FLAGS prior to mempool acceptance, so any bugs in those flags that allowed actually-invalid transactions to pass would result in allowing invalid transactions into the mempool. Fortunately there is a second check in CreateNewBlock() that would prevent those transactions from being mined, resulting in an invalid block, however this could still be exploited as a DoS attack.
* | | | | Added "Core" to copyright headerssandakersmann2014-12-19258-258/+258
| | | | | | | | | | | | | | | | | | | | | | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* | | | | Merge pull request #5470Wladimir J. van der Laan2014-12-19180-180/+180
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | 78253fc Remove references to X11 licence (Michael Ford)
| * | | | | Remove references to X11 licenceMichael Ford2014-12-16180-180/+180
| | |/ / / | |/| | |
* | | | | Merge pull request #2340Wladimir J. van der Laan2014-12-191-1/+27
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | ba7fcc8 Discourage fee sniping with nLockTime (Peter Todd)
| * | | | | Discourage fee sniping with nLockTimePeter Todd2014-10-131-1/+27
| | | | | |
* | | | | | add missing CAutoFile::IsNull() check in mainPhilip Kaufmann2014-12-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rebased-From: ccd056a30db0ba5e04b858a682907b378e464d34 Github-Pull: #5437
* | | | | | Merge pull request #5341Wladimir J. van der Laan2014-12-197-9/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4709160 [Qt] fix a translation that occurs 2 times but was a little different (Philip Kaufmann) 50db7d9 [Qt] change some strings to reflect name change to Bitcoin Core (Philip Kaufmann) 2747f7c [Qt] fix missing plural form for a string in sendcoinsdialog (Philip Kaufmann)
| * | | | | | [Qt] fix a translation that occurs 2 times but was a little differentPhilip Kaufmann2014-12-021-1/+1
| | | | | | |
| * | | | | | [Qt] change some strings to reflect name change to Bitcoin CorePhilip Kaufmann2014-12-025-7/+7
| | | | | | |
| * | | | | | [Qt] fix missing plural form for a string in sendcoinsdialogPhilip Kaufmann2014-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - this was reported on Transifex by pryds (Thank you!)
* | | | | | | Merge pull request #5421Wladimir J. van der Laan2014-12-192-0/+21
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | cac15be Test unexecuted OP_CODESEPARATOR (Peter Todd)
| * | | | | | | Test unexecuted OP_CODESEPARATORPeter Todd2014-12-042-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OP_CODESEPARATOR is an actual executed instruction, not a declarative thing, so if it's wrapped in an OP_IF it can be turned off. Using this to implement Rivest's Paywords is left as an exercise for the reader.
* | | | | | | | Remove outdated comment about NTPWladimir J. van der Laan2014-12-191-1/+0
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | The comment has been around since 0.1, but NTP inside the client isn't deemed necessary so remove the comment to avoid confusion.
* | | | | | | Merge pull request #5484Wladimir J. van der Laan2014-12-172-16/+16
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7c8e4c5 Make pass-by-ref arguments const. (Daniel Kraft)
| * | | | | | | Make pass-by-ref arguments const.Daniel Kraft2014-12-162-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make some of the arguments in rest.cpp, that are passed by reference but never modified, const to emphasise that.
* | | | | | | | make all catch() arguments constPhilip Kaufmann2014-12-1724-82/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - I saw this on http://en.cppreference.com/w/cpp/language/try_catch and thought it would be a good idea - also unify used format to better be able to search for exception uses in our codebase
* | | | | | | | [Qt] light blue icon color for regtestJonas Schnelli2014-12-161-1/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Changing the icons color for regtest in now lightweight.
* | | | | | | [Qt] fix a <Qt4.7 compatibility issue raised in #5228Jonas Schnelli2014-12-161-0/+4
| | | | | | |
* | | | | | | Merge pull request #5258Wladimir J. van der Laan2014-12-164-11/+17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4a8fc15 [Qt] the RPC Console should be a QWidget to make window more independent (Jonas Schnelli)
| * | | | | | | [Qt] the RPC Console should be a QWidget to make window more independentJonas Schnelli2014-11-134-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix issue #5254
* | | | | | | | Fix small typos in comments and error messagesPavel Janík2014-12-165-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rebased-From: 67b2d819cdf6181e7f016e5366ce7479830893bd Github-Pull: #5404
* | | | | | | | resize tray icon because a 1024x1024 icon won't show in ubuntu (bug)Jonas Schnelli2014-12-163-4/+7
| | | | | | | |
* | | | | | | | Qt: Go back to using QIcon functionality for scalingWladimir J. van der Laan2014-12-163-47/+20
| | | | | | | |
* | | | | | | | Qt: HiDPI (retina) support for splash screenJonas Schnelli2014-12-1611-34/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove splash screen images (reduce binary size) - dynamicly draw splash screen with available icon. - remove testnet icon - dynamicly colorize testnet icon
* | | | | | | | Merge pull request #5219Wladimir J. van der Laan2014-12-16117-1873/+267
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 31aac02 Qt: new icons (Jonas Schnelli)
| * | | | | | | | Qt: new iconsJonas Schnelli2014-11-07117-1873/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - flat and b/w icons seems to be the new trend - support for HiDPI/retina - change icon sizes - fix assets-attribution.md - removed unused icons
* | | | | | | | | Merge pull request #5444Wladimir J. van der Laan2014-12-161-0/+64
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | f676c80 Add /rest/headers (Pieter Wuille)
| * | | | | | | | Add /rest/headersPieter Wuille2014-12-121-0/+64
| | | | | | | | |
* | | | | | | | | minor fix on script test data docsManuel Araoz2014-12-162-2/+2
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Merge pull request #5357Pieter Wuille2014-12-143-61/+59
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | 5ea3bc0 Move remaining CBlockIndex methods to chain.cpp (Pieter Wuille) 9dcd524 Make IsSuperMajority a standalone function (Pieter Wuille)
| * | | | | | | Move remaining CBlockIndex methods to chain.cppPieter Wuille2014-12-112-48/+49
| | | | | | | |
| * | | | | | | Make IsSuperMajority a standalone functionPieter Wuille2014-12-112-13/+10
| | | | | | | |
* | | | | | | | Merge pull request #5461Wladimir J. van der Laan2014-12-121-0/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | aa768f1 signrawtransaction: validate private key. (Pavel Janík)
| * | | | | | | | signrawtransaction: validate private key.Pavel Janík2014-12-111-0/+2
| | | | | | | | |
* | | | | | | | | Merge pull request #5457Wladimir J. van der Laan2014-12-1231-849/+1202
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | 830ee48 Update Bitcoin for libsecp256k1 API change (Pieter Wuille) ecae2ac Squashed 'src/secp256k1/' changes from b0210a9..bccaf86 (Pieter Wuille)
| * | | | | | | | Update Bitcoin for libsecp256k1 API changePieter Wuille2014-12-112-4/+4
| | | | | | | | |