Gavin Andresen
2e8b33824f
Merge branch 'spentpertxout' of https://github.com/sipa/bitcoin
14 years ago
Pieter Wuille
aca3f961db
select transaction outputs separately
...
Update to SelectCoins and CreateTransaction to select source transaction outputs separately instead of per whole transaction.
14 years ago
Pieter Wuille
335e878be8
Spent per txout
...
Change some internal data structures to keep track of spentness of each wallet transaction output separately, to support partially-spent transactions:
* an update to the data structures (vfSpent in CWalletTx instead of fSpent)
* a backward-compatible update to the wallet disk format. Old clients reading back an updated wallet will ignore partially spent transactions when creating new ones, and may report a wrong balance, though.
* some helper functions (CWalletTx: IsSpent, MarkSpent, MarkDirty to reset cached values, GetAvailableCredit which only counts unredeemed outputs)
14 years ago
tcatm
d12ea887bc
disable -daemon on windows; bitcoind forks only with -daemon set
...
[added setsid() call to ui.cpp, to regain consistency with init.cpp -jgarzik]
14 years ago
Jeff Garzik
d98beea894
rfc1123Time: increase buffer size for time string
...
Make sure we can accomodate all possibilities.
14 years ago
Eric Swanson
0a4cb86976
Fixed issue 76 -- RPC error where addresses from addressbook's sending tab appear in listaccounts
14 years ago
Gavin Andresen
57b7fe4e6f
Merge branch 'deadlock-fixes' of https://github.com/jgarzik/bitcoin
14 years ago
Jeff Garzik
6f074b71bb
RPC sendmany must acquire cs_main lock
14 years ago
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
Jeff Garzik
a2b6c1930d
Update DNS seed list
14 years ago
tcatm
454bc86479
allow coredumps by not catching SIGSEGV
14 years ago
Jeff Garzik
3a47bf7265
Merge branch 'master' of git://github.com/bitcoin/bitcoin
14 years ago
Jeff Garzik
8203ec4b11
[locale] Regenerate es, nl binary message catalogs
14 years ago
Jeff Garzik
0b8e4738f9
Merge branch 'master' of https://github.com/smola/bitcoin into tmp
14 years ago
Jeff Garzik
d38e683a6f
Merge branch 'dutchloc' of https://github.com/sipa/bitcoin into tmp
14 years ago
tcatm
c3f140033c
catch SIGINT, SIGHUP and SIGSEGV and shutdown cleanly
14 years ago
tcatm
1c09a4adb2
daemon-mode: add sleep() loop to prevent defunct child process, call setsid() in child
14 years ago
Sven Slootweg
a07dca7cd2
Updated dutch translation
14 years ago
Gavin Andresen
b7ebc662eb
Update copyright in About box from 2010 to 2011
14 years ago
Santiago M. Mola
f30dabb2ac
Update Spanish translation.
14 years ago
Jeff Garzik
e2e5f5cd9d
Fix -logtimestamps to only print time prefix once per output line
...
Incorporate BlueMatt's fix to only timestamp upon new line, and
move -logtimestamp checking outside OutputDebugPrintF() to better
future-proof it.
14 years ago
Gavin Andresen
27b7f3b43a
Merge branch 'shy'
14 years ago
Gavin Andresen
4b88647966
Merge branch 'dns-seed' of https://github.com/jgarzik/bitcoin
14 years ago
Gavin Andresen
d43fd8a038
Merge branch 'log-timestamp' of https://github.com/TheBlueMatt/bitcoin
14 years ago
Gavin Andresen
2abd56f428
Merge branch 'limitfree' of /Users/gavin/src/integration_btc
14 years ago
Gavin Andresen
1bf9b3b06f
Merge branch 'daemon-mode' of https://github.com/tcatm/bitcoin
14 years ago
Gavin Andresen
dfd059173d
Merge branch 'subcent-change' of https://github.com/tcatm/bitcoin
14 years ago
Gavin Andresen
b931ed8563
sendmany RPC command, to send to multiple recipients in one transaction.
14 years ago
Gavin Andresen
88abf70386
Make sure rate-limiting code is thread-safe
14 years ago
Gavin Andresen
5de8b54c51
Continuously rate-limit free transactions.
...
Changed algorithm to use continuous exponential function instead of discrete 10-minute window.
Changed -limitfreerelay to be kilobytes-per-minute instead of boolean.
14 years ago
tcatm
f4f2987273
remove from/message field from uiproject
14 years ago
Jeff Garzik
8f58d0dbc8
Merge branch 'smalltxfix' of https://github.com/gavinandresen/bitcoin-git into tmp
14 years ago
Jeff Garzik
12e091842f
Merge branch 'master' of https://github.com/devrandom/bitcoin into tmp
14 years ago
Gavin Andresen
81d3b1c825
Update copyright in About box from 2010 to 2011
14 years ago
Gavin Andresen
32fb5dfef7
Bump version number to 0.3.21 (lest we forget)
14 years ago
Matt Corallo
ca221e6c21
Only log timestamps if -logtimestamps is set.
14 years ago
Matt Corallo
fe460d47b0
Add timestamp prefix to each line in the debug log (this time with human-readable times)
14 years ago
Jeff Garzik
448b4516ff
dnsseed: fix printf
14 years ago
Jeff Garzik
f684aec4f3
DNS seeding
14 years ago
Gavin Andresen
cbc920d474
shy patch from Hal
14 years ago
tcatm
b104df742d
Merge branch 'TheBlueMatt-setaccountfix' into integration
14 years ago
tcatm
8e5aaada2e
Merge branch 'setaccountfix' of https://github.com/TheBlueMatt/bitcoin into TheBlueMatt-setaccountfix
14 years ago
Matt Corallo
c1f74f152b
throw JSONRPCError(-5, "Invalid bitcoin address") instead.
14 years ago
Matt Corallo
279ab5e62f
setaccount should return if an invalid address is provided.
...
This prevents setaccount from creating new accounts which do not have any addresses.
14 years ago
tcatm
e1205e4d15
-help: do not show -server and -daemon in bitcoind
14 years ago
tcatm
ea7cd31751
force fDaemon in bitcoind
14 years ago
tcatm
a79409afa9
fix whitespace
14 years ago
tcatm
dda48ccd0f
fix -daemon switch
14 years ago
Gavin Andresen
f36b494aeb
Make send/receive limits bigger (10MB each)
14 years ago
Gavin Andresen
395c1f44bd
Fix minimum transaction fee calculation mismatch between CreateTransaction and CreateBlock
14 years ago