jed
315db73ddd
build on windows
2012-01-19 09:51:01 -08:00
JoelKatz
94e4e1d04b
Handle all the weird edge cases, such as:
...
A remote transaction is received *from* a local account. We neeed
to update our balance and sequence tracking.
A local transaction loses to a conflict.
2012-01-18 15:33:58 -08:00
JoelKatz
e9928ecc20
Change name of mAccountSeq to make it clear that it's the family
...
sequence not the transaction sequence
2012-01-18 14:17:28 -08:00
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
f1052e0706
Cleanup, debug, extra JSON info.
2012-01-17 20:39: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
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
3d8e7027e4
Helper function to parse families. Code to issue new accounts.
2012-01-07 13:58:52 -08:00
JoelKatz
c1213b20c6
Some missing lock logic.
2012-01-05 16:53:31 -08:00
JoelKatz
d5208e6d92
Add some LocalAccount helper functions. Add parseAccount.
2012-01-03 20:30:36 -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
fb3d128268
Updates.
2012-01-01 02:58:05 -08:00
JoelKatz
26bcde4d37
Helper functions.
2011-12-31 18:10:30 -08:00
JoelKatz
812df57fcf
Bugfixes.
2011-12-30 18:49:38 -08:00
JoelKatz
86ce1e39d8
Missing pieces.
2011-12-30 15:10:48 -08:00
JoelKatz
91cbe75066
Separate the databases, give them their own connections and locks.
2011-12-29 20:55:03 -08:00
JoelKatz
8c5918b576
More wallet work and RPC work. The first real newcoin RPC "createfamily"
...
(to create a family of accounts) works.
2011-12-29 02:02:30 -08:00
JoelKatz
ca33205b83
Cleanups.
2011-12-27 20:48:44 -08:00
JoelKatz
4b88113a51
More work on the new wallet code.
2011-12-27 19:18:42 -08:00
JoelKatz
67a5544458
Include unit test, Wallet<->SQL updates.
2011-12-26 21:37:43 -08:00
JoelKatz
5cec2e9a11
New wallet system. Still missing unit tests, ledger synchronization,
...
and SQL code. This uses some of the 'magic' properties of elliptic
curves to create related families of public and private keys.
Wallet encryption is not needed because the private keys do not
need to be stored.
2011-12-26 18:42:50 -08:00
JoelKatz
c7f890ab47
Bugfixes.
2011-12-15 12:44:29 -08:00
JoelKatz
8d4ccc712b
Sometimes the simplest errors are the hardest to find. Local variable
...
shadowed class member.
2011-12-12 20:36:09 -08:00
JoelKatz
65c09f3ce9
Tie into PubKeyCache.
2011-12-04 19:34:10 -08:00
JoelKatz
f3ed8b7ec9
Updates, working to get the network code going.
2011-11-30 21:29:38 -08:00
JoelKatz
f243286bc9
Bugfixes and new code. Ledger unit test now successfully creates a local
...
account, creates an initial ledger, closes the initial ledger and opens a
new ledger, creates a second account, and adds a transaction to transfer
funds to the open ledger.
2011-11-30 12:19:48 -08:00
JoelKatz
75f1eb80a4
Make these pieces work together.
2011-11-28 19:33:50 -08:00
jed
7436a8deec
.
2011-10-28 16:51:35 -07:00
jed
e68b0fb8d1
.
2011-10-27 16:59:42 -07:00
jed
0416d64fdc
.
2011-10-20 16:34:22 -07:00
jed
650ee74391
.
2011-10-20 13:34:49 -07:00
jed
a8e8613475
first
2011-10-14 11:39:06 -07:00