Commit Graph

13634 Commits

Author SHA1 Message Date
JoelKatz
b2b8caf6b9 Fix the account state bug. Rewrite the relationship between families and
accounts. Remove the LocalAccountEntry class and make some huge
simplifications.
 Ledger.cpp     |   14 +++++--
 LocalAccount.h |   80 +++++++++++++++------------------------------
 Wallet.cpp     |  101 +++++++++++++++++++--------------------------------------
2012-01-18 11:43:25 -08:00
JoelKatz
2e0d47f782 Work to fix the transaction source sequence buglet. 2012-01-18 09:57:48 -08:00
JoelKatz
7fa8f43c59 Bugfix in 'unlock'. 2012-01-18 09:40:38 -08:00
JoelKatz
f1052e0706 Cleanup, debug, extra JSON info. 2012-01-17 20:39:41 -08:00
JoelKatz
93c7333c58 Cleanup/debug. 2012-01-17 20:39:16 -08:00
JoelKatz
5ba945b8e3 New version of the code to generate the initial ledger.
This version puts all the money in ["This is my payphrase."]
2012-01-17 20:38:32 -08:00
JoelKatz
deb0dc6d65 Cleanup format. Fix bug where account erroneously had a 0 sequence. 2012-01-17 20:38:16 -08:00
JoelKatz
66f8741398 Cleanup. 2012-01-17 19:20:06 -08:00
JoelKatz
55d0704438 Structures needed for network broadcasts. 2012-01-17 19:19:52 -08:00
JoelKatz
0272730476 Tiny cleanup. 2012-01-17 19:19:41 -08:00
JoelKatz
b62139cdcc Sync ledger with wallet. 2012-01-17 19:19:00 -08:00
JoelKatz
c35ca834a7 Sync various bits of work. 2012-01-13 00:15:34 -08:00
JoelKatz
2782c2dafe Begin work to track transactions involvings spends from local accounts. 2012-01-08 23:58:13 -08:00
JoelKatz
fa16bb430b Infrastructure for local transactions, wallet interface.
Transaction JSON code.
2012-01-08 22:18:03 -08:00
JoelKatz
f87d1bfcb7 A class to track a local transaction through its life cycle. 2012-01-08 21:38:24 -08:00
JoelKatz
fecd9042d2 Life gets easier if an account that exists in the ledger has a
defined sequence number of 1.
2012-01-08 21:24:20 -08:00
JoelKatz
c65b9ecf83 Finish moving Json code. 2012-01-07 15:53:31 -08:00
JoelKatz
7935889f00 Make the Json code more logical, avoid duplication in RPC calls. 2012-01-07 14:32:47 -08:00
JoelKatz
79808e9835 Cleanups. 2012-01-07 14:32:29 -08:00
JoelKatz
3d8e7027e4 Helper function to parse families. Code to issue new accounts. 2012-01-07 13:58:52 -08:00
JoelKatz
89495d2047 Add some helper functions to simplify parameter parsing. 2012-01-07 13:15:21 -08:00
JoelKatz
3843efe7d3 Cleanup 2012-01-07 13:15:14 -08:00
JoelKatz
528454bdab Trivial change. 2012-01-07 13:14:52 -08:00
JoelKatz
2e3a48dcea Small cleanups/fixes. 2012-01-05 16:54:55 -08:00
JoelKatz
c1213b20c6 Some missing lock logic. 2012-01-05 16:53:31 -08:00
JoelKatz
a532bfb402 Add 'accountinfo' RPC command. Change 'info' to 'familyinfo'. Spec out 'sendto'. 2012-01-03 20:31:11 -08:00
JoelKatz
d5208e6d92 Add some LocalAccount helper functions. Add parseAccount. 2012-01-03 20:30:36 -08:00
JoelKatz
ea73656a21 Cleanup of RPC names. 2012-01-03 20:30:26 -08:00
JoelKatz
285cf1aabd Support key types other than families. 2012-01-03 20:30:07 -08:00
JoelKatz
7a0dde60ad More work on the wallet/key scheme.
Call the public generator a public generator rather than a public key.
Ignore private sub-keys greater than the EC group
Bugfixes.
When we create a new key family, validate the first 500 keys, just out of paranoia.
2012-01-02 23:05:04 -08:00
JoelKatz
82a88671dd Finish 'info' RPC call. 2012-01-01 07:45:34 -08:00
JoelKatz
a24e7a4c27 Fix some database issues. 2012-01-01 07:45:13 -08:00
JoelKatz
d4a79d7c7f Most of the "info" RPC command. Prefix private generators with a 'P' so they
don't get confused with other thigns.
2012-01-01 02:58:42 -08:00
JoelKatz
3de74d1eb2 Cleanups. 2012-01-01 02:58:30 -08:00
JoelKatz
0a8b9056b6 Bugfix. 2012-01-01 02:58:12 -08:00
JoelKatz
fb3d128268 Updates. 2012-01-01 02:58:05 -08:00
JoelKatz
4351b406b6 Missing ; 2012-01-01 02:57:38 -08:00
JoelKatz
cc4db24956 Load the wallet, setup the root ledger. 2012-01-01 02:57:11 -08:00
JoelKatz
26bcde4d37 Helper functions. 2011-12-31 18:10:30 -08:00
JoelKatz
a01d8ca705 Use C++-style cast 2011-12-31 18:10:22 -08:00
JoelKatz
fe5cb25ffe Close small memory leak. 2011-12-31 18:09:59 -08:00
JoelKatz
f720dbd256 Remove dead code. 2011-12-31 00:39:52 -08:00
JoelKatz
1a05866744 Turns out there is an elegant way to do it. 2011-12-30 23:33:00 -08:00
JoelKatz
ecd63370f6 Updates. 2011-12-30 23:16:07 -08:00
JoelKatz
812df57fcf Bugfixes. 2011-12-30 18:49:38 -08:00
JoelKatz
f6830341a0 Extra debug, bugfixes. 2011-12-30 18:49:30 -08:00
JoelKatz
3d82f2bb8b Updates. 2011-12-30 18:49:20 -08:00
JoelKatz
af5f4fe2ad Identify which operation returned the error. 2011-12-30 18:49:04 -08:00
JoelKatz
5a38a71382 Missing startIterRows. 2011-12-30 18:48:29 -08:00
JoelKatz
983f4560f3 Get the databases up and running. 2011-12-30 16:08:25 -08:00