Commit Graph

30 Commits

Author SHA1 Message Date
JoelKatz
179b59bf3c Cleanup. 2012-10-27 19:29:39 -07:00
JoelKatz
5808ac0700 Show acquired ledgers in server_info 2012-10-26 15:37:29 -07:00
JoelKatz
ef40099649 Major updates to the ledger tracking system. 2012-10-25 01:50:07 -07:00
JoelKatz
806a025523 Small bugfixes. 2012-10-24 12:56:49 -07:00
JoelKatz
853136b2a5 Trigger the history acquire code under the correct conditions.
Advance the "last full ledger" tracking correctly.
2012-10-24 11:17:00 -07:00
JoelKatz
8705d0258d Add a "full history" mode that causes the node to try to keep full history
going back to the genesis ledger. Not fully implemented yet.
2012-10-22 10:31:07 -07:00
JoelKatz
6f2e4b8172 Add RPC "accept_ledger" function which processes all pending transactions (in standalone mode only)
and closes the ledger, opening a new one. The sequence number of the new open ledger is returned.
2012-10-08 20:02:52 -07:00
Arthur Britto
be54bf070c Make getLedgerByHash(0) return the current ledger. 2012-09-26 15:02:17 -07:00
JoelKatz
ca1436ac25 Remove some dead code that was in my way. 2012-09-11 14:51:13 -07:00
JoelKatz
9ef0a5491b Use "Ledger::ref" instead of "const Ledger::pointer&". 2012-08-31 18:11:41 -07:00
Arthur Britto
d96070f083 Rename TransactionEngineResult to TER & work on ripple. 2012-08-29 11:58:34 -07:00
JoelKatz
420ee91877 Remove more wasteful allocate/increment/decrement/free cycles. 2012-08-19 19:23:10 -07:00
JoelKatz
e473ce8424 Support "standalone" mode (-a or --standalone) in which we do not connect
to the network and do not close ledgers. This mode makes it much easier to
test transactions as they are only applied once to the open ledger.
2012-08-14 15:35:30 -07:00
JoelKatz
e39c73d704 Remove wobble logic from the ledger master code. 2012-07-16 13:25:52 -07:00
JoelKatz
19b4ea8160 Beging removing the "wobble" logic, as CLC doesn't use it. 2012-07-16 12:02:09 -07:00
JoelKatz
3b43d2d88c Make a function to store a ledger. 2012-07-16 00:30:59 -07:00
JoelKatz
7d2e55346f Call NetworkOPs::pubTransaction. 2012-06-27 20:39:00 -07:00
JoelKatz
e4d8bda4a6 Cosmetic fix. 2012-06-26 02:00:32 -07:00
JoelKatz
b3f91fc7b2 Prototype fix. 2012-06-03 19:43:46 -07:00
JoelKatz
75ad545916 Finish the wobble rework. 2012-06-03 15:30:39 -07:00
JoelKatz
d35bb54c06 Structures to correctly handle both pre and post close wobble. 2012-06-03 12:24:10 -07:00
JoelKatz
8701337af7 Work on the wobble logic. 2012-06-02 16:19:37 -07:00
JoelKatz
83aa616d13 Remove synched flag, and neww pushLedger function. 2012-05-30 21:25:47 -07:00
Arthur Britto
68c8434a2b Rework RPCServer to go through NetworkOPs. 2012-05-30 00:41:10 -07:00
Arthur Britto
0492ea5877 Cosmetic SQL clean up. 2012-05-07 18:39:19 -07:00
JoelKatz
41be3dfd35 Ledger switch logic. 2012-05-05 13:50:55 -07:00
JoelKatz
77ebac9b5f Properly track the most recently closed ledger. That's the first thing the
network must agree on.
2012-05-01 02:27:27 -07:00
JoelKatz
9a94752da1 Remove dead code. Add tie in to TransactionEngine code. 2012-04-23 15:56:29 -07:00
Arthur Britto
73ff9b95ad Rework addresses. 2012-03-17 20:19:09 -07:00
Arthur Britto
c513e45754 Move sources to src and build objs in obj. 2012-03-06 22:43:06 -08:00