aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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 #1700 from laanwj/2012_08_testsotherfilesWladimir J. van der Laan
bitcoin-qt.pro: Add test sources to OTHER_FILES
2012-08-22Merge pull request #1694 from sipa/fix_netloopsGregory Maxwell
Fix infinite loops in connection logic
2012-08-22bitcoin-qt.pro: Add test sources to OTHER_FILES so that they can be edited ↵Wladimir J. van der Laan
easier in Qt creator - Also add src/version.h
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-20Merge pull request #1691 from jgarzik/submitworkJeff Garzik
Add 'submitblock' RPC, split out from 'getblocktemplate' RPC
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-20Merge pull request #1526 from gavinandresen/heightincoinbaseJeff Garzik
Transition to requiring block height in block coinbases
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-18Merge pull request #1686 from Diapolo/fix_commentJeff Garzik
fix a comment in addrman.cpp
2012-08-18fix a comment in addrman.cppPhilip Kaufmann
2012-08-18Merge pull request #1673 from Diapolo/Qt_Win_ASLR_DEP_linker_flagWladimir J. van der Laan
Bitcoin-Qt (Windows only): add ASLR and DEP linker flags
2012-08-18Bitcoin-Qt (Windows only): add ASLR and DEP linker flagsPhilip Kaufmann
- for extra security on Windows: enable ASLR and DEP via GCC linker flags GCC linker flag description: --dynamicbase The image base address may be relocated using address space layout randomization (ASLR). This feature was introduced with MS Windows Vista for i386 PE targets. --nxcompat The image is compatible with the Data Execution Prevention. This feature was introduced with MS Windows XP SP2 for i386 PE targets.
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-17Merge pull request #1681 from TheBlueMatt/fixtestsGregory Maxwell
Remove useless non-cross-platform tests.
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-17Merge pull request #1679 from Diapolo/fix_sign_warningPieter Wuille
fix a compiler sign warning in OpenBlockFile()
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