aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Enable block relay when pruningSuhas Daftuar2015-06-171-3/+1
|
* Do not inv old or missing blocks when pruningSuhas Daftuar2015-06-171-0/+8
| | | | | | When responding to a getblocks message, only return inv's as long as we HAVE_DATA for blocks in the chain, and only for blocks that we aren't likely to delete in the near future.
* 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 #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
* | | | 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 #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-063-18/+229
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 6b4feb8 [QA] rest.py RPC test: change setgenerate() to generate() (Jonas Schnelli) 97ee866 [REST] getutxos REST command (based on Bip64) (Jonas Schnelli)
| * | | | [REST] getutxos REST command (based on Bip64)Jonas Schnelli2015-04-213-18/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2223-412/+1018
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-051-7/+38
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a71ab10 QA: add RPC tests for error reporting of "signrawtransaction" (dexX7) 8ac2a4e RPC: show script verification errors in "signrawtransaction" result (dexX7)
| * | | | | | | 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
| | | | | | | |
* | | | | | | | 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.
* | | | | | | | 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-041-3/+8
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bba2216 RPC test for "#5418 Report missing inputs in sendrawtransaction" (Jonas Schnelli) de8e801 Report missing inputs in sendrawtransaction (Pieter Wuille)
| * | | | | | | | Report missing inputs in sendrawtransactionPieter Wuille2015-04-281-3/+8
| | | | | | | | |
* | | | | | | | | qt: fix numerusform in English translationWladimir J. van der Laan2015-05-042-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ref: transifex issue https://www.transifex.com/projects/p/bitcoin/translate/#da/qt-translation-011x/c/47723791
* | | | | | | | | Merge pull request #6086Wladimir J. van der Laan2015-05-041-2/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3c09ba Trivial: useless cast (ptime)(I'm ptime) (svost)
| * | | | | | | | | Trivial: useless cast (ptime)(I'm ptime)svost2015-04-301-2/+2
| | |_|/ / / / / / | |/| | | | | | |
* | | | | | | | | qt: English translation update before enabling translation for 0.11Wladimir J. van der Laan2015-05-042-57/+57
| | | | | | | | |
* | | | | | | | | Merge pull request #6085Wladimir J. van der Laan2015-05-0423-80/+83
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | b05a89b Non-grammatical language improvements (Luke Dashjr) 7e6d23b Bugfix: Grammar fixes (Corinne Dashjr)
| * | | | | | | | Non-grammatical language improvementsLuke Dashjr2015-05-029-28/+31
| | | | | | | | |
| * | | | | | | | Bugfix: Grammar fixesCorinne Dashjr2015-05-0118-53/+53
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | Better mruset unit testPieter Wuille2015-04-301-72/+54
| | | | | | | |
* | | | | | | | Use ring buffer of set iterators instead of deque of copies in mrusetPieter Wuille2015-04-303-23/+21
| | | | | | | |
* | | | | | | | Replace mruset setAddrKnown with CRollingBloomFilter addrKnownGavin Andresen2015-04-303-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a probabilistic bloom filter to keep track of which addresses we think we have given our peers, instead of a list. This uses much less memory, at the cost of sometimes failing to relay an address to a peer-- worst case if the bloom filter happens to be as full as it gets, 1-in-1,000. Measured memory usage of a full mruset setAddrKnown: 650Kbytes Constant memory usage of CRollingBloomFilter addrKnown: 37Kbytes. This will also help heap fragmentation, because the 37K of storage is allocated when a CNode is created (when a connection to a peer is established) and then there is no per-item-remembered memory allocation. I plan on testing by restarting a full node with an empty peers.dat, running a while with -debug=addrman and -debug=net, and making sure that the 'addr' message traffic out is reasonable. (suggestions for better tests welcome)
* | | | | | | | Rolling bloom filter classGavin Andresen2015-04-303-16/+173
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For when you need to keep track of the last N items you've seen, and can tolerate some false-positives. Rebased-by: Pieter Wuille <[email protected]>
* | | | | | | Merge pull request #6022Wladimir J. van der Laan2015-04-3011-23/+24
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b74dcb3 Separate CTranslationInterface from CClientUIInterface (Jorge Timón)