Title: [PULL] Modularizing bitcoin: CWallet class Post by: Pieter Wuille on May 23, 2011, 12:39:55 PM Hello all,
I've been working on restructuring the bitcoin source code a bit. A first step was splitting off all wallet-handling into a separate class CWallet, so that eventually eg. multiple loaded wallets at the same time are possible, less global variables are needed and in general the dependencies inside the code are improved. I ended up changing somewhat more than expected, as really a lot of code depended on access to those globals. A summary:
The code is here: https://github.com/sipa/bitcoin/tree/walletclass/src Note that the branch is not yet rebased against the current master, is a work in progress and may have bugs. There should not be any changes to the actual program logic, but segfaults or performance degradations are definitely possible. Comments are welcome. Title: Re: Modularizing bitcoin: CWallet class Post by: Pieter Wuille on June 01, 2011, 09:28:34 PM Pull request is up: https://github.com/bitcoin/bitcoin/pull/288
It seems stable now, i've received and sent (realnet) transactions with it without problems. Feel free to test :) |