jed
92f6ad6d37
getting connections working
2012-01-19 12:32:41 -08:00
JoelKatz
239e26a56e
Update with current RPC commands. Fix help logic.
2012-01-19 10:26:21 -08:00
JoelKatz
4ec389f0e6
Remove test.cpp, switch Makefile to use main.cpp
2012-01-19 10:26:01 -08:00
JoelKatz
d31a85fe3a
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-01-19 10:14:20 -08:00
JoelKatz
61f72e2141
Remove old code.
2012-01-19 10:04:48 -08:00
JoelKatz
ef24377d08
'connect' RPC command
2012-01-19 10:03:57 -08:00
JoelKatz
969ef6540e
Implement 'connectTo'.
2012-01-19 10:03:04 -08:00
JoelKatz
805990618e
Remove some functionality that belongs in ConnectionPool
2012-01-19 10:02:34 -08:00
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
60dcb8ac35
Trivial changes.
2012-01-18 14:19:04 -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
0df4957b28
Cleanups and two small bugfixes. (Wrong SQL, wrong sequence in signature)
2012-01-18 14:16:44 -08:00
JoelKatz
7a84e5e54f
Cleanup
2012-01-18 14:15:22 -08:00
JoelKatz
702a592b9c
Process local Txns.
2012-01-18 14:15:00 -08:00
JoelKatz
efb9fd7e1f
Extra debug
2012-01-18 14:14:46 -08:00
JoelKatz
1277ffd91c
Apply local Txns.
2012-01-18 14:14:34 -08:00
JoelKatz
a5da80d36d
Fix issues in applying local transactions.
2012-01-18 14:14:23 -08:00
JoelKatz
ff2cc0aee4
Create more funds in initial ledger.
2012-01-18 14:13:48 -08:00
JoelKatz
88ff8767bb
Some extra debug help.
2012-01-18 11:44:47 -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
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