aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Catch errors on datadir lock and pidfile deleteAdam Weiss2015-05-221-4/+14
| | | | | Prevents bad permissions (or other fs related problems) from resulting in hard crashes with cryptic messages on startup and shutdown.
* Merge pull request #5159Wladimir J. van der Laan2015-05-1310-424/+1267
|\ | | | | | | b649e03 Create new BlockPolicyEstimator for fee estimates (Alex Morcos)
| * Create new BlockPolicyEstimator for fee estimatesAlex Morcos2015-05-1310-424/+1267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This class groups transactions that have been confirmed in blocks into buckets, based on either their fee or their priority. Then for each bucket, the class calculates what percentage of the transactions were confirmed within various numbers of blocks. It does this by keeping an exponentially decaying moving history for each bucket and confirm block count of the percentage of transactions in that bucket that were confirmed within that number of blocks. -Eliminate txs which didn't have all inputs available at entry from fee/pri calcs -Add dynamic breakpoints and tracking of confirmation delays in mempool transactions -Remove old CMinerPolicyEstimator and CBlockAverage code -New smartfees.py -Pass a flag to the estimation code, using IsInitialBlockDownload as a proxy for when we are still catching up and we shouldn't be counting how many blocks it takes for transactions to be included. -Add a policyestimator unit test
* | Merge pull request #6123Wladimir J. van der Laan2015-05-121-1/+14
|\ \ | | | | | | | | | bba7c24 Avoid crash on start in TestBlockValidity with gen=1. (Gregory Maxwell)
| * | Avoid crash on start in TestBlockValidity with gen=1.Gregory Maxwell2015-05-121-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | When the internal miner is enabled at the start of a new node, there is an near instant assert in TestBlockValidity because its attempting to mine a block before the top checkpoint. Also avoids a data race around vNodes.
* | | Merge pull request #5932Wladimir J. van der Laan2015-05-122-3/+5
|\ \ \ | | | | | | | | | | | | 107d35b [Qt] add defaultConfirmTarget constant to sendcoinsdialog (Philip Kaufmann)
| * | | [Qt] add defaultConfirmTarget constant to sendcoinsdialogPhilip Kaufmann2015-04-282-3/+5
| | | | | | | | | | | | | | | | | | | | - replaces some hard-coded values for the default confirmation target - also simplify code that is using the new constant
* | | | Merge pull request #6058Wladimir J. van der Laan2015-05-112-0/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 03c5687 appropriate response when trying to get a block in pruned mode (Jonas Schnelli) 1b2e555 add autoprune information to RPC "getblockchaininfo" (Jonas Schnelli)
| * | | | appropriate response when trying to get a block in pruned modeJonas Schnelli2015-05-112-0/+6
| | | | |
| * | | | add autoprune information to RPC "getblockchaininfo"Jonas Schnelli2015-04-261-0/+9
| | | | |
* | | | | Merge pull request #6073Wladimir J. van der Laan2015-05-111-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | a681663 clarify that there are only two nodes (Jameson Lopp)
| * | | | clarify that there are only two nodesJameson Lopp2015-04-271-1/+1
| | | | |
* | | | | Merge pull request #6093Wladimir J. van der Laan2015-05-101-3/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3da7849 [squashme] simplify SetupEnvironment() (by dexX7) (Jonas Schnelli) b3ffcdf don't imbue boost::filesystem::path with locale "C" on windows (Jonas Schnelli)
| * | | | | [squashme] simplify SetupEnvironment() (by dexX7)Jonas Schnelli2015-05-101-5/+5
| | | | | |
| * | | | | don't imbue boost::filesystem::path with locale "C" on windowsJonas Schnelli2015-05-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | fixes https://github.com/bitcoin/bitcoin/issues/6078
* | | | | | Merge pull request #6117Wladimir J. van der Laan2015-05-091-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | a1d0ec4 re-add -reindex help message (Jonas Schnelli)
| * | | | | | re-add -reindex help messageJonas Schnelli2015-05-081-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | was suddenly removed with fc44231cb72afae2fffe0fac64e236a1d33b90e6 (probably not by purpose)
* | | | | | Merge pull request #6112Wladimir J. van der Laan2015-05-072-0/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 1c54757 Add more script edge condition tests. (Dave Collins)
| * | | | | | Add more script edge condition tests.Dave Collins2015-05-062-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds some tests to the script_valid.json and tx_invalid.json data which exercise more edge conditions that are not currently being tested.
* | | | | | | Merge pull request #5958Wladimir J. van der Laan2015-05-072-8/+84
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 231072f [QA] add multisig rpc tests (Jonas Schnelli)
| * | | | | | | [QA] add multisig rpc testsJonas Schnelli2015-05-072-8/+84
| | | | | | | |
* | | | | | | | Merge pull request #6034Wladimir J. van der Laan2015-05-066-28/+28
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | a574899 chaincodes: abstract away more chaincode behavior [squashme] replace struct CCainCode with a typedef uint256 ChainCode (Cory Fields) 8cf1485 Abstract chaincodes into CChainCode (Pieter Wuille)
| * | | | | | | chaincodes: abstract away more chaincode behaviorCory Fields2015-05-066-53/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [squashme] replace struct CCainCode with a typedef uint256 ChainCode
| * | | | | | | Abstract chaincodes into CChainCodePieter Wuille2015-05-024-16/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/key.cpp # src/key.h
* | | | | | | | Merge pull request #5420Wladimir J. van der Laan2015-05-065-26/+414
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6b4feb8 [QA] rest.py RPC test: change setgenerate() to generate() (Jonas Schnelli) 97ee866 [REST] getutxos REST command (based on Bip64) (Jonas Schnelli)
| * | | | | | | | [QA] rest.py RPC test: change setgenerate() to generate()Jonas Schnelli2015-04-212-4/+11
| | | | | | | | |
| * | | | | | | | [REST] getutxos REST command (based on Bip64)Jonas Schnelli2015-04-214-26/+407
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | has parts of @mhearn #4351 * allows querying the utxos over REST * same binary input and outputs as mentioned in Bip64 * input format = output format * various rpc/rest regtests
* | | | | | | | Merge pull request #6047Wladimir J. van der Laan2015-05-0631-492/+1217
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a56054b Update key.cpp to use new libsecp256k1 (Pieter Wuille) a591d98 Squashed 'src/secp256k1/' changes from 1897b8e..22f60a6 (Pieter Wuille)
| * | | | | | | | Update key.cpp to use new libsecp256k1Pieter Wuille2015-05-045-24/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libsecp256k1's API changed, so update key.cpp to use it. Libsecp256k1 now has explicit context objects, which makes it completely thread-safe. In turn, keep an explicit context object in key.cpp, which is explicitly initialized destroyed. This is not really pretty now, but it's more efficient than the static initialized object in key.cpp (which made for example bitcoin-tx slow, as for most of its calls, libsecp256k1 wasn't actually needed). This also brings in the new blinding support in libsecp256k1. By passing in a random seed, temporary variables during the elliptic curve computations are altered, in such a way that if an attacker does not know the blind, observing the internal operations leaks less information about the keys used. This was implemented by Greg Maxwell.
| * | | | | | | | Update libsecp256k1Pieter Wuille2015-04-2226-468/+1154
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| | * | | | | | | Squashed 'src/secp256k1/' changes from 1897b8e..22f60a6Pieter Wuille2015-04-2226-468/+1154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22f60a6 Merge pull request #245 61c1b1e Merge pull request #190 d227579 Add scalar blinding and a secp256k1_context_randomize() call. c146b4a Add bench_internal to gitignore. 9c4fb23 Add a secp256k1_fe_cmov unit test. 426fa52 Merge pull request #243 d505a89 Merge pull request #244 2d2707a travis: test i686 builds with gmp cf7f702 travis: update to new build infrastructure bb0ea50 Replace set/add with cmov in secp256k1_gej_add_ge. f3d3519 Merge pull request #241 5c2a4fa Fix memory leak in context unit test 14aacdc Merge pull request #239 93226a5 secp256k1.c: Add missing DEBUG_CHECKs for sufficiently capable contexts 6099220 Merge pull request #237 6066bb6 Fix typo: avg -> max 9688030 Merge pull request #236 d899b5b Expose ability to deep-copy a context 3608c7f Merge pull request #208 a9b6595 [API BREAK] Introduce explicit contexts a0d3b89 Merge pull request #233 9e8d89b Merge pull request #234 65e70e7 Merge pull request #235 5098f62 Improve documentation formatting consistency 4450e24 Add a comment about the avoidance of secret data in array indexes. 6534ee1 initialize variable d5b53aa Merge pull request #232 c01df1a Avoid some implicit type conversions to make C++ compilers happy. bfe96ba Merge pull request #231 33270bf Add a couple comments pointing to particular sections of RFC6979. 41603aa Merge pull request #230 2632019 Brace all the if/for/while. git-subtree-dir: src/secp256k1 git-subtree-split: 22f60a62801a8a49ecd049e7a563f69a41affd8d
* | | | | | | | | Merge pull request #6055Wladimir J. van der Laan2015-05-0612-117/+103
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a8cdaf5 checkpoints: move the checkpoints enable boolean into main (Cory Fields) 11982d3 checkpoints: Decouple checkpoints from Params (Cory Fields) 6996823 checkpoints: make checkpoints a member of CChainParams (Cory Fields) 9f13a10 checkpoints: store mapCheckpoints in CCheckpointData rather than a pointer (Cory Fields)
| * | | | | | | | checkpoints: move the checkpoints enable boolean into mainCory Fields2015-04-306-27/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pertains to app-state, so it doesn't make sense to handle inside the checkpoint functions.
| * | | | | | | | checkpoints: Decouple checkpoints from ParamsCory Fields2015-04-307-37/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass checkpoint data in as necessary
| * | | | | | | | checkpoints: make checkpoints a member of CChainParamsCory Fields2015-04-302-58/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This drops the virtual call and simplifies the logic
| * | | | | | | | checkpoints: store mapCheckpoints in CCheckpointData rather than a pointerCory Fields2015-04-303-7/+7
| | | | | | | | |
* | | | | | | | | Merge pull request #5937Wladimir J. van der Laan2015-05-053-8/+149
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a71ab10 QA: add RPC tests for error reporting of "signrawtransaction" (dexX7) 8ac2a4e RPC: show script verification errors in "signrawtransaction" result (dexX7)
| * | | | | | | | | QA: add RPC tests for error reporting of "signrawtransaction"dexX72015-05-052-1/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests error reporting of transaction signing via RPC call "signrawtransaction". Expected results: Test 1: create and sign a valid raw transaction with one input: - 1) The transaction has a complete set of signatures - 2) No script verification error occurred Test 2: create and sign a raw transaction with one valid, one invalid and one missing input script: - 3) The transaction has no complete set of signatures - 4) Two script verification errors occurred - 5) Script verification errors have certain properties ("txid", "vout", "scriptSig", "sequence", "error") - 6) The verification errors refer to the invalid (vin 1) and missing input (vin 2)
| * | | | | | | | | RPC: show script verification errors in "signrawtransaction" resultdexX72015-05-051-7/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there are any script verification errors, when using "signrawtransaction", they are shown in the RPC result: ``` // ... Result: { "hex" : "value", (string) The hex-encoded raw transaction with signature(s) "complete" : true|false, (boolean) If the transaction has a complete set of signatures "errors" : [ (json array of objects) Script verification errors (if there are any) { "txid" : "hash", (string) The hash of the referenced, previous transaction "vout" : n, (numeric) The index of the output to spent and used as input "scriptSig" : "hex", (string) The hex-encoded signature script "sequence" : n, (numeric) Script sequence number "error" : "text" (string) Verification or signing error related to the input } ,... ] } ```
* | | | | | | | | | Merge pull request #6080Wladimir J. van der Laan2015-05-051-0/+1
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | 1a0259f add jonasschnellis dns seeder (Jonas Schnelli)
| * | | | | | | | | add jonasschnellis dns seederJonas Schnelli2015-04-291-0/+1
| | | | | | | | | |
* | | | | | | | | | Merge pull request #6105Wladimir J. van der Laan2015-05-053-2/+4
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 00ea546 build: quiet the exe-installer output (Cory Fields) cc602d0 travis: don't spew fixme messages when running wine tests (Cory Fields) c1149f7 build: if there's no recent git tag, don't spew error messages (Cory Fields)
| * | | | | | | | | | build: quiet the exe-installer outputCory Fields2015-05-041-1/+2
| | | | | | | | | | |
| * | | | | | | | | | travis: don't spew fixme messages when running wine testsCory Fields2015-05-041-0/+1
| | | | | | | | | | |
| * | | | | | | | | | build: if there's no recent git tag, don't spew error messagesCory Fields2015-05-041-1/+1
| | | | | | | | | | |
* | | | | | | | | | | qt: update translations from Transifex - first run for 0.11Wladimir J. van der Laan2015-05-0564-6987/+3211
| | | | | | | | | | |
* | | | | | | | | | | trivial: Merge pruning help message after Transifex commentWladimir J. van der Laan2015-05-043-62/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The prune help message was broken in nonsensical parts. Merge it into one, this is easier for translators. Reported by yahoe.001 on transifex.
* | | | | | | | | | | Merge pull request #6104Wladimir J. van der Laan2015-05-041-0/+1
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | 0414045 Show an init message while activating best chain (Wladimir J. van der Laan)
| * | | | | | | | | | Show an init message while activating best chainWladimir J. van der Laan2015-05-041-0/+1
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Connecting the chain can take quite a while. All the while it is still showing `Loading wallet...`. Add an init message to inform the user what is happening.
* | | | | | | | | | Merge pull request #5418Wladimir J. van der Laan2015-05-043-3/+78
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bba2216 RPC test for "#5418 Report missing inputs in sendrawtransaction" (Jonas Schnelli) de8e801 Report missing inputs in sendrawtransaction (Pieter Wuille)