aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-05-16Acquire lock to check for genesis block.Patrick Strateman
2016-05-16Move BackupWallet to CWallet::BackupWalletPatrick Strateman
2016-05-16Move GetAccountBalance from rpcwallet.cpp into CWallet::GetAccountBalancePatrick Strateman
2016-05-17Merge #7994: Add op csv tests to script_tests.jsonPieter Wuille
10e83d7 Adding basic tests for OP_CSV inside of script_tests.json (Chris Stewart)
2016-05-17Report reindexing progress in GUIPieter Wuille
2016-05-17Add -reindex-chainstate that does not rebuild block indexPieter Wuille
2016-05-17Optimize ActivateBestChain for long chainsPieter Wuille
2016-05-17Switch reindexing to AcceptBlock in-loop and ActivateBestChain afterwardsPieter Wuille
2016-05-17Make ProcessNewBlock dbp const and update commentPieter Wuille
2016-05-16Merge #8059: Remove unneeded feerate param from ↵Pieter Wuille
RelayTransaction/AcceptToMemoryPool. d87b198 Remove unneeded feerate param from RelayTransaction/AcceptToMemoryPool. (Gregory Maxwell)
2016-05-16Remove unneeded feerate param from RelayTransaction/AcceptToMemoryPool.Gregory Maxwell
2016-05-15net: Avoid duplicate getheaders requests.Daniel Kraft
The current logic for syncing headers may lead to lots of duplicate getheaders requests being sent: If a new block arrives while the node is in headers sync, it will send getheaders in response to the block announcement. When the headers arrive, the message will be of maximum size and so a follow-up request will be sent---all of that in addition to the existing headers syncing. This will create a second "chain" of getheaders requests. If more blocks arrive, this may even lead to arbitrarily many parallel chains of redundant requests. This patch changes the behaviour to only request more headers after a maximum-sized message when it contained at least one unknown header. This avoids sustaining parallel chains of redundant requests. Note that this patch avoids the issues raised in the discussion of https://github.com/bitcoin/bitcoin/pull/6821: There is no risk of the node being permanently blocked. At the latest when a new block arrives this will trigger a new getheaders request and restart syncing.
2016-05-15[qa] Reduce node count for some testsMarcoFalke
2016-05-15[qa] Remove hardcoded "4 nodes" from test_frameworkMarcoFalke
2016-05-13crypter: add tests for crypterCory Fields
Verify that results correct (match known values), consistent (encrypt->decrypt matches the original), and compatible with the previous openssl implementation. Also check that failed encrypts/decrypts fail the exact same way as openssl.
2016-05-13crypter: shuffle Makefile so that crypto can be used by the walletCory Fields
Wallet must come before crypto, otherwise linking fails on some platforms. Includes a tangentially-related general cleanup rather than making the Makefile sloppier.
2016-05-13crypter: add a BytesToKey clone to replace the use of opensslCory Fields
BytesToKeySHA512AES should be functionally identical to EVP_BytesToKey, but drops the dependency on openssl.
2016-05-13crypter: hook up the new aes cbc classesCory Fields
2016-05-13crypter: constify encrypt/decryptCory Fields
This makes CCrypter easier to pass aroundf for tests
2016-05-13crypter: fix the stored initialization vector sizeCory Fields
AES IV's are 16bytes, not 32. This was harmless but confusing. Add WALLET_CRYPTO_IV_SIZE to make its usage explicit.
2016-05-13crypto: add aes cbc testsCory Fields
2016-05-13crypto: add AES 128/256 CBC classesCory Fields
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).
2016-05-13Add ctaes-based constant time AES implementationPieter Wuille
2016-05-12[Doc] Simplify OS X build notesfanquake
Add —c++11 flags to brew dependancies that support it Remove release-build section, this is covered by depends/release-notes
2016-05-12rpc: Add `relaytxes` flag to `getnetworkinfo`Wladimir J. van der Laan
Re-work of PR #7841 by dragongem45. Closes #7771.
2016-05-12net: Add fRelayTxes flagWladimir J. van der Laan
Add a fRelayTxes to keep track of the relay transaction flag we send to other peers.
2016-05-12doc: Remove outdated qt4 install information from README.mdWladimir J. van der Laan
This text is aimed at users installing the binaries. Now that Qt5 is linked statically, there is no need to install Qt as a run-time dependency.
2016-05-12Merge #8046: [Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSXJonas Schnelli
34ebceb [Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSX (Jonas Schnelli)
2016-05-12[qa] test_framework: Set wait-timeout for bitcoind procsMarcoFalke
2016-05-12Merge #8006: Qt: Add option to disable the system tray iconWladimir J. van der Laan
8b0e497 Qt: Add option to hide the system tray icon (Tyler Hardin)
2016-05-12Merge #8004: signal handling: fReopenDebugLog and fRequestShutdown should be ↵Wladimir J. van der Laan
type sig_atomic_t 3262316 fReopenDebugLog and fRequestShutdown should be type sig_atomic_t (Chirag Davé)
2016-05-12Merge #8041: [qa] Fix bip9-softforks blockstore issueWladimir J. van der Laan
fad60b3 [qa] Fix bip9-softforks blockstore issue (MarcoFalke)
2016-05-12[Qt][OSX] Fix Cmd-Q / Menu Quit shutdown on OSXJonas Schnelli
2016-05-12[Qt] Disable some menu items during splashscreen/verification stateJonas Schnelli
2016-05-11Qt: Add option to hide the system tray iconTyler Hardin
My changes leave all tray icon and menu creation/initialization logic untouched. It only shows or hides the icon according to the setting. A new checkbox was added to the OptionsDialog under the Window tab. A bool option named "hideTrayIcon" was added to OptionsModel. This checkbox was mapped like other all options to the OptionsModel. A signal was added to the OptionsModel for broadcasting changes the the hideTrayIcon option. This signal was connected to a new slot added to BitcoinGUI named setTrayIconVisible(bool). The slot simply hides or shows the trayIcon in BitcoinGUI according to the parameter recieved.
2016-05-12Merge #8039: bench: Add crypto hash benchmarksPieter Wuille
32114dd bench: Add crypto hash benchmarks (Wladimir J. van der Laan)
2016-05-11bench: Add crypto hash benchmarksWladimir J. van der Laan
Add benchmarks for the cryptographic hash algorithms: - RIPEMD160 - SHA1 - SHA256 - SHA512 Continues work on #7883.
2016-05-11Merge commit 'a545127fbccef4ee674d18d43732ce00ba97f782' as 'src/crypto/ctaes'Pieter Wuille
2016-05-11Squashed 'src/crypto/ctaes/' content from commit cd3c3acPieter Wuille
git-subtree-dir: src/crypto/ctaes git-subtree-split: cd3c3ac31fac41cc253bf5780b55ecd8d7368545
2016-05-11[qa] Fix bip9-softforks blockstore issueMarcoFalke
2016-05-11Adding basic tests for OP_CSV inside of script_tests.jsonChris Stewart
Changing NOP3 op name to OP_CHECKSEQUENCEVERIFY, renaming instances of OP_NOP3 in script_tests.json to CHECKSEQUENCEVERIFY Cleaning up NOP3 comment Re-adding test cases that were accidentally deleted, removing dupicated test case, fixing formatting Removing re-labeling of OP_NOP3 to OP_CSV Fixing whitespace issues
2016-05-10Merge #7972: [qa] pull-tester: Run rpc test in parallelMarcoFalke
ccccc59 [qa] Add option --portseed to test_framework (MarcoFalke) fa494de [qa] pull-tester: Run rpc test in parallel (MarcoFalke)
2016-05-10net: No need to export ConnectNodeCory Fields
2016-05-10net: No need to export DumpBanlistCory Fields
2016-05-10net: make Ban/Unban/ClearBan functionality consistentCory Fields
- Ban/Unban/ClearBan call uiInterface.BannedListChanged() as necessary - Ban/Unban/ClearBan sync to disk if the operation is user-invoked - Mark node for disconnection automatically when banning - Lock cs_vNodes while setting disconnected - Don't spin in a tight loop while setting disconnected
2016-05-10[qa] wallet: Temporarily disable salvagewallet testMarcoFalke
2016-05-10[doc] Link to clang-format in the developer notesMarcoFalke
2016-05-10[doc] Remove outdated line from listunspent RPC help, fix typoMarcoFalke
2016-05-10Increase timeout waiting for pruned blk00000.daterror10
In my ever-growing list of test failures, I was seeing this one intermittently. ``` Running 2nd level testscript pruning.py... Initializing test directory /tmp/testY5ypCv Warning! This test requires 4GB of disk space and takes over 30 mins (up to 2 hours) Mining a big blockchain of 995 blocks Check that we haven't started pruning yet because we're below PruneAfterHeight Success Though we're already using more than 550MB, current usage: 587 Mining 25 more blocks should cause the first block file to be pruned Assertion failed: blk00000.dat not pruned when it should be File "/home/error/bitcoinxt-0.11D/qa/rpc-tests/test_framework/test_framework.py", line 118, in main self.run_test() File "/home/error/bitcoinxt-0.11D/qa/rpc-tests/pruning.py", line 272, in run_test self.test_height_min() File "/home/error/bitcoinxt-0.11D/qa/rpc-tests/pruning.py", line 94, in test_height_min raise AssertionError("blk00000.dat not pruned when it should be") Stopping nodes Failed ``` After digging into the test, I found that the code is waiting 10 seconds for blk00000.dat to be deleted, and then throwing this failure if it still exists after 10 seconds. I increased this amount, had the script print the actual time taken, and ran the test a few more times. The time taken ranged between 8 to 12 seconds. So, I feel that this timeout is too short. After changing the timeout to 30 seconds, the test passes consistently. (cherry picked from commit 3469911c89a48dd2fefe4d1c2a0c176256e14ee0)
2016-05-10Merge #8028: Fix insanity of CWalletDB::WriteTx and CWalletTx::WriteToDiskWladimir J. van der Laan
0fd5997 Fix insanity of CWalletDB::WriteTx and CWalletTx::WriteToDisk (Patrick Strateman)