aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-08-23Make CCrypter use LockedPageManager to manage locked pagesWladimir J. van der Laan
Replace direct calls to mlock. Also, change the class to lock the memory areas in the constructor and unlock them again in the destructor. This makes sure that locked pages won't leak.
2012-08-23Handle locked pages more robustly (Fixes issue #1462)Wladimir J. van der Laan
Memory locks do not stack, that is, pages which have been locked several times by calls to mlock() will be unlocked by a single call to munlock(). This can result in keying material ending up in swap when those functions are used naively. In this commit a class "LockedPageManager" is added that simulates stacking memory locks by keeping a counter per page.
2012-08-22Merge pull request #1694 from sipa/fix_netloopsGregory Maxwell
Fix infinite loops in connection logic
2012-08-22Merge pull request #1701 from laanwj/2012_08_pull_transifexWladimir J. van der Laan
Update translations from transifex
2012-08-22Update translations from transifexWladimir J. van der Laan
2012-08-22Fix infinite loops in connection logicPieter Wuille
2012-08-22Merge pull request #1695 from sipa/noloadorphanPieter Wuille
Do not accept orphan blocks in -loadblock mode
2012-08-21Merge branch 'testdata' of git://github.com/TheBlueMatt/bitcoinGavin Andresen
2012-08-21Do not accept orphan blocks in -loadblock modePieter Wuille
2012-08-21Merge pull request #1493 from jgarzik/unlocked-rpcJeff Garzik
RPC: add facility to enable RPCs to run outside cs_main, wallet locks
2012-08-21RPC: add facility to enable RPCs to run outside cs_main, wallet locksJeff Garzik
Use with 'stop' and 'help' RPCs. This provides a facility to individually evaluate the locking for an RPC, and potentially make it more parallel.
2012-08-21Restore OSX 10.5 compatibility (do not use pthread_setname_np)Gavin Andresen
2012-08-21Fix 32-bit build error: include util.h to get int64 typedefGavin Andresen
2012-08-21Merge pull request #1693 from jgarzik/rpcwalletJeff Garzik
Move code to new modules rpcwallet.cpp, rpcblockchain.cpp
2012-08-21RPC, cosmetic: move more RPC code to new rpcblockchain.cpp moduleJeff Garzik
2012-08-21RPC, cosmetic: move wallet-related RPCs to new rpcwallet.cpp moduleJeff Garzik
2012-08-21Merge pull request #1687 from gavinandresen/quietunitPieter Wuille
Suppress output when running unit tests.
2012-08-21Merge pull request #1690 from gavinandresen/signrawtx_nullGregory Maxwell
Allow signrawtransaction '...' null null 'hashtype'
2012-08-21RPC: submitblock returns null on success, string on errorJeff Garzik
2012-08-21RPC, cosmetic: Create rpcmining.cpp as new home for mining-related RPC codeJeff Garzik
2012-08-21RPC, cosmetic: de-indent getblocktemplate()Jeff Garzik
2012-08-21RPC: split new 'submitblock' out of 'getblocktemplate'Jeff Garzik
2012-08-20Allow signrawtransaction '...' null null 'hashtype'Gavin Andresen
Allows the user to pass null as the second or third parameter to signrawtransaction, in case you need to (for example) fetch private keys from the wallet but want to specify the hash type.
2012-08-20Merge pull request #1689 from gavinandresen/rawtx_singlefixGregory Maxwell
When using SIGHASH_SINGLE, only sign inputs that have corresponding outputs
2012-08-20When using SIGHASH_SINGLE, do not sign inputs that have no corresponding ↵Gavin Andresen
outputs. This fixes issue #1688
2012-08-20Allow setting a different linker than compiler in makefile.unixMatt Corallo
2012-08-20Add data-driven transaction tests.Matt Corallo
2012-08-20Add a few test cases to data-driven script tests.Matt Corallo
2012-08-20Suppress output when running unit tests.Gavin Andresen
This does two things: 1) Now does not output to debug.log if -printtodebugger flag is passed 2) Unit tests set -printtodebugger so only test results are output to stdout Note that -printtodebugger only actually prints to the debugger on Windows.
2012-08-20Reject block.nVersion<=1 blocks if network has upgraded to version=2Gavin Andresen
If 950 of the last 1,000 blocks are nVersion=2, reject nVersion=1 (or zero, but no bitcoin release has created block.nVersion=0) blocks -- 75 of last 100 on testnet3. This rule is being put in place now so that we don't have to go through another "express support" process to get what we really want, which is for every single new block to include the block height in the coinbase.
2012-08-20Block height in coinbase as a new block ruleGavin Andresen
"Version 2" blocks are blocks that have nVersion=2 and have the block height as the first item in their coinbase. Block-height-in-the-coinbase is strictly enforced when version=2 blocks are a supermajority in the block chain (750 of the last 1,000 blocks on main net, 51 of 100 for testnet). This does not affect old clients/miners at all, which will continue producing nVersion=1 blocks, and which will continue to be valid.
2012-08-20Set block.nVersion to fix miner unit testGavin Andresen
2012-08-20Merge pull request #1641 from jgarzik/mempoolJeff Garzik
Add 'mempool' P2P command, and extend 'getdata' behavior
2012-08-18fix a comment in addrman.cppPhilip Kaufmann
2012-08-17Merge pull request #1680 from Diapolo/add_message_on_blockimportWladimir J. van der Laan
add splashscreen message when importing blocks via -loadblock
2012-08-17Remove useless non-cross-platform tests.Matt Corallo
2012-08-17Merge pull request #1607 from Diapolo/Qt_Win_exe_descWladimir J. van der Laan
Bitcoin-Qt (Windows only): extend Resource File
2012-08-17Merge pull request #1678 from Diapolo/LoadExternalBlockFile_add_timerJeff Garzik
log how long LoadExternalBlockFile() takes in ms (Benchmark)
2012-08-17add splashscreen message when importing blocks via -loadblockPhilip Kaufmann
2012-08-17fix a compiler sign warning in OpenBlockFile()Philip Kaufmann
2012-08-17log how long LoadExternalBlockFile() takes in ms (Benchmark)Philip Kaufmann
2012-08-14Bitcoin-Qt (Windows only): extend Resource FilePhilip Kaufmann
- extend bitcoin-qt.rc to include meta information, which is displayed on Windows, when looking in the executable properties and selecting "Details" - does currently NOT include version information, this is scheduled for later releases - for RC-file documentation see: http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058%28v=vs.85%29.aspx
2012-08-13Merge pull request #1649 from Diapolo/optionsdialogWladimir J. van der Laan
small UX update for optionsdialog
2012-08-13Merge pull request #1614 from Diapolo/Qt_Win_enable_DEPWladimir J. van der Laan
Bitcoin-Qt (Windows only): enable DEP for bitcoin-qt.exe
2012-08-13Merge pull request #936 from luke-jr/gmp_bipGregory Maxwell
BIP22: getblocktemplate
2012-08-12Revert "Make this error message similar to the others"Wladimir J. van der Laan
This reverts commit dc1e5ad1917bb353aee7ef24aabf13ae3fe2fb80. The new error message was not correct, as it refers to the total balance, not an account.
2012-08-09Merge pull request #1661 from laanwj/2012_08_stringsupdateWladimir J. van der Laan
Update English translation strings
2012-08-09Merge pull request #1655 from gmaxwell/signrawtransaction_fix_missingGregory Maxwell
Correctly handle missing inputs in signrawtransaction. Fixes #1654.
2012-08-07Merge pull request #1658 from TheBlueMatt/qttestJeff Garzik
Fix several issues in the Qt unit tests.
2012-08-08Fix test_bitcoin build in makefile.linux-mingwMatt Corallo