aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-07-13Fix Watchonly: cs_main lock not heldCozz Lovan
2014-07-13Merge pull request #4511Pieter Wuille
a7e1d50 In -? output: -keypool, -gen, -genproclimit depend on ENABLE_WALLET (Zak Wilcox)
2014-07-12Merge pull request #4177Pieter Wuille
cd01a5e Enable paranoid corruption checks in LevelDB >= 1.16 (Pieter Wuille)
2014-07-12In -? output: -keypool, -gen, -genproclimit depend on ENABLE_WALLETZak Wilcox
2014-07-11`getrawchangeaddress` should fail when keypool exhaustedWladimir J. van der Laan
An user on IRC reported an issue where `getrawchangeaddress` keeps returning a single address when the keypool is exhausted. In my opinion this is strange behaviour. - Change CReserveKey to fail when running out of keys in the keypool. - Make `getrawchangeaddress` return RPC_WALLET_KEYPOOL_RAN_OUT when unable to create an address. - Add a Python RPC test for checking the keypool behaviour in combination with encrypted wallets.
2014-07-11Merge pull request #4507Wladimir J. van der Laan
b60be6b Clean up RPCs that are disabled in safe-mode. (Gregory Maxwell)
2014-07-10Clean up RPCs that are disabled in safe-mode.Gregory Maxwell
This removes some inconsistencies in what worked and didn't work in safemode. Now only RPCs involved in getting balances or sending funds are disabled. Previously you could mine but not submit blocks— but we may need more blocks to resolve a fork that triggered safe mode in the first place, and the non-submission was not reliable since some miners submit blocks via multiple means. There were also a number of random commands disabled that had nothing to do with the blockchain like verifymessage. Thanks to earlz for pointing out that there were some moderately cheap ways to maliciously trigger safe mode, which brought attention to the fact that safemode wasn't used in a very intelligent way.
2014-07-10Avoid a segfault on getblock if it can't read a block from disk.Ruben Dario Ponticelli
2014-07-09Merge pull request #4428Wladimir J. van der Laan
00d1980 init.cpp: log fee estimates filename on error (Philip Kaufmann)
2014-07-09Merge pull request #4340Wladimir J. van der Laan
33cc907 Add DNS seed of open-nodes.org (kevin)
2014-07-09init.cpp: log fee estimates filename on errorPhilip Kaufmann
- small changes to Shutdown(), buffer __func__, which is now used in all LogPrintf() calls and format for better readability - order using namespace alpabetically
2014-07-09Merge pull request #4275Wladimir J. van der Laan
509f926 Payment request parsing on startup now only changes network if a valid network name is specified. (Ross Nicoll)
2014-07-08Payment request parsing on startup now only changes network if a valid ↵Ross Nicoll
network name is specified.
2014-07-08build: fix win32 static linking after libtool mergeCory Fields
Libtool eats the -static flag rather than passing it along to the compiler. To get the same effect, -all-static is used instead.
2014-07-08build: re-add AM_LDFLAGS where it's overriddenCory Fields
using _LDFLAGS replaces AM_LDFLAGS rather than adding to it.
2014-07-08Merge pull request #4479Wladimir J. van der Laan
109849e Bugfix: strerror_r can return an error, and if it does, POSIX does not specify the content of the buffer (Luke Dashjr)
2014-07-08Fee fixesCozz Lovan
2014-07-07Merge pull request #4480Wladimir J. van der Laan
2227725 test/bloom_tests: Use UL suffix for unsigned long number to ensure compatibility (Luke Dashjr)
2014-07-07test/bloom_tests: Use UL suffix for unsigned long number to ensure compatibilityLuke Dashjr
2014-07-07Bugfix: strerror_r can return an error, and if it does, POSIX does not ↵Luke Dashjr
specify the content of the buffer
2014-07-07Merge pull request #4471Wladimir J. van der Laan
40f5cb8 Send rejects and apply DoS scoring for errors in direct block validation. (Pieter Wuille)
2014-07-07Merge pull request #4045Wladimir J. van der Laan
a3e192a replaced MINE_ with ISMINE_ (JaSK) 53a2148 fixed bug where validateaddress doesn't display information (JaSK) f28707a fixed bug in ListReceived() (JaSK) 519dd1c Added MINE_ALL = (spendable|watchonly) (JaSK) 23b0506 Fixed some stuff in TransactionDesc (JaSK) 80dda36 removed default argument values for ismine filter (JaSK) d5087d1 Use script matching rather than destination matching for watch-only. (Pieter Wuille) 0fa2f88 added includedWatchonly argument to listreceivedbyaddress/...account (JaSK) f87ba3d added includeWatchonly argument to 'gettransaction' because it affects balance calculation (JaSK) a5c6c5d fixed tiny glitch and improved readability like laanwj suggested (JaSK) d7d5d23 Added argument to listtransactions and listsinceblock to include watchonly addresses (JaSK) 952877e Showing 'involvesWatchonly' property for transactions returned by 'listtransactions' and 'listsinceblock'. It is only appended when the transaction involves a watchonly address. (JaSK) 83f3543 Added argument to listaccounts to include watchonly addresses (JaSK) d4640d7 Added argument to getbalance to include watchonly addresses and fixed errors in balance calculation. (JaSK) d2692f6 Watchonly transactions are marked in transaction history (JaSK) ffd40da Watchonly balances are shown separately in gui. (JaSK) 2935b21 qt: Hide unspendable outputs in coin control (Wladimir J. van der Laan) c898846 Add support for watch-only addresses (Pieter Wuille)
2014-07-07Fix the build for windowsWladimir J. van der Laan
Problem introduced in caf6150. Thanks to @drak for noticing. Fixes #4473.
2014-07-07Merge pull request #4327Wladimir J. van der Laan
a339a37 error out, when we detect -socks argument (Philip Kaufmann) 0127a9b remove SOCKS4 support from core and GUI (Philip Kaufmann)
2014-07-07Merge pull request #4466Wladimir J. van der Laan
ad87bc4 [Qt] Replace status bar unit icon with actual images (Cozz Lovan)
2014-07-07Merge pull request #4401Wladimir J. van der Laan
cf04d83 add OpenSSL RAND_cleanup() on OpenSSL shutdown (Philip Kaufmann)
2014-07-07Merge pull request #4399Wladimir J. van der Laan
674c070 [Qt] seed OpenSSL PNRG with Windows event data (Philip Kaufmann)
2014-07-07Merge pull request #4373Wladimir J. van der Laan
2ec5a3d rpc: Prevent easy memory exhaustion attack (Wladimir J. van der Laan)
2014-07-07Merge pull request #4446Wladimir J. van der Laan
209377a Use GetBlockTime() more (jtimon)
2014-07-07Merge pull request #4470Wladimir J. van der Laan
f4b00be Add CChain::GetLocator() unit test (Pieter Wuille) 3c85d2e Fix CChain::GetLocator (Pieter Wuille)
2014-07-07Merge pull request #4463Wladimir J. van der Laan
e832ab7 Rename SendMoneyToDestination to SendMoney. (Daniel Kraft)
2014-07-07Use GetBlockTime() morejtimon
2014-07-07Merge pull request #4462Wladimir J. van der Laan
3d0e92d [Qt] remove dup includes in bitcoingui (Philip Kaufmann)
2014-07-07Merge pull request #4467Wladimir J. van der Laan
1f740dd Remove unused variable (R E Broadley)
2014-07-07Move ui_interface to bitcoin_server.aWladimir J. van der Laan
There is no need for it in the utility libraries or tools. Put it in init.cpp, and in the tests separately (as they can't link init).
2014-07-07qt: Pick translation messages only from necessary filesWladimir J. van der Laan
Utility libraries (common, util) as well as extra tools shouldn't be parsed for translation messages, only the server and wallet part qualify here.
2014-07-07Rename SendMoneyToDestination to SendMoney.Daniel Kraft
Get rid of SendMoney and replace it by the functionality of SendMoneyToDestination. This cleans up the code, since only SendMoneyToDestination was actually used (SendMoney internally from this routine).
2014-07-07error out, when we detect -socks argumentPhilip Kaufmann
2014-07-07remove SOCKS4 support from core and GUIPhilip Kaufmann
- now we support SOCKS5 only
2014-07-07Merge pull request #4457Wladimir J. van der Laan
834e46e CBlockIndex()::SetNull() method to avoid code repetition (jtimon)
2014-07-07Merge pull request #4472Wladimir J. van der Laan
9f4da19 Use pong receive time rather than processing time (Pieter Wuille)
2014-07-06Use pong receive time rather than processing timePieter Wuille
2014-07-06Send rejects and apply DoS scoring for errors in direct block validation.Pieter Wuille
75f51f2a introduced asynchronous processing for blocks, where reject messages and DoS scoring could be applied outside of ProcessBlock, because block validation may happen later. However, some types of errors are still detected immediately (in particular, CheckBlock violations), which need acting after ProcessBlock returns.
2014-07-06Add CChain::GetLocator() unit testPieter Wuille
2014-07-06Fix CChain::GetLocatorPieter Wuille
2014-07-05Remove unused variableR E Broadley
2014-07-05[Qt] Replace status bar unit icon with actual imagesCozz Lovan
2014-07-04[Qt] seed OpenSSL PNRG with Windows event dataPhilip Kaufmann
- see https://bitcointalk.org/index.php?topic=113496.msg1228193#msg1228193 for the initial suggestion for this - also ensure consistent debug.log message format
2014-07-04[Qt] remove dup includes in bitcoinguiPhilip Kaufmann
2014-07-04rpc: Prevent easy memory exhaustion attackWladimir J. van der Laan
Allocate memory for POST message data only as bytes come in, instead of all at once at the beginning. Fixes #4343.