aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | Add `-version` option to get just the versionWladimir J. van der Laan2014-06-116-36/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a `-version` or `--version` option to print just the version of the program for bitcoind, bitcoin-cli and bitcoin-qt. Also make it that `-help` can be used to display the help (as well as existing `--help`). Up to now, `-help` was the only option that didn't work with either one or two dashes.
* | | | | | | | | | Remove -beta suffixWladimir J. van der Laan2014-06-121-1/+1
| |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | It conflicts with our normal naming of releases/builds. Fixes #4221.
* | | | | | | | | Merge pull request #2784Wladimir J. van der Laan2014-06-123-17/+27
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f1920e8 Ping automatically every 2 minutes (unconditionally) (Pieter Wuille)
| * | | | | | | | | Ping automatically every 2 minutes (unconditionally)Pieter Wuille2014-06-093-17/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... instead of after 30 minutes of no sending, for latency measurement and keep-alive. Also, disconnect if no reply arrives within 20 minutes, instead of 90 of inactivity (for peers supporting the 'pong' message).
* | | | | | | | | | Add testnet DNS seed of Alex Kotenko.Andreas Schildbach2014-06-121-0/+1
| |_|_|/ / / / / / |/| | | | | | | |
* | | | | | | | | remove unused code from getblockchaininfo()Philip Kaufmann2014-06-111-3/+0
| |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #4227Wladimir J. van der Laan2014-06-112-17/+12
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 634bd61 convert an if into an else if in OpenNetworkConnection() (Philip Kaufmann) 5bd6c31 small cleanup of net (Philip Kaufmann)
| * | | | | | | | convert an if into an else if in OpenNetworkConnection()Philip Kaufmann2014-06-111-2/+1
| | | | | | | | |
| * | | | | | | | small cleanup of netPhilip Kaufmann2014-06-112-17/+13
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove an unneded else in ConnectNode() - make 0 a double and change to 0.0 in ConnectNode() - rename strDest to pszDest in OpenNetworkConnection() - remove an unneded call to our REF() macro in BindListenPort() - small style cleanups and removal of unneeded new-lines
* / | | | | | | [Qt] allow setting listen via GUIPhilip Kaufmann2014-06-116-1/+29
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add DEFAULT_LISTEN in net.h and use in the code (shared setting between core and GUI) Important: This makes it obvious, that we need to re-think the settings/options handling, as GUI settings are processed before any parameter-interaction (which is mostly important for network stuff) in AppInit2()!
* | | | | | | Merge pull request #4170Wladimir J. van der Laan2014-06-117-21/+21
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ac14bcc small formatting, indentation and comment fixes (Philip Kaufmann)
| * | | | | | | small formatting, indentation and comment fixesPhilip Kaufmann2014-06-107-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - contains zero code changes
* | | | | | | | Merge pull request #4277Wladimir J. van der Laan2014-06-113-0/+36
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 4a09e1d key.cpp: fail with a friendlier message on missing ssl EC support (Andrew Poelstra)
| * | | | | | | | key.cpp: fail with a friendlier message on missing ssl EC supportAndrew Poelstra2014-06-033-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously if bitcoind is linked with an OpenSSL which is compiled without EC support, this is seen as an assertion failure "pKey != NULL" at key.cpp:134, which occurs after several seconds. It is an esoteric piece of knowledge to interpret this as "oops, I linked with the wrong OpenSSL", and because of the delay it may not even be noticed. The new output is : OpenSSL appears to lack support for elliptic curve cryptography. For more information, visit https://en.bitcoin.it/wiki/OpenSSL_and_EC_Libraries : Initialization sanity check failed. Bitcoin Core is shutting down. which occurs immediately after attempted startup. This also blocks in an InitSanityCheck() function which currently only checks for EC support but should eventually do more. See #4081.
* | | | | | | | | Merge pull request #4321Wladimir J. van der Laan2014-06-111-2/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 699fe63 remove wrong ; in chainparams.h and order includes (Philip Kaufmann)
| * | | | | | | | | remove wrong ; in chainparams.h and order includesPhilip Kaufmann2014-06-101-2/+2
| | |/ / / / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #4323Wladimir J. van der Laan2014-06-114-78/+89
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38e324a build: qt: split locale resources. Fixes non-deterministic distcheck (Cory Fields)
| * | | | | | | | | build: qt: split locale resources. Fixes non-deterministic distcheckCory Fields2014-06-104-78/+89
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rcc tool is quirky and only honors files in the same directory as the qrc. When doing an out-of-tree build (as 'make distcheck' does), the generated translation files end up in a different path, so rcc can't find them. Split them up so that rcc is run twice: once for static source files and once for generated files.
* / / / / / / / / remove unused UPnP code from main.hPhilip Kaufmann2014-06-101-6/+0
|/ / / / / / / /
* | | | | | | | Remove unused Print/PrintHex functionsWladimir J. van der Laan2014-06-103-26/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can just use HexStr(script) or script.ToString() for debugging, no need for these extra functions.
* | | | | | | | Merge pull request #4305Wladimir J. van der Laan2014-06-104-22/+10
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | 95a9383 [Qt] Remove CENT-fee-rule from coin control completely (Cozz Lovan)
| * | | | | | | [Qt] Remove CENT-fee-rule from coin control completelyCozz Lovan2014-06-084-22/+10
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge pull request #4300Wladimir J. van der Laan2014-06-091-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | dff0e3b [Qt] Improve rpc console history behavior (Cozz Lovan)
| * | | | | | | [Qt] Improve rpc console history behaviorCozz Lovan2014-06-071-2/+2
| | | | | | | |
* | | | | | | | Merge pull request #3824Wladimir J. van der Laan2014-06-0916-80/+134
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0a83fc Use Params().NetworkID() instead of TestNet() from the payment protocol (jtimon) 2871889 net.h was using std namespace through chainparams.h included in protocol.h (jtimon) c8c52de Replace virtual methods with static attributes, chainparams.h depends on protocol.h instead of the other way around (jtimon) a3d946e Get rid of TestNet() (jtimon) 6fc0fa6 Add RPCisTestNet chain parameter (jtimon) cfeb823 Add RequireStandard chain parameter (jtimon) 21913a9 Add AllowMinDifficultyBlocks chain parameter (jtimon) d754f34 Move majority constants to chainparams (jtimon) 8d26721 Get rid of RegTest() (jtimon) cb9bd83 Add DefaultCheckMemPool chain parameter (jtimon) 2595b9a Add DefaultMinerThreads chain parameter (jtimon) bfa9a1a Add MineBlocksOnDemand chain parameter (jtimon) 1712adb Add MiningRequiresPeers chain parameter (jtimon)
| * | | | | | | | Use Params().NetworkID() instead of TestNet() from the payment protocoljtimon2014-06-042-2/+13
| | | | | | | | |
| * | | | | | | | net.h was using std namespace through chainparams.h included in protocol.hjtimon2014-06-041-1/+1
| | | | | | | | |
| * | | | | | | | Replace virtual methods with static attributes, chainparams.h depends onjtimon2014-06-045-41/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | protocol.h instead of the other way around
| * | | | | | | | Get rid of TestNet()jtimon2014-06-043-7/+2
| | | | | | | | |
| * | | | | | | | Add RPCisTestNet chain parameterjtimon2014-06-044-2/+5
| | | | | | | | |
| * | | | | | | | Add RequireStandard chain parameterjtimon2014-06-043-2/+6
| | | | | | | | |
| * | | | | | | | Add AllowMinDifficultyBlocks chain parameterjtimon2014-06-044-4/+8
| | | | | | | | |
| * | | | | | | | Move majority constants to chainparamsjtimon2014-06-044-22/+34
| | | | | | | | |
| * | | | | | | | Get rid of RegTest()jtimon2014-06-041-4/+0
| | | | | | | | |
| * | | | | | | | Add DefaultCheckMemPool chain parameterjtimon2014-06-043-1/+5
| | | | | | | | |
| * | | | | | | | Add DefaultMinerThreads chain parameterjtimon2014-06-043-2/+8
| | | | | | | | |
| * | | | | | | | Add MineBlocksOnDemand chain parameterjtimon2014-06-044-4/+7
| | | | | | | | |
| * | | | | | | | Add MiningRequiresPeers chain parameterjtimon2014-06-043-2/+6
| | | | | | | | |
* | | | | | | | | Push cs_mains down in ProcessBlockPieter Wuille2014-06-093-24/+30
| | | | | | | | |
* | | | | | | | | Move all post-chaintip-change notifications to ActivateBestChainPieter Wuille2014-06-091-50/+50
| | | | | | | | |
* | | | | | | | | Allow ActivateBestChain to release its lock on cs_mainPieter Wuille2014-06-091-37/+55
| | | | | | | | |
* | | | | | | | | Get rid of the static chainMostWork (optimization)Pieter Wuille2014-06-092-32/+30
| |_|/ / / / / / |/| | | | | | |
* | | | | | | | Fix compiler warningsDrak2014-06-071-1/+1
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the following compiler warning ``` miner.cpp: In constructor ‘COrphan::COrphan(const CTransaction*)’: miner.cpp:69:14: warning: ‘COrphan::feeRate’ will be initialized after [-Wreorder] CFeeRate feeRate; ^ miner.cpp:68:12: warning: ‘double COrphan::dPriority’ [-Wreorder] double dPriority; ^ miner.cpp:71:5: warning: when initialized here [-Wreorder] COrphan(const CTransaction* ptxIn) : ptx(ptxIn), feeRate(0), dPriority(0) ```
* | | | | | | qt: Periodic translation updateWladimir J. van der Laan2014-06-063-139/+142
| | | | | | |
* | | | | | | estimatefee / estimatepriority RPC methodsGavin Andresen2014-06-0610-13/+481
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New RPC methods: return an estimate of the fee (or priority) a transaction needs to be likely to confirm in a given number of blocks. Mike Hearn created the first version of this method for estimating fees. It works as follows: For transactions that took 1 to N (I picked N=25) blocks to confirm, keep N buckets with at most 100 entries in each recording the fees-per-kilobyte paid by those transactions. (separate buckets are kept for transactions that confirmed because they are high-priority) The buckets are filled as blocks are found, and are saved/restored in a new fee_estiamtes.dat file in the data directory. A few variations on Mike's initial scheme: To estimate the fee needed for a transaction to confirm in X buckets, all of the samples in all of the buckets are used and a median of all of the data is used to make the estimate. For example, imagine 25 buckets each containing the full 100 entries. Those 2,500 samples are sorted, and the estimate of the fee needed to confirm in the very next block is the 50'th-highest-fee-entry in that sorted list; the estimate of the fee needed to confirm in the next two blocks is the 150'th-highest-fee-entry, etc. That algorithm has the nice property that estimates of how much fee you need to pay to get confirmed in block N will always be greater than or equal to the estimate for block N+1. It would clearly be wrong to say "pay 11 uBTC and you'll get confirmed in 3 blocks, but pay 12 uBTC and it will take LONGER". A single block will not contribute more than 10 entries to any one bucket, so a single miner and a large block cannot overwhelm the estimates.
* | | | | | | Type-safe CFeeRate classGavin Andresen2014-06-0616-115/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use CFeeRate instead of an int64_t for quantities that are fee-per-size. Helps prevent unit-conversion mismatches between the wallet, relaying, and mining code.
* | | | | | | Merge pull request #4297Wladimir J. van der Laan2014-06-061-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b917555 qt: PeerTableModel: Fix potential deadlock. #4296 (Ashley Holman)
| * | | | | | | qt: PeerTableModel: Fix potential deadlock. #4296Ashley Holman2014-06-061-2/+2
| | | | | | | |
* | | | | | | | build: fix version dependencyCory Fields2014-06-051-1/+1
| | | | | | | |
* | | | | | | | build: quit abusing AM_CPPFLAGSCory Fields2014-06-054-25/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that the build is non-recursive, adding to AM_CPPFLAGS means adding to _all_ cppflags. Logical groups of includes have been added instead, and are used individually by various targets.