Jeff Garzik
f5f1878ba1
Fix deadlocks in setaccount, sendfrom RPC calls
...
SendMoney*() now requires caller to acquire cs_main.
GetAccountAddress() now requires caller to acquire cs_main, cs_mapWallet.
Ordering is intended to match these two callchains[1]:
1. CRITICAL_BLOCK(cs_main)
ProcessMessage(pfrom, strCommand, vMsg)
AddToWalletIfMine()
AddToWallet(wtx)
CRITICAL_BLOCK(cs_mapWallet)
2. CRITICAL_BLOCK(cs_main)
ProcessMessage(pfrom, strCommand, vMsg)
AddToWalletIfMine()
AddToWallet(wtx)
CRITICAL_BLOCK(cs_mapWallet)
walletdb.WriteName(PubKeyToAddress(vchDefaultKey), "")
CRITICAL_BLOCK(cs_mapAddressBook)
Spotted by ArtForz. Additional deadlock fixes by Gavin.
[1] http://www.bitcoin.org/smf/index.php?topic=4904.msg71897#msg71897
14 years ago
tcatm
4d9b223ac2
remove From/Message fields from SendDialog
14 years ago
Gavin Andresen
2d96276e24
EndModal fix for Mac from piotrp
14 years ago
Gavin Andresen
86c2bdfd5d
EndModal fix for Mac from piotrp
14 years ago
gavinandresen
809ee79592
New RPC command: listaccounts. New RPC setting -rpctimeout. And listtransactions '*'
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@203 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
fc73ad644f
-- version 0.3.19 release
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@201 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
gavinandresen
bdde31d787
All boolean options/flags now work the same way.
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@194 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
gavinandresen
bfd471f53e
JSON methods: listtransactions, gettransaction, move, sendfrom and getbalance <account>
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@193 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
24324d83e8
-- version 0.3.17 release
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@191 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
776d0f3459
new getwork
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@189 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
461764cbbe
-paytxfee is now per KB,
...
BitcoinMiner prioritise transactions by how old their dependencies are
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@176 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
gavinandresen
3cac997e19
Prevent double-sends from quick double-button-clicks
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@174 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
5cbf75324d
Gavin's TEST network as -testnet switch, misc fixes
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@168 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
103849419a
key pool for safer wallet backup
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@163 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
b22c884231
recursive function to determine if own unconfirmed transaction can be spent
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@161 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
178152f604
fixed linux build,
...
dkaparis: _WIN32_WINNT 0x500
-- version 0.3.13 release
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@159 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
a790fa46f4
don't count or spend payments until they have 1 confirmation,
...
misc cleanup,
changed internal version number from 312 to 31300
-- version 0.3.13
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@158 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
172f006020
only accept transactions sent by IP address if -allowreceivebyip is specified
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@156 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
6aeb45187b
only accept transactions sent by IP address if -allowreceivebyip is specified
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@156 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
4968232490
fix problem sending the last cent with sub-cent fractional change
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@151 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
00728c24e7
fix problem sending the last cent with sub-cent fractional change
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@151 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
f1e1fb4bde
cleanup,
...
catch some recoverable exceptions and continue
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@148 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
8c9479c6bb
cleanup,
...
catch some recoverable exceptions and continue
-- version 0.3.12 release
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@148 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
0a61b0df12
propset svn:eol-style native
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@146 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
Satoshi Nakamoto
522dfe3422
alert system
...
-- version 0.3.11
14 years ago
s_nakamoto
401926283a
alert system
...
-- version 0.3.11
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@142 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
Satoshi Nakamoto
bb3fd02930
blocks-1,
...
verify block chain on load, so wouldn't have needed to delete blk*.dat, it would have done a reorg automatically
14 years ago
s_nakamoto
15399da9fe
blocks-1,
...
verify block chain on load, so wouldn't have needed to delete blk*.dat, it would have done a reorg automatically
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@137 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
Satoshi Nakamoto
7f71fd13ae
fix -datadir=./subdir relative path,
...
autostart off by default except on windows,
fix occasional "vector iterator not dereferencable" assertion with msvc,
fix readlink compile warning on linux build,
use sys/param.h and BSD define instead of __BSD__,
-paytxfee switch
14 years ago
s_nakamoto
01cd2fdaf3
fix -datadir=./subdir relative path,
...
autostart off by default except on windows,
fix occasional "vector iterator not dereferencable" assertion with msvc,
fix readlink compile warning on linux build,
use sys/param.h and BSD define instead of __BSD__,
-paytxfee switch
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@130 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
Satoshi Nakamoto
c2fa70ddfd
always make 8 outbound connections even if have inbound,
...
limit one outbound connection per a.b.?.? range,
switch -maxconnections=#
14 years ago
Satoshi Nakamoto
dd9e71843b
correct typo for mac compile, update makefile to use llvm
14 years ago
s_nakamoto
94cfec07fd
always make 8 outbound connections even if have inbound,
...
limit one outbound connection per a.b.?.? range,
switch -maxconnections=#
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@125 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
laszloh
0c50722270
correct typo for mac compile, update makefile to use llvm
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@123 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
Satoshi Nakamoto
b34e8c3c36
new safety feature displays a warning message and locks down RPC if it detects a problem that may require an upgrade
...
-- version 0.3.8
14 years ago
s_nakamoto
2c06be915d
new safety feature displays a warning message and locks down RPC if it detects a problem that may require an upgrade
...
-- version 0.3.8
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@122 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
--author=Satoshi Nakamoto
ec82517c89
Fredrik Roubert: simplified makefile.unix with wx-config, misc
14 years ago
s_nakamoto
17b2740289
Fredrik Roubert: simplified makefile.unix with wx-config,
...
misc
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@118 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
Satoshi Nakamoto
b6dc3b517b
bitcoind now compiles without wxWidgets or wxBase
14 years ago
Satoshi Nakamoto
40cd036941
Gavin Andresen's JSON-RPC HTTP authentication,
...
faster initial block download
-- version 0.3.3
14 years ago
s_nakamoto
793200e5e9
bitcoind now compiles without wxWidgets or wxBase
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@112 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
3b7cd5d89a
Gavin Andresen's JSON-RPC HTTP authentication,
...
faster initial block download
-- version 0.3.3
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@109 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
Gavin Andresen
e96cd730d1
json-rpc password, minor UI tweaks, removed some outdated txt files
14 years ago
Gavin Andresen
8e79c64750
version 0.3.1 release
14 years ago
Gavin Andresen
9d2174b6f5
version 0.3.1 rc1
14 years ago
s_nakamoto
e8bff10f07
minor UI tweaks, removed some outdated txt files,
...
(and json-rpc password -rpcpw= switch, which we're going to revert)
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@108 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
673a6d15d9
version 0.3.1 release
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@106 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
a30b56ebe7
fix openssl linkage problems,
...
disable minimize to tray on Linux because it has too many problems including a CPU peg bug
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@103 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
Gavin Andresen
8bd66202c3
Fix CRLF
14 years ago
s_nakamoto
20c6bfad1e
Gavin Andresen: implementation of autostart on system startup option on Linux
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@101 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago