Gavin Andresen
f1307515b7
print -rescan timing info in debug.log
2011-01-20 14:12:10 -05:00
Gavin Andresen
d9574c2f14
Reconcile getbalance and listaccounts 0 in the shared-wallet case
...
If you copied your wallet and used it on two different machines, the balance reported by getbalance and the sum(listaccounts) could disagree, because you might receive payments for an address that is in your wallet but not your address book. Now all such transactions are credited to the default empty-string account.
2011-01-20 13:10:01 -05:00
Gavin Andresen
1d23c74361
ReacceptWalletTransactions bugfix
...
Fix two bugs that can happen if you copy your wallet to another machine
and perform transactions on both.
First, ReacceptWalletTransactions would notice if the other wallet spent coins, and
would correctly mark the receiving transaction spent. However, it did not add the spending
transaction to the wallet. Now it does.
Second, account balances could get out of sync with 'getbalance' because coins received
by the other copy of the wallet were not necessarily detected. Now ReacceptWalletTransactions
will scan the entire blockchain for transactions that should be in the wallet if it runs
across a 'spent in the other wallet' transaction.
Finally, there was a small bug in the accounts getbalance code-- generated coins with between
100 and 119 confirmations were not being counted in the balance of account "".
2011-01-19 16:50:20 -05:00
Gavin Andresen
c9f70b381d
Merge branch 'integration' into FIXES
2011-01-18 14:46:46 -05:00
Gavin Andresen
b4671902f2
Merge branch 'listaccountsbug' of https://github.com/gavinandresen/bitcoin-git into integration
2011-01-18 14:35:50 -05:00
Gavin Andresen
76e97c4002
Merge branch 'gettransaction' of https://github.com/gavinandresen/bitcoin-git into integration
2011-01-18 14:35:03 -05:00
Gavin Andresen
1aefe491fb
Merge branch 'setaccountbug' of https://github.com/gavinandresen/bitcoin-git into integration
2011-01-18 14:33:18 -05:00
David FRANCOIS
04a9217dcf
Add the -keypool option description to help output
2011-01-14 20:55:36 +01:00
Gavin Andresen
fa446a563e
Fix setaccount/getaccountaddress interaction bug
...
See https://github.com/bitcoin/bitcoin/issues#issue/29
2011-01-13 20:04:56 -05:00
Gavin Andresen
2eb09b66ef
Fix so listaccounts with minconf works.
2011-01-10 13:54:39 -05:00
Gavin Andresen
80be6e69a9
Add account/address details to gettransaction output
2011-01-07 14:10:08 -05:00
Gavin Andresen
009d5fb41f
Merge branch 'listaddresses' into integration
2011-01-06 08:56:10 -05:00
Gavin Andresen
f86655fddd
Add time to category:move transactions.
2011-01-05 09:52:52 -05:00
Gavin Andresen
0ded557af6
Merge branch 'listaddresses' of https://github.com/gavinandresen/bitcoin-git
2011-01-03 14:45:49 -05:00
Witchspace
72b9861635
don't advertise on IRC if we don't allow external connections
2010-12-24 10:25:21 +01:00
Witchspace
5f88e8887a
add -nolisten command line option
2010-12-22 14:08:00 +01:00
Gavin Andresen
ddb68acebe
Add address to listtransactions output
2010-12-21 13:39:10 -05:00
Gavin Andresen
2d96276e24
EndModal fix for Mac from piotrp
2010-12-20 12:51:26 -05:00
Gavin Andresen
86c2bdfd5d
EndModal fix for Mac from piotrp
2010-12-20 10:36:48 -05:00
Gavin Andresen
cba3a1741a
Straw-man for dev process
2010-12-19 10:39:36 -05:00
Gavin Andresen
5568d82c26
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-17 16:23:47 -05:00
gavinandresen
1c0bf23ba2
Missed a int64_t cast when I added transaction time output
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@205 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-17 20:16:27 +00:00
Gavin Andresen
8250760617
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-16 13:24:47 -05:00
gavinandresen
59948a6e1c
listtransactions was reporting address instead of account for 'receive'
...
setgenerate true 0 is now the same as setgenerate false
And return transaction time
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@204 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-16 18:17:26 +00:00
Gavin Andresen
55c43da5d8
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-16 11:36:47 -05:00
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
2010-12-16 01:06:03 +00:00
s_nakamoto
629e37dde1
get external ip from irc
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@202 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-15 22:43:51 +00:00
Gavin Andresen
bc530fe89f
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-13 14:28:59 -05:00
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
2010-12-13 16:26:14 +00:00
Gavin Andresen
9c17a685bd
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-12 16:03:42 -05:00
s_nakamoto
986b5e257e
correction
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@200 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-12 18:38:02 +00:00
s_nakamoto
97ee01ad89
added some DoS limits, removed safe mode
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@199 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-12 18:20:36 +00:00
Gavin Andresen
d12e53ea09
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-08 20:06:44 -05:00
s_nakamoto
8220180133
-- version 0.3.18 release
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@198 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-08 23:23:48 +00:00
gavinandresen
a206a23980
IsStandard() check for CScripts: only relay/include in blocks CScripts we can understand.
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@197 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-07 13:43:31 +00:00
Gavin Andresen
0a87c91692
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-06 18:58:31 -05:00
s_nakamoto
865c3a2383
fix wallet.dat compatibility problem if you downgrade from 0.3.17 and then upgrade again
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@196 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-06 15:59:28 +00:00
s_nakamoto
f03304a9c7
preps for future client-only mode,
...
jgarzik's initial download speedup
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@195 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-12-05 09:29:30 +00:00
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
2010-12-03 19:38:09 +00:00
Gavin Andresen
0575c0a667
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-12-01 09:20:49 -05:00
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
2010-11-30 18:58:11 +00:00
Gavin Andresen
6f8ba620c2
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-28 10:56:51 -05:00
s_nakamoto
84d7c981dc
added boost tuples to serialize.h
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@192 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-27 23:12:41 +00:00
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
2010-11-25 20:41:57 +00:00
s_nakamoto
b7ccd48dd8
still working on account-based commands getbalance, move and sendfrom, they're only for testing for now
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@190 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-25 16:40:25 +00:00
Gavin Andresen
94073ecf7b
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-23 15:01:34 -05:00
s_nakamoto
776d0f3459
new getwork
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@189 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-23 19:16:36 +00:00
Gavin Andresen
262430f705
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-22 11:34:13 -05:00
gavinandresen
e4ff4e6898
Depracate "label" API, replacing with account
...
New RPC methods: move, sendfrom
Change to getbalance (now takes optional [account] argument)
Renamed methods with "label" in their names.
sendtoaddress returns hexadecimal transaction ID instead of "sent".
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@188 1a98c847-1fd6-4fd8-948a-caf3550aa51b
2010-11-22 15:53:20 +00:00
Gavin Andresen
593f74b9cb
Merge remote branch 'refs/remotes/svn/trunk' into svn
2010-11-22 00:06:42 -05:00