aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-12Add 'about' information to `-version` outputWladimir J. van der Laan
Adds a copyright and attribution message to the `-version` output (the same as shown in the About dialog in the GUI). Move the message to a function LicenseInfo in init.cpp.
2014-06-11util: Add function FormatParagraph to format paragraph to fixed-widthWladimir J. van der Laan
This is to be used for the `-version` and `-help` messages.
2014-06-11Add `-version` option to get just the versionWladimir J. van der Laan
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.
2014-06-11Merge pull request #4227Wladimir J. van der Laan
634bd61 convert an if into an else if in OpenNetworkConnection() (Philip Kaufmann) 5bd6c31 small cleanup of net (Philip Kaufmann)
2014-06-11convert an if into an else if in OpenNetworkConnection()Philip Kaufmann
2014-06-11small cleanup of netPhilip Kaufmann
- 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
2014-06-11Merge pull request #4290Wladimir J. van der Laan
56b07d2 [Qt] allow setting listen via GUI (Philip Kaufmann)
2014-06-11[Qt] allow setting listen via GUIPhilip Kaufmann
- 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()!
2014-06-11Merge pull request #4170Wladimir J. van der Laan
ac14bcc small formatting, indentation and comment fixes (Philip Kaufmann)
2014-06-11Merge pull request #4277Wladimir J. van der Laan
4a09e1d key.cpp: fail with a friendlier message on missing ssl EC support (Andrew Poelstra)
2014-06-11Merge pull request #4321Wladimir J. van der Laan
699fe63 remove wrong ; in chainparams.h and order includes (Philip Kaufmann)
2014-06-11Merge pull request #4322Wladimir J. van der Laan
77a055d build: Add a top-level forwarding target for src/* objects (Cory Fields)
2014-06-11Merge pull request #4323Wladimir J. van der Laan
38e324a build: qt: split locale resources. Fixes non-deterministic distcheck (Cory Fields)
2014-06-11Merge pull request #4319Wladimir J. van der Laan
1c24187 remove unused UPnP code from main.h (Philip Kaufmann)
2014-06-11Merge pull request #4317Wladimir J. van der Laan
68ba85f Updated Debian example bitcoin.conf with config from wiki + removed some cruft and updated comments (Giuseppe Mazzotta)
2014-06-11Updated Debian example bitcoin.conf with config from wiki + removed some ↵Giuseppe Mazzotta
cruft and updated comments
2014-06-10build: Add a top-level forwarding target for src/* objectsCory Fields
Fixes #3955. It's hackish, but seems to always function as expected. Examples: make src/bitcoind make src/qt/bitcoin-qt make src/libbitcoin.a
2014-06-10build: qt: split locale resources. Fixes non-deterministic distcheckCory Fields
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.
2014-06-10remove wrong ; in chainparams.h and order includesPhilip Kaufmann
2014-06-10remove unused UPnP code from main.hPhilip Kaufmann
2014-06-10small formatting, indentation and comment fixesPhilip Kaufmann
- contains zero code changes
2014-06-10Merge pull request #4318 from laanwj/2014_06_script_unused_debuggingJeff Garzik
Remove unused Print/PrintHex functions
2014-06-10Remove unused Print/PrintHex functionsWladimir J. van der Laan
You can just use HexStr(script) or script.ToString() for debugging, no need for these extra functions.
2014-06-10Merge pull request #4305Wladimir J. van der Laan
95a9383 [Qt] Remove CENT-fee-rule from coin control completely (Cozz Lovan)
2014-06-09Merge pull request #4300Wladimir J. van der Laan
dff0e3b [Qt] Improve rpc console history behavior (Cozz Lovan)
2014-06-09Merge pull request #3824Wladimir J. van der Laan
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)
2014-06-09Merge pull request #4148Wladimir J. van der Laan
18e7216 Push cs_mains down in ProcessBlock (Pieter Wuille) 202e019 Move all post-chaintip-change notifications to ActivateBestChain (Pieter Wuille) 4e0eed8 Allow ActivateBestChain to release its lock on cs_main (Pieter Wuille) 77339e5 Get rid of the static chainMostWork (optimization) (Pieter Wuille)
2014-06-09Push cs_mains down in ProcessBlockPieter Wuille
2014-06-09Move all post-chaintip-change notifications to ActivateBestChainPieter Wuille
2014-06-09Allow ActivateBestChain to release its lock on cs_mainPieter Wuille
2014-06-09Get rid of the static chainMostWork (optimization)Pieter Wuille
2014-06-08Merge pull request #4307Wladimir J. van der Laan
16be392 Update translation_process.md (sandakersmann)
2014-06-08Update translation_process.mdsandakersmann
Qt changed to Bitcoin Core
2014-06-08[Qt] Remove CENT-fee-rule from coin control completelyCozz Lovan
2014-06-07Merge pull request #4304Wladimir J. van der Laan
02bec4b Fix compiler warnings (Drak)
2014-06-07Fix compiler warningsDrak
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) ```
2014-06-07[Qt] Improve rpc console history behaviorCozz Lovan
2014-06-06qt: Periodic translation updateWladimir J. van der Laan
2014-06-06Merge pull request #4295Wladimir J. van der Laan
6e7c4d1 gitian: upgrade OpenSSL to 1.0.1h (Wladimir J. van der Laan)
2014-06-06Merge pull request #3959Wladimir J. van der Laan
171ca77 estimatefee / estimatepriority RPC methods (Gavin Andresen) 0193fb8 Allow multiple regression tests to run at once (Gavin Andresen) c6cb21d Type-safe CFeeRate class (Gavin Andresen)
2014-06-06estimatefee / estimatepriority RPC methodsGavin Andresen
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.
2014-06-06Allow multiple regression tests to run at onceGavin Andresen
Choose ports at startup based on PID, so multiple regression tests can run on the same system at the same time.
2014-06-06Type-safe CFeeRate classGavin Andresen
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.
2014-06-06Merge pull request #4297Wladimir J. van der Laan
b917555 qt: PeerTableModel: Fix potential deadlock. #4296 (Ashley Holman)
2014-06-06qt: PeerTableModel: Fix potential deadlock. #4296Ashley Holman
2014-06-06Merge pull request #4241Wladimir J. van der Laan
efe6888 build: fix version dependency (Cory Fields) f4d8112 build: quit abusing AM_CPPFLAGS (Cory Fields) 56c157d build: avoid the use of top_ and abs_ dir paths (Cory Fields) 70c71c5 build: Tidy up file generation output (Cory Fields) 6b9f0d5 build: nuke Makefile.include from orbit (Cory Fields) 8b09ef7 build: add stub makefiles for easier subdir builds (Cory Fields) be4e9ae build: delete old Makefile.am's (Cory Fields) 65e8ba4 build: Switch to non-recursive make (Cory Fields)
2014-06-05build: fix version dependencyCory Fields
2014-06-05build: quit abusing AM_CPPFLAGSCory Fields
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.
2014-06-05build: avoid the use of top_ and abs_ dir pathsCory Fields
Using them has the side effect of confusing the dependency-tracking logic.
2014-06-05build: Tidy up file generation outputCory Fields
- Some file generation was still noisy, silence it. - AM_V_GEN is used rather than @ so that 'make V=1' works as intended - Cut down on file copies and moves when using sed, use pipes instead - Avoid the use of top_ and abs_ dirs where possible