JoelKatz
2d49cacd29
Move all SQL operations on ledger close into the ledger code so we can
...
accept ledgers without having to participate in the consensus process. We'll
need this when we implement "catch up".
Move AcctTx into the same connection as Txn so they can be part of a single
transaction.
Dispatch ledger accept synchronization functions into a detached thread so it
doesn't stall our I/O engine.
2012-06-09 22:01:31 -07:00
JoelKatz
16f68296c4
Avoid warnings.
2012-06-09 19:13:09 -07:00
JoelKatz
b96ead819e
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-06-09 19:12:20 -07:00
JoelKatz
197a19b996
Beginning transaction persistance.
2012-06-09 19:12:06 -07:00
Arthur Britto
34b4e1ea61
Minor clean up.
2012-06-09 18:50:25 -07:00
Arthur Britto
6d9be7e4fd
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-06-09 18:45:06 -07:00
Arthur Britto
8d5c652b35
Merge branch 'reporting'
...
Conflicts:
src/RPCServer.cpp
2012-06-09 18:44:49 -07:00
JoelKatz
7a511d36ef
Suppress duplicates.
2012-06-09 18:38:08 -07:00
Arthur Britto
0458166af1
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-06-09 18:37:30 -07:00
Arthur Britto
f9bdeebd86
Most of rework for command dispatching and error messages for RPC.
2012-06-09 18:37:20 -07:00
Arthur Britto
99fe81b4e9
Add NUMBER() to utils.h
2012-06-09 18:36:49 -07:00
JoelKatz
43d0e8bdb7
Cleanup.
2012-06-09 18:31:15 -07:00
JoelKatz
c1c64fe1c7
Fix.
2012-06-09 18:30:01 -07:00
JoelKatz
d888cc2da8
Bugfixes.
2012-06-09 18:28:34 -07:00
JoelKatz
8d8d2c6691
Bugfixes.
2012-06-09 18:14:32 -07:00
JoelKatz
9739eea860
More sensible name
2012-06-09 18:08:16 -07:00
JoelKatz
20499106f0
Bugfixes.
2012-06-09 18:04:44 -07:00
JoelKatz
e2288acfd1
More work on account_tx command.
2012-06-09 17:59:24 -07:00
JoelKatz
380902536f
Framework for account_tx command.
2012-06-09 16:58:04 -07:00
Arthur Britto
34b0a88b86
Fix create on send.
2012-06-09 15:23:44 -07:00
Arthur Britto
9bd1481d77
Merge branch 'master' into misc
2012-06-09 15:06:15 -07:00
Arthur Britto
96cb82ce19
Have RPC send automatically create accounts.
2012-06-09 15:04:24 -07:00
JoelKatz
c0fced82c8
Cleanup.
2012-06-09 02:31:56 -07:00
JoelKatz
182d23e22a
Give account state node types.
2012-06-09 02:27:57 -07:00
JoelKatz
eaf511ebb6
New ledger code.
2012-06-09 02:22:15 -07:00
JoelKatz
51ba107e2c
Fix breakage.
2012-06-09 02:22:00 -07:00
JoelKatz
dd27ce9324
Sorry, I broke this.
2012-06-09 01:59:00 -07:00
JoelKatz
424582a219
Dead code.
2012-06-09 01:50:52 -07:00
JoelKatz
5dcc7908dd
ledger [id|current|lastclosed] [full]
...
Implementation is not 100% complete yet.
2012-06-09 01:49:18 -07:00
JoelKatz
40748df505
Store completed transactions in the SQL database, indexed by accounts
...
affected and ledger seq.
2012-06-09 01:33:13 -07:00
JoelKatz
bb54bf8c1d
Change some BN_free to BN_clear_free
2012-06-08 22:21:16 -07:00
JoelKatz
349272cddc
Missing from previous.
2012-06-08 20:48:22 -07:00
JoelKatz
f92d5b6ceb
Untie the dependencies between NewcoinAddress and BIGNUM.
2012-06-08 20:47:05 -07:00
JoelKatz
51d0a44cdd
Whitespace
2012-06-08 20:46:29 -07:00
JoelKatz
eb2ce22eff
Our bit order change to uint256 broke the logic used to convert CBigNum's to
...
and from uint256's. This code is really awful though. We probably should
just re-implement what we need of it. (Which is very little.) It looks
like the author just didn't know about BN_bin2bn and BIN_bn2bin.
2012-06-08 20:45:20 -07:00
JoelKatz
ea5ae2a113
Structures for tracking transactions by which accounts they affect.
2012-06-08 18:13:13 -07:00
JoelKatz
b70cdd7fa4
Make Get/Set PrivateKeyU work.
2012-06-08 16:13:24 -07:00
JoelKatz
0f16669987
Bufix.
2012-06-08 15:56:41 -07:00
JoelKatz
17c57e7819
Add skeleton of new code.
2012-06-08 15:55:52 -07:00
JoelKatz
398ce4b95f
Whitespace.
2012-06-08 05:42:02 -07:00
JoelKatz
85d31c240f
Dead code.
2012-06-08 05:31:51 -07:00
JoelKatz
240971775b
Dead code.
2012-06-08 05:31:43 -07:00
JoelKatz
4b79e7dca8
New canonical transaction order code. Tested and working.
...
CanonicalTXSet acts much like a map, but sorts the transactions in a simple
order that makes them take fewer passed.
2012-06-08 05:09:23 -07:00
JoelKatz
261b34e0c3
Bugfixes. If an object lost its last external reference while we were refreshing it, boom.
...
New store/retrieve functions for objects that aren't held through shared pointers.
2012-06-08 04:34:32 -07:00
JoelKatz
2c5f91a384
Add comment.
2012-06-08 04:34:23 -07:00
JoelKatz
03d90e4f56
Whitespace.
2012-06-08 04:34:14 -07:00
JoelKatz
95e52d5740
Typo was causing this code not to work.
2012-06-08 04:09:22 -07:00
jed
ec9b304cb6
changed return of wallet_accounts
2012-06-07 23:17:28 -07:00
jed
74518e77d0
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-06-07 15:02:37 -07:00
jed
a098f95648
.
2012-06-07 15:02:22 -07:00