Commit Graph

13 Commits

Author SHA1 Message Date
JoelKatz
abf41dd4de Fix a large number of cases where we copy construct a shared_ptr just to destroy it. 2012-08-15 04:01:22 -07:00
JoelKatz
227754496e Fix what is probably *the* bug. We aren't usually in our own UNL, so we
specially mark our validations trusted. But that wasn't properly taken into
account in one case where we decide if a validation is current. This causes
two nodes to each not recognize their own validations, so they tend to
exchange ledgers.

Cleanups, extra logging.
2012-08-13 23:14:39 -07:00
JoelKatz
6553b21318 Fix some dead ledger logic. 2012-08-06 03:05:35 -07:00
JoelKatz
39b28e1f50 Don't switch to a dead ledger. Without this, we can even get out of sync with ourselves! 2012-08-06 02:21:17 -07:00
JoelKatz
5778cb1183 Keep one validation back to avoid a split case when some nodes have sent new validations and some haven't 2012-08-03 04:07:01 -07:00
JoelKatz
d83d8080fd Efficiently save validations. 2012-07-17 03:10:05 -07:00
JoelKatz
ecd47f0ea8 Cut to 32-bit network times. 2012-07-12 01:41:24 -07:00
JoelKatz
98c8529701 Some extra validation operations needed by CLC. 2012-07-09 15:49:46 -07:00
JoelKatz
75f3b4129c CLC needs validation counts for previous ledgers. 2012-07-09 10:41:27 -07:00
JoelKatz
93a05d55ca Sanitize validation handling. 2012-06-20 18:01:38 -07:00
JoelKatz
58dcc8b9c1 Don't use stale validiations. 2012-06-20 13:26:32 -07:00
JoelKatz
d57236599e Make this code work. 2012-06-18 17:01:35 -07:00
Arthur Britto
c513e45754 Move sources to src and build objs in obj. 2012-03-06 22:43:06 -08:00