aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-04Update key.cpp to use new libsecp256k1Pieter Wuille
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.
2015-04-22Update libsecp256k1Pieter Wuille
2015-04-22Squashed 'src/secp256k1/' changes from 1897b8e..22f60a6Pieter Wuille
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
2015-04-20Merge pull request #5911Wladimir J. van der Laan
6be3562 rpc-tests: Add proxy test (Wladimir J. van der Laan) 67a7949 privacy: Stream isolation for Tor (Wladimir J. van der Laan)
2015-04-20rpc-tests: Add proxy testWladimir J. van der Laan
Add test for -proxy, -onion and -proxyrandomize.
2015-04-20Merge pull request #6029Wladimir J. van der Laan
a784f90 Cap nAttempts penalty at 8 and switch to pow instead of a division loop. (Gregory Maxwell)
2015-04-20Merge pull request #6010Wladimir J. van der Laan
c1ecee8 Set nSequenceId when a block is fully linked (Suhas Daftuar)
2015-04-20Merge pull request #6004Wladimir J. van der Laan
c6de7c3 trivial string change in wallet.cpp (the -> that) (Philip Kaufmann) 1e3473d Add operator names to DNS Seed list (Michael Ford) a21df62 ensure consistent header comment naming conventions (Philip Kaufmann) 9e16cb1 Make 'Default: %u' spacing consistent in help message (Wladimir J. van der Laan) 6cb37a3 [Qt, Trivial] remove two unneeded includes of wallet/db.h (Philip Kaufmann) 68f795e [Qt, Trivial] fix header groupings + space, intdentation fixes (Philip Kaufmann) 985ec17 [Qt, Trivial] misc minor string changes (Philip Kaufmann) c0555dc depends: latest config.guess and config.sub (Michael Ford) 89fc6b6 Remove leftover strlcpy.h copyright (Rob Van Mieghem) 468aa3b Re-wrote a passage of text that was difficult to understand. (Jason Lewicki) 71ad6bd [Trivial] format sync.h (Philip Kaufmann) abcec30 Update REST URL to match reality (paveljanik) 447d37e Use https link to bitcoin.org in Doxygen intro (Michael Ford) c069234 Fix typo in init.cpp interpration/interpretation (Michael Ford) 52070c8 Removed '()' where used without contents inside (Nicolas Benoit) 30c1db1 Replaced current function names with __func__ in LogPrintf() calls. (Nicolas Benoit) 9bdd03f Point to the Debian 7.8 installer (Michael Ford) 0b2f930 Fix docs for 'complete' field in 'signrawtransaction' response (charlescharles) c2f2161 Add x86_64* i686* mips* and arm* to depends .gitignore (Michael Ford) fa535f9 Remove folder and images for bootstrap.md (sandakersmann) 60c1469 [Qt] header group cleanup (Philip Kaufmann)
2015-04-20trivial string change in wallet.cpp (the -> that)Philip Kaufmann
2015-04-20Add operator names to DNS Seed listMichael Ford
2015-04-20ensure consistent header comment naming conventionsPhilip Kaufmann
- BITCOIN_FOLDER_SUBFOLDER_FILENAME_H
2015-04-20Make 'Default: %u' spacing consistent in help messageWladimir J. van der Laan
Comment by pryds on Transifex.
2015-04-20[Qt, Trivial] remove two unneeded includes of wallet/db.hPhilip Kaufmann
2015-04-20[Qt, Trivial] fix header groupings + space, intdentation fixesPhilip Kaufmann
2015-04-20[Qt, Trivial] misc minor string changesPhilip Kaufmann
- write "Bitcoins" uppercase - replace secure/insecure for payment requests with authenticated/unauthenticated - change a translatable string for payment request expiry to match another existing string to only get ONE resulting string to translate
2015-04-20depends: latest config.guess and config.subMichael Ford
2015-04-20Remove leftover strlcpy.h copyrightRob Van Mieghem
src/strlcpy.h was removed by https://github.com/bitcoin/bitcoin/commit/6032e4f4e7c1892a4e3f0a1a2007e4cd0fe99937
2015-04-20Re-wrote a passage of text that was difficult to understand.Jason Lewicki
2015-04-20[Trivial] format sync.hPhilip Kaufmann
2015-04-20Update REST URL to match realitypaveljanik
2015-04-20 Use https link to bitcoin.org in Doxygen introMichael Ford
2015-04-20Fix typo in init.cpp interpration/interpretationMichael Ford
2015-04-20Removed '()' where used without contents insideNicolas Benoit
This additional patch removes '()' from current function name in LogPrintf output.
2015-04-20Replaced current function names with __func__ in LogPrintf() calls.Nicolas Benoit
2015-04-20Point to the Debian 7.8 installerMichael Ford
Link to 7.7 is broken.
2015-04-20Fix docs for 'complete' field in 'signrawtransaction' responsecharlescharles
2015-04-20Add x86_64* i686* mips* and arm* to depends .gitignoreMichael Ford
2015-04-20Remove folder and images for bootstrap.mdsandakersmann
2015-04-20[Qt] header group cleanupPhilip Kaufmann
- seperate core from GUI headers where this was missing - remove an unneeded new-line
2015-04-20Merge pull request #6020Wladimir J. van der Laan
30c43d9 miner.h: fix clang warning because of class/struct mix (Jonas Schnelli)
2015-04-19Cap nAttempts penalty at 8 and switch to pow instead of a division loop.Gregory Maxwell
On hosts that had spent some time with a failed internet connection their nAttempts penalty was going through the roof (e.g. thousands for all peers) and as a result the connect search was pegging the CPU and failing to get more than a 4 connections after days of running (because it was taking so long per try).
2015-04-17privacy: Stream isolation for TorWladimir J. van der Laan
According to Tor's extensions to the SOCKS protocol (https://gitweb.torproject.org/torspec.git/tree/socks-extensions.txt) it is possible to perform stream isolation by providing authentication to the proxy. Each set of credentials will create a new circuit, which makes it harder to correlate connections. This patch adds an option, `-proxyrandomize` (on by default) that randomizes credentials for every outgoing connection, thus creating a new circuit. 2015-03-16 15:29:59 SOCKS5 Sending proxy authentication 3842137544:3256031132
2015-04-16Merge pull request #6012Wladimir J. van der Laan
0421c18 Fix CheckBlockIndex for reindex. (mrbandrews)
2015-04-16miner.h: fix clang warning because of class/struct mixJonas Schnelli
- class 'Params' was previously declared as a struct
2015-04-15Merge pull request #5467Wladimir J. van der Laan
6171e49 [Qt] Use identical strings for expired payment request message (Philip Kaufmann) 06087bd [Qt] minor comment updates in PaymentServer (Philip Kaufmann) 35d1595 [Qt] constify first parameter of processPaymentRequest() (Philip Kaufmann) 9b14aef [Qt] take care of a missing typecast in PaymentRequestPlus::getMerchant() (Philip Kaufmann) d19ae3c [Qt] remove unused PaymentRequestPlus::getPKIType function (Philip Kaufmann) 6e17a74 [Qt] paymentserver: better logging of invalid certs (Philip Kaufmann) 5a53d7c [Qt] paymentserver: do not log NULL certificates (Philip Kaufmann)
2015-04-15Merge pull request #5998Wladimir J. van der Laan
bebe728 Chainparams: Refactor: Remove redundant AllowMinDifficultyBlocks() getter (Jorge Timón)
2015-04-15[Qt] Use identical strings for expired payment request messagePhilip Kaufmann
- used in sendcoinsdialog.cpp and paymentserver.cpp - removes an unneded translation string
2015-04-15[Qt] minor comment updates in PaymentServerPhilip Kaufmann
2015-04-15[Qt] constify first parameter of processPaymentRequest()Philip Kaufmann
2015-04-15[Qt] take care of a missing typecast in PaymentRequestPlus::getMerchant()Philip Kaufmann
2015-04-15[Qt] remove unused PaymentRequestPlus::getPKIType functionPhilip Kaufmann
2015-04-15[Qt] paymentserver: better logging of invalid certsPhilip Kaufmann
Before and after was tested in Windows: before: GUI: ReportInvalidCertificate : Payment server found an invalid certificate: ("Microsoft Authenticode(tm) Root Authority") GUI: ReportInvalidCertificate : Payment server found an invalid certificate: () GUI: ReportInvalidCertificate : Payment server found an invalid certificate: () GUI: ReportInvalidCertificate : Payment server found an invalid certificate: () after: GUI: ReportInvalidCertificate: Payment server found an invalid certificate: "01" ("Microsoft Authenticode(tm) Root Authority") () () GUI: ReportInvalidCertificate: Payment server found an invalid certificate: "01" () () ("Copyright (c) 1997 Microsoft Corp.", "Microsoft Time Stamping Service Root", "Microsoft Corporation") GUI: ReportInvalidCertificate: Payment server found an invalid certificate: "4a:19:d2:38:8c:82:59:1c:a5:5d:73:5f:15:5d:dc:a3" () () ("NO LIABILITY ACCEPTED, (c)97 VeriSign, Inc.", "VeriSign Time Stamping Service Root", "VeriSign, Inc.") GUI: ReportInvalidCertificate: Payment server found an invalid certificate: "e4:9e:fd:f3:3a:e8:0e:cf:a5:11:3e:19:a4:24:02:32" () () ("Class 3 Public Primary Certification Authority")
2015-04-15[Qt] paymentserver: do not log NULL certificatesPhilip Kaufmann
- also add a few more comments in PaymentServer::LoadRootCAs
2015-04-15Chainparams: Refactor: Remove redundant AllowMinDifficultyBlocks() getterJorge Timón
2015-04-15Merge pull request #5997Wladimir J. van der Laan
4e38217 Chainparams: Refactor: Remove redundant HashGenesisBlock() getter (Jorge Timón)
2015-04-15Merge pull request #5999Wladimir J. van der Laan
e8e8904 Chainparams: Cleanup: Delete CChainParams getters to attributes from Consensus::Params (Jorge Timón)
2015-04-15Merge pull request #5992Wladimir J. van der Laan
ea9e82d [squashme] fix listunspent code indentation (Jonas Schnelli) b9fb692 Push down RPC reqWallet flag (Jonas Schnelli) 0b9dc9c [move] move listunspent to wallet/rpcwallet.cpp (Jonas Schnelli)
2015-04-14Fix CheckBlockIndex for reindex.mrbandrews
Some tests in CheckBlockIndex require chainActive.Tip(), but when reindexing, chainActive has not been set on the first call to CheckBlockIndex. reindex.py starts a node, mines 3 blocks, stops, and reindexes with CheckBlockIndex enabled.
2015-04-14Set nSequenceId when a block is fully linkedSuhas Daftuar
Also adds a test to CheckBlockIndex
2015-04-14Merge pull request #6007Wladimir J. van der Laan
eb63bf8 Fix missing lock in submitblock (Matt Corallo)