Pieter Wuille
1a3dcca8f4
Merge pull request #1695 from sipa/noloadorphan
...
Do not accept orphan blocks in -loadblock mode
12 years ago
Gavin Andresen
f39ab4c8d0
Merge branch 'testdata' of git://github.com/TheBlueMatt/bitcoin
12 years ago
Pieter Wuille
5c88e3c108
Do not accept orphan blocks in -loadblock mode
12 years ago
Jeff Garzik
1954d40691
Merge pull request #1493 from jgarzik/unlocked-rpc
...
RPC: add facility to enable RPCs to run outside cs_main, wallet locks
12 years ago
Jeff Garzik
0e1d3551da
RPC: add facility to enable RPCs to run outside cs_main, wallet locks
...
Use with 'stop' and 'help' RPCs.
This provides a facility to individually evaluate the locking for an RPC, and
potentially make it more parallel.
12 years ago
Gavin Andresen
cd58f05894
Restore OSX 10.5 compatibility (do not use pthread_setname_np)
12 years ago
Gavin Andresen
b4b7ed1915
Fix 32-bit build error: include util.h to get int64 typedef
12 years ago
Jeff Garzik
5f2b41d54d
Merge pull request #1693 from jgarzik/rpcwallet
...
Move code to new modules rpcwallet.cpp, rpcblockchain.cpp
12 years ago
Jeff Garzik
c625ae04d2
RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module
12 years ago
Jeff Garzik
e3bc569865
RPC, cosmetic: move wallet-related RPCs to new rpcwallet.cpp module
12 years ago
Pieter Wuille
143acc7672
Merge pull request #1687 from gavinandresen/quietunit
...
Suppress output when running unit tests.
12 years ago
Gregory Maxwell
4a4a0c1196
Merge pull request #1690 from gavinandresen/signrawtx_null
...
Allow signrawtransaction '...' null null 'hashtype'
12 years ago
Jeff Garzik
a483c27704
Merge pull request #1691 from jgarzik/submitwork
...
Add 'submitblock' RPC, split out from 'getblocktemplate' RPC
12 years ago
Jeff Garzik
a2168d94c0
RPC: submitblock returns null on success, string on error
12 years ago
Jeff Garzik
7600e7fc39
RPC, cosmetic: Create rpcmining.cpp as new home for mining-related RPC code
12 years ago
Jeff Garzik
ddd1ffb4f1
RPC, cosmetic: de-indent getblocktemplate()
12 years ago
Jeff Garzik
79f2525ab6
RPC: split new 'submitblock' out of 'getblocktemplate'
12 years ago
Gavin Andresen
cc6dfd1f4b
Allow signrawtransaction '...' null null 'hashtype'
...
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.
12 years ago
Gregory Maxwell
b86da2abe8
Merge pull request #1689 from gavinandresen/rawtx_singlefix
...
When using SIGHASH_SINGLE, only sign inputs that have corresponding outputs
12 years ago
Jeff Garzik
af3b5ea569
Merge pull request #1526 from gavinandresen/heightincoinbase
...
Transition to requiring block height in block coinbases
12 years ago
Gavin Andresen
d5e7b61173
When using SIGHASH_SINGLE, do not sign inputs that have no corresponding outputs.
...
This fixes issue #1688
12 years ago
Matt Corallo
da9e86c3b6
Allow setting a different linker than compiler in makefile.unix
12 years ago
Matt Corallo
fc4743faa8
Add data-driven transaction tests.
12 years ago
Matt Corallo
336a0abbbb
Add a few test cases to data-driven script tests.
12 years ago
Gavin Andresen
4d51be1cf3
Suppress output when running unit tests.
...
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.
12 years ago
Gavin Andresen
d18f2fd9d6
Reject block.nVersion<=1 blocks if network has upgraded to version=2
...
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.
12 years ago
Gavin Andresen
de237cbfa4
Block height in coinbase as a new block rule
...
"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.
12 years ago
Gavin Andresen
3fcec0d4a0
Set block.nVersion to fix miner unit test
12 years ago
Jeff Garzik
b3a570d158
Merge pull request #1641 from jgarzik/mempool
...
Add 'mempool' P2P command, and extend 'getdata' behavior
12 years ago
Jeff Garzik
89a7bd644f
Merge pull request #1686 from Diapolo/fix_comment
...
fix a comment in addrman.cpp
12 years ago
Philip Kaufmann
30c8a40847
fix a comment in addrman.cpp
12 years ago
Wladimir J. van der Laan
221497c61b
Merge pull request #1673 from Diapolo/Qt_Win_ASLR_DEP_linker_flag
...
Bitcoin-Qt (Windows only): add ASLR and DEP linker flags
12 years ago
Philip Kaufmann
8e2ebc0106
Bitcoin-Qt (Windows only): add ASLR and DEP linker flags
...
- 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.
12 years ago
Wladimir J. van der Laan
8765d20b1e
Merge pull request #1680 from Diapolo/add_message_on_blockimport
...
add splashscreen message when importing blocks via -loadblock
12 years ago
Gregory Maxwell
10ffb45667
Merge pull request #1681 from TheBlueMatt/fixtests
...
Remove useless non-cross-platform tests.
12 years ago
Matt Corallo
8555a3e3cc
Remove useless non-cross-platform tests.
12 years ago
Wladimir J. van der Laan
a108d3defb
Merge pull request #1607 from Diapolo/Qt_Win_exe_desc
...
Bitcoin-Qt (Windows only): extend Resource File
12 years ago
Jeff Garzik
dabb95b892
Merge pull request #1678 from Diapolo/LoadExternalBlockFile_add_timer
...
log how long LoadExternalBlockFile() takes in ms (Benchmark)
12 years ago
Pieter Wuille
63046fcf62
Merge pull request #1679 from Diapolo/fix_sign_warning
...
fix a compiler sign warning in OpenBlockFile()
12 years ago
Philip Kaufmann
2d914f89fe
add splashscreen message when importing blocks via -loadblock
12 years ago
Philip Kaufmann
1e7027b41e
fix a compiler sign warning in OpenBlockFile()
12 years ago
Philip Kaufmann
746f502a79
log how long LoadExternalBlockFile() takes in ms (Benchmark)
12 years ago
Philip Kaufmann
4b94f4e0ed
Bitcoin-Qt (Windows only): extend Resource File
...
- 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
12 years ago
Wladimir J. van der Laan
0825aee8f4
Merge pull request #1649 from Diapolo/optionsdialog
...
small UX update for optionsdialog
12 years ago
Wladimir J. van der Laan
a55ed9d5bb
Merge pull request #1614 from Diapolo/Qt_Win_enable_DEP
...
Bitcoin-Qt (Windows only): enable DEP for bitcoin-qt.exe
12 years ago
Gregory Maxwell
14486dc0e2
Merge pull request #936 from luke-jr/gmp_bip
...
BIP22: getblocktemplate
12 years ago
Wladimir J. van der Laan
b2ce93fe16
Merge pull request #1623 from Diapolo/pro-file-set-target
...
set TARGET = bitcoin-qt in project file
12 years ago
Wladimir J. van der Laan
c23b6fd688
Revert "Make this error message similar to the others"
...
This reverts commit dc1e5ad191
.
The new error message was not correct, as it refers to the total balance, not an account.
12 years ago
Wladimir J. van der Laan
198947c19f
Merge pull request #1661 from laanwj/2012_08_stringsupdate
...
Update English translation strings
12 years ago
Gregory Maxwell
765654dae8
Merge pull request #1655 from gmaxwell/signrawtransaction_fix_missing
...
Correctly handle missing inputs in signrawtransaction. Fixes #1654 .
12 years ago