aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* crypter: shuffle Makefile so that crypto can be used by the walletCory Fields2016-05-131-32/+23
| | | | | | | Wallet must come before crypto, otherwise linking fails on some platforms. Includes a tangentially-related general cleanup rather than making the Makefile sloppier.
* crypter: add a BytesToKey clone to replace the use of opensslCory Fields2016-05-132-4/+31
| | | | | BytesToKeySHA512AES should be functionally identical to EVP_BytesToKey, but drops the dependency on openssl.
* crypter: hook up the new aes cbc classesCory Fields2016-05-131-31/+14
|
* crypter: constify encrypt/decryptCory Fields2016-05-132-4/+4
| | | | This makes CCrypter easier to pass aroundf for tests
* crypter: fix the stored initialization vector sizeCory Fields2016-05-132-6/+7
| | | | | | AES IV's are 16bytes, not 32. This was harmless but confusing. Add WALLET_CRYPTO_IV_SIZE to make its usage explicit.
* crypto: add aes cbc testsCory Fields2016-05-131-0/+135
|
* crypto: add AES 128/256 CBC classesCory Fields2016-05-132-0/+196
| | | | | | The output should always match openssl's, even for failed operations. Even for a decrypt with broken padding, the output is always deterministic (and attemtps to be constant-time).
* Add ctaes-based constant time AES implementationPieter Wuille2016-05-134-1/+198
|
* Merge commit 'a545127fbccef4ee674d18d43732ce00ba97f782' as 'src/crypto/ctaes'Pieter Wuille2016-05-116-0/+939
|\
| * Squashed 'src/crypto/ctaes/' content from commit cd3c3acPieter Wuille2016-05-116-0/+939
| | | | | git-subtree-dir: src/crypto/ctaes git-subtree-split: cd3c3ac31fac41cc253bf5780b55ecd8d7368545
* Merge #7972: [qa] pull-tester: Run rpc test in parallelMarcoFalke2016-05-105-21/+121
|\ | | | | | | | | ccccc59 [qa] Add option --portseed to test_framework (MarcoFalke) fa494de [qa] pull-tester: Run rpc test in parallel (MarcoFalke)
| * [qa] Add option --portseed to test_frameworkMarcoFalke2016-05-093-9/+17
| |
| * [qa] pull-tester: Run rpc test in parallelMarcoFalke2016-05-093-13/+105
| |
* | Merge #8028: Fix insanity of CWalletDB::WriteTx and CWalletTx::WriteToDiskWladimir J. van der Laan2016-05-104-18/+10
|\ \ | | | | | | | | | 0fd5997 Fix insanity of CWalletDB::WriteTx and CWalletTx::WriteToDisk (Patrick Strateman)
| * | Fix insanity of CWalletDB::WriteTx and CWalletTx::WriteToDiskPatrick Strateman2016-05-094-18/+10
| | |
* | | Merge #8036: init: Move berkeleydb version reporting to walletWladimir J. van der Laan2016-05-102-5/+1
|\ \ \ | | | | | | | | | | | | 3e2c946 init: Move berkeleydb version reporting to wallet (Wladimir J. van der Laan)
| * | | init: Move berkeleydb version reporting to walletWladimir J. van der Laan2016-05-102-5/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the version reporting to Wallet::Verify, before starting verification of the wallet. This removes the dependency of init on a specific wallet database library. A further, trivial step towards resolving #7965.
* | | Merge #8019: Remove state arg from ReconsiderBlock, rename to ↵Wladimir J. van der Laan2016-05-103-7/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ResetBlockFailureFlags 657e07e Rename ReconsiderBlock func to reflect real behavior (instagibbs) addb9d2 Remove state arg from ReconsiderBlock (instagibbs)
| * | | Rename ReconsiderBlock func to reflect real behaviorinstagibbs2016-05-093-3/+3
| | | |
| * | | Remove state arg from ReconsiderBlockinstagibbs2016-05-063-7/+5
| |/ /
* | | Merge #8016: Fix multithread CScheduler and reenable testWladimir J. van der Laan2016-05-102-2/+1
|\ \ \ | | | | | | | | | | | | | | | | 166e4b0 Notify other serviceQueue thread we are finished to prevent deadlocks. (Pavel Janík) db18ab2 Reenable multithread scheduler test. (Pavel Janík)
| * | | Notify other serviceQueue thread we are finished to prevent deadlocks.Pavel Janík2016-05-061-0/+1
| | | |
| * | | Reenable multithread scheduler test.Pavel Janík2016-05-061-2/+0
| |/ /
* | | Merge #8012: Qt: Delay user confirmation of sendJonas Schnelli2016-05-102-4/+71
|\ \ \ | |_|/ |/| | | | | 3902a29 Qt: Delay user confirmation of send (Tyler Hardin)
| * | Qt: Delay user confirmation of sendTyler Hardin2016-05-092-4/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I made a subclass of QMessageBox that disables the send button in exec() and starts a timer that calls a slot to re-enable it after a configurable delay. It also has a countdown in the send/yes button while it is disabled to hint to the user why the send button is disabled (and that it is actually supposed to be disabled).
* | | Merge #7971: [qa] Refactor test_framework and pull testerMarcoFalke2016-05-095-57/+79
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fad3366 [qa] pull-tester: Adjust comment (MarcoFalke) fafb33c [qa] Stop other nodes, even when one fails to stop (MarcoFalke) 2222dae [qa] Update README.md (MarcoFalke) fabbf6b [qa] Refactor test_framework and pull tester (MarcoFalke)
| * | | [qa] pull-tester: Adjust commentMarcoFalke2016-05-081-2/+1
| | | |
| * | | [qa] Stop other nodes, even when one fails to stopMarcoFalke2016-05-061-2/+9
| | | |
| * | | [qa] Update README.mdMarcoFalke2016-05-061-5/+15
| | | |
| * | | [qa] Refactor test_framework and pull testerMarcoFalke2016-05-064-50/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * log to stdout * increase range for p2p and rpc ports * UPPERCASE_CONSTANTS * Stop nodes on CTRL+C
* | | | Merge #8018: Autofind rpc tests --srcdirMarcoFalke2016-05-091-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | 5ea4508 Autofind rpc tests --srcdir (Jonas Schnelli)
| * | | | Autofind rpc tests --srcdirJonas Schnelli2016-05-091-1/+1
| |/ / /
* | | | Merge #8030: test: Revert fatal-ness of missing python-zmqWladimir J. van der Laan2016-05-091-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | 65fee8e test: Revert fatal-ness of missing python-zmq (Wladimir J. van der Laan)
| * | | | test: Revert fatal-ness of missing python-zmqWladimir J. van der Laan2016-05-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It looks like travis is using the `travis.yml` from the branch, but runs the test script from the branch merged into master. This causes pull requests created before the QA tests python 3 transition to fail. This temporarily reverts fa05e22e919b7e2e816606f0c0d3dea1bd325bfd (#7851). It can be restored when this is no longer an issue.
* | | | | Merge #7958: Remove useless argument to AlertNotify.Wladimir J. van der Laan2016-05-091-9/+6
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | b02119e Remove useless argument to AlertNotify. (Pavel Janík)
| * | | | Remove useless argument to AlertNotify.Pavel Janík2016-04-271-9/+6
| | | | | | | | | | | | | | | | | | | | It is always 'true', so useless.
* | | | | Merge #7976: Remove obsolete reference to CValidationState from UpdateCoins.Wladimir J. van der Laan2016-05-094-9/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | c8b9248 Remove obsolete reference to CValidationState from UpdateCoins. (21E14)
| * | | | | Remove obsolete reference to CValidationState from UpdateCoins.21E142016-04-304-9/+8
| | | | | |
* | | | | | Merge #7934: Improve rolling bloom filter performance and benchmarkWladimir J. van der Laan2016-05-095-27/+77
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | 1953c40 More efficient bitsliced rolling Bloom filter (Pieter Wuille) aa62b68 Benchmark rolling bloom filter (Pieter Wuille)
| * | | | | More efficient bitsliced rolling Bloom filterPieter Wuille2016-04-283-26/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch changes the implementation from one that stores 16 2-bit integers in one uint32_t's, to one that stores the first bit of 64 2-bit integers in one uint64_t and the second bit in another. This allows for 450x faster refreshing and 2.2x faster average speed.
| * | | | | Benchmark rolling bloom filterPieter Wuille2016-04-282-1/+45
| | | | | |
* | | | | | Merge #8009: Docs: Fixed invalid example paths in gitian-building.mdWladimir J. van der Laan2016-05-061-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | b06f6a9 Fixed invalid example paths in gitian-building.md (JeremyRand)
| * | | | | | Fixed invalid example paths in gitian-building.mdJeremyRand2016-05-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The example local paths for "Building fully offline" have an extraneous ".git". This caused an error when trying to run gbuild, like this fatal: '/home/user/bitcoin.git' does not appear to be a git repository fatal: Could not read from remote repository. This commit fixes that.
* | | | | | | Merge #8013: doc: Fedora build requirements, add gcc-c++ and fix typoWladimir J. van der Laan2016-05-061-2/+2
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | b3d18ba doc: Fedora build requirements, add gcc-c++ and fix typo (Warren Togami)
| * | | | | | doc: Fedora build requirements, add gcc-c++ and fix typoWarren Togami2016-05-051-2/+2
| | | | | | |
* | | | | | | Merge #7814: [qa] Switch to py3Wladimir J. van der Laan2016-05-0672-547/+504
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fa389d4 [qa] Switch to py3 (MarcoFalke)
| * | | | | | | [qa] Switch to py3MarcoFalke2016-05-0572-547/+504
| | |/ / / / / | |/| | | | |
* | | | | | | Merge #8011: don't run ThreadMessageHandler at lowered priorityWladimir J. van der Laan2016-05-064-26/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e53e7c5 don't run ThreadMessageHandler at lowered priority (Kaz Wesley)
| * | | | | | | don't run ThreadMessageHandler at lowered priorityKaz Wesley2016-05-054-26/+0
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's no clear reason ThreadMessageHandler should be low priority. Fixes #8010 (priority inversion).
* | | | | | | Merge #7815: Break circular dependency main ↔ txdbWladimir J. van der Laan2016-05-065-89/+87
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | 99e7075 Break circular dependency main ↔ txdb (Wladimir J. van der Laan)