zcashd/src
Pieter Wuille 64c7ee7e6b CWallet class
* A new class CKeyStore manages private keys, and script.cpp depends on access to CKeyStore.
* A new class CWallet extends CKeyStore, and contains all former wallet-specific globals; CWallet depends on script.cpp, not the other way around.
* Wallet-specific functions in CTransaction/CTxIn/CTxOut (GetDebit, GetCredit, GetChange, IsMine, IsFromMe), are moved to CWallet, taking their former 'this' argument as an explicit parameter
* CWalletTx objects know which CWallet they belong to, for convenience, so they have their own direct (and caching) GetDebit/... functions.
* Some code was moved from CWalletDB to CWallet, such as handling of reserve keys.
* Main.cpp keeps a set of all 'registered' wallets, which should be informed about updates to the block chain, and does not have any notion about any 'main' wallet. Function in main.cpp that require a wallet (such as GenerateCoins), take an explicit CWallet* argument.
* The actual CWallet instance used by the application is defined in init.cpp as "CWallet* pwalletMain". rpc.cpp and ui.cpp use this variable.
* Functions in main.cpp and db.cpp that are not used by other modules are marked static.
* The code for handling the 'submitorder' message is removed, as it not really compatible with the idea that a node is independent from the wallet(s) connected to it, and obsolete anyway.
2011-06-15 11:05:55 +02:00
..
cryptopp directory re-organization (keeps the old build system) 2011-04-23 12:10:25 +02:00
json directory re-organization (keeps the old build system) 2011-04-23 12:10:25 +02:00
obj directory re-organization (keeps the old build system) 2011-04-23 12:10:25 +02:00
xpm directory re-organization (keeps the old build system) 2011-04-23 12:10:25 +02:00
base58.h Demystify a few magic numbers. 2011-06-06 12:49:11 -05:00
bignum.h Demystify a few magic numbers. 2011-06-06 12:49:11 -05:00
db.cpp CWallet class 2011-06-15 11:05:55 +02:00
db.h CWallet class 2011-06-15 11:05:55 +02:00
headers.h move wallet code to separate file 2011-06-15 11:05:55 +02:00
init.cpp CWallet class 2011-06-15 11:05:55 +02:00
init.h CWallet class 2011-06-15 11:05:55 +02:00
irc.cpp Merge pull request #226 from jordanlewis/betterheaders 2011-06-14 02:05:57 -07:00
irc.h make bitcoin include files more modular 2011-05-15 12:04:20 +02:00
key.h make bitcoin include files more modular 2011-05-15 12:04:20 +02:00
keystore.cpp CWallet class 2011-06-15 11:05:55 +02:00
keystore.h CWallet class 2011-06-15 11:05:55 +02:00
main.cpp CWallet class 2011-06-15 11:05:55 +02:00
main.h CWallet class 2011-06-15 11:05:55 +02:00
makefile.mingw move wallet code to separate file 2011-06-15 11:05:55 +02:00
makefile.osx move wallet code to separate file 2011-06-15 11:05:55 +02:00
makefile.unix move wallet code to separate file 2011-06-15 11:05:55 +02:00
makefile.vc directory re-organization (keeps the old build system) 2011-04-23 12:10:25 +02:00
net.cpp CWallet class 2011-06-15 11:05:55 +02:00
net.h Faster timeout when connecting 2011-06-12 00:29:05 +02:00
noui.h move wallet code to separate file 2011-06-15 11:05:55 +02:00
rpc.cpp CWallet class 2011-06-15 11:05:55 +02:00
rpc.h directory re-organization (keeps the old build system) 2011-04-23 12:10:25 +02:00
script.cpp CWallet class 2011-06-15 11:05:55 +02:00
script.h CWallet class 2011-06-15 11:05:55 +02:00
serialize.h Bump version to 0.3.23. 2011-06-05 10:39:01 -04:00
strlcpy.h make bitcoin include files more modular 2011-05-15 12:04:20 +02:00
ui.cpp CWallet class 2011-06-15 11:05:55 +02:00
ui.h move wallet code to separate file 2011-06-15 11:05:55 +02:00
uibase.cpp Manual merge of jaromil's source tree reorg commit. 2011-05-09 14:00:14 -04:00
uibase.h Manual merge of jaromil's source tree reorg commit. 2011-05-09 14:00:14 -04:00
uint256.h make bitcoin include files more modular 2011-05-15 12:04:20 +02:00
util.cpp Merge pull request #226 from jordanlewis/betterheaders 2011-06-14 02:05:57 -07:00
util.h Merge pull request #226 from jordanlewis/betterheaders 2011-06-14 02:05:57 -07:00
wallet.cpp CWallet class 2011-06-15 11:05:55 +02:00
wallet.h CWallet class 2011-06-15 11:05:55 +02:00