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
JoelKatz
86ce1e39d8
Missing pieces.
2011-12-30 15:10:48 -08:00
JoelKatz
28c459cc8a
Don't use system sqlite, use the included amalgamation.
2011-12-30 15:10:21 -08:00
JoelKatz
7087cb4ffa
Missing from previous commit.
2011-12-29 21:32:47 -08:00
JoelKatz
e6631bd4f1
Bump to verions 3.7.9
2011-12-29 21:26:21 -08:00
JoelKatz
8ef1b5133c
Cleanups.
2011-12-29 20:55:14 -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
780f94798e
Cleanups and fixes.
2011-12-20 22:01:06 -08:00
JoelKatz
d4276bfbec
Style changes.
2011-12-20 16:54:47 -08:00
JoelKatz
1fae19edf2
Tiny fixes.
2011-12-19 20:34:45 -08:00
JoelKatz
c5509b8b00
Finish modifying this code to use the JsonCpp library.
2011-12-19 08:02:16 -08:00
JoelKatz
0421268daa
Add 'zero' method to zero a uint.
2011-12-18 01:24:08 -08:00
JoelKatz
170eb9c4b0
Begin to bring some sanity to the RPC code.
2011-12-18 01:23:58 -08:00
JoelKatz
d9e2f1ebfa
Cleanups.# modified: Peer.cpp
2011-12-17 21:24:04 -08:00
JoelKatz
80b2ac8ee2
This is a way to do deterministic keys that fits in better.
2011-12-17 21:12:05 -08:00
JoelKatz
aad4696a46
Comment out non-working code.
2011-12-17 13:33:32 -08:00
JoelKatz
1fb12e9883
Fix include paths.
2011-12-17 13:32:56 -08:00
JoelKatz
1460069dc7
The json spirit code used by bitcoin performs horribly because it uses a
...
very generic parser (and it has been a huge problem for bitcoin). This is a
much saner JSON library. The sooner we switch, the less pain.
2011-12-17 13:29:43 -08:00
JoelKatz
0b8aaf691f
Get this exactly right.
2011-12-16 22:14:09 -08:00
JoelKatz
715bff43ef
Micro-optimizations.
2011-12-16 21:51:05 -08:00
JoelKatz
ad8dcaa473
Comments.
2011-12-16 20:19:19 -08:00