JoelKatz
2a657a33c9
Make sure we leave need network ledger mode.
2013-01-08 00:41:07 -08:00
JoelKatz
69ac139485
Reduce log spew.
2013-01-08 00:36:13 -08:00
JoelKatz
7a2f098ac4
Reduce some chatty logging.
2013-01-07 23:47:21 -08:00
JoelKatz
ef2f653473
Set the accept flag for acquires triggered by the publish logic.
2013-01-07 09:01:31 -08:00
JoelKatz
2b479a66c1
Don't immediately retry a failed acquire.
2013-01-07 08:57:41 -08:00
JoelKatz
f493ea6478
Be more aggressive about avoiding publishing ledger holes. Make the logic simpler and more sensible.
2013-01-07 01:33:14 -08:00
JoelKatz
cf77fd88f9
Mark a FIXME.
2013-01-06 17:32:10 -08:00
JoelKatz
d998feb13c
Don't start a publish thread if there's nothing to publish.
2013-01-04 15:23:03 -08:00
JoelKatz
d57b5a9797
Track failed acquires. Fix a case where an acquire both succeeds and fails.
2013-01-04 15:21:31 -08:00
JoelKatz
e683f92844
Fix one case where we stop acquiring historical ledgers after a failure.
2013-01-04 12:13:58 -08:00
JoelKatz
8ace87066a
Fix a huge delay with --net
2013-01-04 01:10:13 -08:00
JoelKatz
f0c73a76ce
Fix some local acquire logic
2013-01-04 00:40:03 -08:00
JoelKatz
06c54c425c
Fix not leaving the "need network ledger" state correctly.
2013-01-04 00:08:27 -08:00
JoelKatz
b7fe1424fb
Count a ledger as present (for purposes of allowing clients that trust us to
...
query it) only when it has been validated.
2013-01-03 21:04:11 -08:00
JoelKatz
1127ae560e
Defer publishing a ledger to clients until it accumulates sufficient
...
validations. We now have an open ledger, a last closed ledger, and a last
validated ledger. Normally, a ledger will be validated right after it
closes, but in edge cases, we might see a ledger close that then doesn't get
validated. This makes the code do the right thing.
2013-01-02 12:04:16 -08:00
JoelKatz
b71d0a93f9
Bugfix.
2013-01-01 18:26:17 -08:00
JoelKatz
c2d654efee
More of the new publication logic.
2013-01-01 18:21:19 -08:00
JoelKatz
1e24721a98
First part of the fix to stop us from publishing ledgers that don't get validated.
2013-01-01 16:11:30 -08:00
JoelKatz
8b8a538a5c
On a ledger jump, properly invalidate prior ledgers and invalidate a backfill in progress.
2012-12-31 00:25:52 -08:00
JoelKatz
fa1db60011
Correctly check for acquire doneness.
2012-12-25 21:07:53 -08:00
JoelKatz
be2e55d49c
Fix some cases where the acquire engine can stall.
2012-12-25 21:05:12 -08:00
JoelKatz
7c13c57638
Make sure we clean up on a failed acquire.
2012-12-24 20:48:54 -08:00
JoelKatz
59275c0a2b
Make the "next ledger acquire" message more helpful.
2012-12-24 14:18:34 -08:00
JoelKatz
2c535940ac
Make the transaction engine report whether it added the transaction.
2012-12-23 17:42:04 -08:00
JoelKatz
5376c01edb
Cosmetic fix
2012-12-06 03:44:33 -08:00
JoelKatz
0fe9f178ef
NetworkOPs function to test if we have in our database a specified range of ledger numbers.
2012-11-29 11:46:22 -08:00
JoelKatz
6d858ab178
Get rid of "full history". You can now configure how many back ledgers you want to retrieve
...
on startup. The default is 256. The configuration element is "ledger_history". Valid values are:
0/off/false/none = don't retrieve any history
on/full/yes/-1 = retrieve all history back to the genesis ledger
<number> = retrieve that number of past ledgers
2012-11-29 11:33:33 -08:00
Stefan Thomas
fa3fab5816
Moved cpp code to src/cpp and js code to src/js.
2012-11-07 12:49:50 -08:00