aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | 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.
* | | | | | | | | | | build: avoid the use of top_ and abs_ dir pathsCory Fields2014-06-055-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using them has the side effect of confusing the dependency-tracking logic.
* | | | | | | | | | | build: Tidy up file generation outputCory Fields2014-06-052-24/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | | | | | | | | build: nuke Makefile.include from orbitCory Fields2014-06-054-83/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rules and targets no longer need to be shared between subdirectories, so this is no longer needed.
* | | | | | | | | | | build: add stub makefiles for easier subdir buildsCory Fields2014-06-053-0/+21
| | | | | | | | | | |
* | | | | | | | | | | build: delete old Makefile.am'sCory Fields2014-06-053-505/+0
| | | | | | | | | | |
* | | | | | | | | | | build: Switch to non-recursive makeCory Fields2014-06-055-18/+546
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build logic moves from individual Makefile.am's to include files, which the main src/Makefile.am includes. This avoids having to manage a gigantic single Makefile. TODO: Move the rules from the old Makefile.include to where they actually belong and nuke the old file.
* | | | | | | | | | | Remove global strWalletFileWladimir J. van der Laan2014-06-052-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As it says on the tin. There is no need to have this variable be global, it's only used in AppInit2.
* | | | | | | | | | | Fix GUI build with `--disable-wallet`Wladimir J. van der Laan2014-06-052-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe6bff2 and 65f78a1 broke it. Minor build changes.
* | | | | | | | | | | Merge pull request #4291Wladimir J. van der Laan2014-06-052-18/+52
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe6bff2 [Qt] add BerkeleyDB version info to RPCConsole (Philip Kaufmann)
| * | | | | | | | | | | [Qt] add BerkeleyDB version info to RPCConsolePhilip Kaufmann2014-06-042-18/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - to match info function between debug.log and RPCConsole
* | | | | | | | | | | | Merge pull request #4287 from laanwj/2014_06_sideeffectGavin Andresen2014-06-041-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Remove side effect in assertion in ProcessGetData
| * | | | | | | | | | | | Remove side effect in assertion in ProcessGetDataWladimir J. van der Laan2014-06-041-1/+2
| | |_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A side-effect was introduced into an assertion in 7a0e84d. This commit fixes that.
* | | | | | | | | | | | log used config file to debug.log on startupPhilip Kaufmann2014-06-041-0/+1
| |/ / / / / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | Merge pull request #4282 from jgarzik/fix-wallet-initJeff Garzik2014-06-041-11/+10
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | CWallet: fix nTimeFirstKey init, by making constructor init common code
| * | | | | | | | | | | CWallet: fix nTimeFirstKey init, by making constructor init common codeJeff Garzik2014-06-031-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't repeat yourself etc.
* | | | | | | | | | | | Merge pull request #4247 from Diapolo/listenJeff Garzik2014-06-046-7/+7
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | rename fNoListen to fListen and move to net
| * | | | | | | | | | | | rename fNoListen to fListen and move to netPhilip Kaufmann2014-05-296-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - better code readability and it belongs to net - this is a prerequisite for a pull to add -listen to the GUI
* | | | | | | | | | | | | Merge pull request #4258Wladimir J. van der Laan2014-06-043-3/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7b45d94 Make max number of orphan blocks kept in memory a startup parameter (fixes #4253) (shshshsh)
| * | | | | | | | | | | | | Make max number of orphan blocks kept in memory a startup parameter (fixes ↵shshshsh2014-06-043-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #4253)
* | | | | | | | | | | | | | Merge pull request #4260Wladimir J. van der Laan2014-06-041-6/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | aab2c0f Remove template matching params from GetOpName() (Huang Le)
| * | | | | | | | | | | | | Remove template matching params from GetOpName()Huang Le2014-05-311-6/+5
| |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since they are not real opcodes, being reported as OP_UNKNOWN is less confusing for human-readable decoding. Signed-off-by: Huang Le <[email protected]>
* | | | | | | | | | | | | Merge pull request #4223Wladimir J. van der Laan2014-06-0410-5/+74
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | 06a91d9 VerifyDB progress (Cozz Lovan)
| * | | | | | | | | | | | VerifyDB progressCozz Lovan2014-06-0310-5/+74
| | | | | | | | | | | | |
* | | | | | | | | | | | | [Qt] style police and small addition in rpcconsolePhilip Kaufmann2014-06-0310-21/+26
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix spaces, indentation and coding style glitches
* | | | | | | | | | | | Merge pull request #4225Wladimir J. van der Laan2014-06-0310-12/+870
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | 65f78a1 Qt: Add GUI view of peer information. #4133 (Ashley Holman)
| * | | | | | | | | | | Qt: Add GUI view of peer information. #4133Ashley Holman2014-06-0310-12/+870
| | | | | | | | | | | |
* | | | | | | | | | | | Properly initialize CWallet::nTimeFirstKeytm3141592014-06-021-0/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #3837Wladimir J. van der Laan2014-06-021-0/+87
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | 75ebced added many rpc wallet tests (Alon Muroch)
| * | | | | | | | | | | added many rpc wallet testsAlon Muroch2014-04-011-0/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | deleted the empty no throw test in rpc_wallet_tests line 65 fixed some comments starting verify tests finished verify message tests changed some comments
* | | | | | | | | | | | Merge pull request #3683Wladimir J. van der Laan2014-06-022-41/+62
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bdc83e8 [Qt] ensure payment request network matches client network (Philip Kaufmann)
| * | | | | | | | | | | | [Qt] ensure payment request network matches client networkPhilip Kaufmann2014-05-062-41/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - replaces checks in SendCoinsDialog::handlePaymentRequest() that belong to PaymentServer (normal URIs are special cased, as only an isValid check is done on BTC addresses) - prevents the client to handle payment requests that do not match the clients network and shows an error instead (mainly a problem with drag&drop payment requests onto the client window) - includes some small comment changes also
* | | | | | | | | | | | | Merge pull request #4213Wladimir J. van der Laan2014-06-021-2/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 516053c Make links on 'About Bitcoin Core' into clickable (squashed 5 comits into one) (Tawanda Kembo)
| * | | | | | | | | | | | | Make links on 'About Bitcoin Core' into clickable (squashed 5 comits into one)Tawanda Kembo2014-06-021-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made the following links clickable: http://www.opensource.org/licenses/mit-license.php http://www.openssl.org/ [email protected] (Squashed commits into one commit as suggested by @laanwj) Replaced label with text browser on About Bitcoin Core Screen So that the links on the About screen can be clickable Replaced html property with text property I have now removed unnecessary html so this should make life easier for translators and you @Diapolo :). What do you think? The size of the window needs to change The size of the window needs to change when you make links clickable. Thanks for pointing that out @laanwj Using the https://www.openssl.org over the http link Using the https://www.openssl.org over the http link as suggested by @Diapolo
* | | | | | | | | | | | | | Merge pull request #4238Wladimir J. van der Laan2014-06-023-22/+16
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b90711c [Qt] Fix Transaction details shows wrong To: (Cozz Lovan)
| * | | | | | | | | | | | | | [Qt] Fix Transaction details shows wrong To:Cozz Lovan2014-05-283-22/+16
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge pull request #4261Wladimir J. van der Laan2014-06-021-6/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09a54a6 Use pnode->nLastRecv as sync score directly (Huang Le)
| * | | | | | | | | | | | | | | Use pnode->nLastRecv as sync score directlyHuang Le2014-05-301-6/+6
| | |_|_|_|_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NodeSyncScore() should find the node which we recv data most recently, so put a negative sign to pnode->nLastRecv is indeed wrong. Also change the return value type to int64_t. Signed-off-by: Huang Le <[email protected]>
* | | | | | | | | | | | | | | Merge pull request #4268Wladimir J. van der Laan2014-06-021-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 223a6f7 Fix stray uppercase A in tx_valid.json. (Andreas Schildbach)
| * | | | | | | | | | | | | | | Fix stray uppercase A in tx_valid.json.Andreas Schildbach2014-06-011-1/+1
| | | | | | | | | | | | | | | |