Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-06-19 | Fix missing includes needed for Boost 1.46. | Shane Wegner | |
2011-06-15 | CWallet class | Pieter Wuille | |
* 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 | move wallet code to separate file | Pieter Wuille | |
This introduces two new source files, keystore.cpp and wallet.cpp with corresponding headers. Code is moved from main and db, in a preparation for a follow-up commit which introduces the classes CWallet and CKeyStore. | |||
2011-06-14 | Merge pull request #226 from jordanlewis/betterheaders | Jeff Garzik | |
Optimize header dependencies; improve Makefile dependency graph | |||
2011-06-03 | create keypool in LoadWallet() | Nils Schneider | |
2011-05-17 | Only include certain boost headers if necessary. | Jordan Lewis | |
2011-05-15 | Only include net.h when we have to | Jordan Lewis | |
2011-05-15 | Only include db.h when we have to. | Jordan Lewis | |
2011-05-15 | make bitcoin include files more modular | Wladimir J. van der Laan | |
2011-05-09 | Manual merge of jaromil's source tree reorg commit. | Jeff Garzik | |
Conflicts: src/sha256.cpp | |||
2011-04-23 | directory re-organization (keeps the old build system) | Jaromil | |
there is no internal modification of any file in this commit files are moved into directories according to established standards in sourcecode distribution; these directories contain: src - Files that are used in constructing the executable binaries, but are not installed. doc - Files in HTML and text format that document usage, quirks of the implementation, and contributor checklists. locale - Files that contain human language translation of strings used in the program contrib - Files contributed from distributions or other third party implementing scripts and auxiliary programs |