Pieter Wuille
be2fa90b94
Bugfix in recursive check in IsConfirmed()
...
When one single dependency of an unconfirmed transaction is already verified, this does not mean the parent is confirmed. We can skip checking its own dependencies though.
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
Gavin Andresen
198fd7b0bd
Report immature coinbase transactions in listtransactions
...
Report coin generation transactions as 'category':'immature' until they have 120 confirmations (when they are reported as 'category':'generate', as before).
If the block they are in is not part of the main chain (you lost a 'block race'), then they are reported as 'category':'orphan' (with 0 confirmations).
14 years ago
Matt Corallo
8bb5edc1c9
Allow UPnP mapping when USE_UPNP is defined and miniupnpc is installed at build time(statically linked).
...
Thanks joepie91 for the translation of the new copyright notices into Dutch.
Thanks sipa for the translation of the new copyright notices into French.
Thanks megu for the translation of the new copyright notices into Spanish.
Thanks justmoon/Blitzboom for the translation of the new copyright notices into German.
Thanks Joozero for the translation of the new copyright notices into Italian.
Remaining translations were provided by Google Translate.
14 years ago
Gavin Andresen
b931ed8563
sendmany RPC command, to send to multiple recipients in one transaction.
14 years ago
Gavin Andresen
395c1f44bd
Fix minimum transaction fee calculation mismatch between CreateTransaction and CreateBlock
14 years ago
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 "".
14 years ago
Gavin Andresen
ddb68acebe
Add address to listtransactions output
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
629e37dde1
get external ip from irc
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@202 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
986b5e257e
correction
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@200 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
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
14 years ago
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
14 years ago
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
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
776d0f3459
new getwork
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@189 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
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
14 years ago
s_nakamoto
298a771494
added transaction fee setting in UI options menu,
...
cut free transaction area from 50KB to 26KB
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@187 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
f35e21e2e4
require some minimal priority for free transactions to slow down transaction spam
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@185 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
e2a186af10
SelectCoins first pass tries not to use coins with less than 6 confirmations
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@177 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
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
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
9b8eb4d690
changed free transactions per block threshold
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@157 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
8d13ca1f11
changed free transactions per block threshold
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@157 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
3df62878c3
reorganize BitcoinMiner to make it easier to add different SHA256 routines
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@154 1a98c847-1fd6-4fd8-948a-caf3550aa51b
14 years ago
s_nakamoto
71cc095cb2
reorganize BitcoinMiner to make it easier to add different SHA256 routines
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@154 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
15 years ago
Satoshi Nakamoto
7a37c906a1
block index checking on load, extra redundant checks, misc refactoring
15 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
15 years ago
s_nakamoto
05454818dc
block index checking on load, extra redundant checks, misc refactoring
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@140 1a98c847-1fd6-4fd8-948a-caf3550aa51b
15 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
15 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
15 years ago
Satoshi Nakamoto
76793dc969
fix for block 74638 overflow output transaction
15 years ago
Satoshi Nakamoto
6ac7f9f144
misc changes
15 years ago
s_nakamoto
d4c6b90ca3
fix for block 74638 overflow output transaction
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@132 1a98c847-1fd6-4fd8-948a-caf3550aa51b
15 years ago
s_nakamoto
4bd188c438
misc changes
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@131 1a98c847-1fd6-4fd8-948a-caf3550aa51b
15 years ago
Gavin Andresen
2d12315c94
Quick fix: bad block 74,652
15 years ago
Satoshi Nakamoto
9db7bf5f52
gethashespersec and added version and hashespersec to getinfo
15 years ago
s_nakamoto
fb83d28768
gethashespersec and added version and hashespersec to getinfo
...
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@127 1a98c847-1fd6-4fd8-948a-caf3550aa51b
15 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
15 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
15 years ago
Satoshi Nakamoto
40cd036941
Gavin Andresen's JSON-RPC HTTP authentication,
...
faster initial block download
-- version 0.3.3
15 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
15 years ago
Gavin Andresen
9d2174b6f5
version 0.3.1 rc1
15 years ago