Commit Graph

25 Commits

Author SHA1 Message Date
JoelKatz
87df08ea0b Mark some significant optimization opportuntities. 2012-10-25 18:46:22 -07:00
Arthur Britto
249725b66b Rename NewcoinAddress to RippleAddress. 2012-10-25 18:31:20 -07:00
JoelKatz
19efa3bf9b Make sure we properly handle receiving our own proposals and validations. 2012-10-19 11:51:44 -07:00
JoelKatz
0630a4b7f4 We have to track the high node ID of trusted validators as a tie-breaker.
1) Change return from getCurrentValidations
2) Log tiebreaker logic to aid debugging
3) Change checkLastClosedLedger to use the new tie-breaker logic
4) Log when we refuse to switch to our own previous ledger
5) Track node ID in the serialized validation object
6) Simplify getCurrentValidations ledger suppression logic
2012-10-05 03:46:24 -07:00
JoelKatz
2a6ce337b2 The old signature logic won't work with the new scheme. This is simpler
and the way the new code is supposed to work.
2012-10-04 23:45:52 -07:00
JoelKatz
e2c257f50b Fix a bug Jed reported. More JSON work. Redo format layouts. 2012-10-01 20:09:24 -07:00
JoelKatz
e04b695434 Burninate "Value" in "*ValueField*" functions. It was just pointless extra typing.
What else would you set/get in a field, by name, other than its value?
2012-10-01 15:35:30 -07:00
JoelKatz
a40120b6c9 Cleanups and fixes. 2012-09-27 14:11:10 -07:00
JoelKatz
3f469c914d More serialization work. 2012-09-26 16:26:39 -07:00
JoelKatz
4930ebb945 Simplify the way we handle validations. Include a signing time instead of a
closing time. Keep only the validation with the most recent signing time.
Sign using network time. This eliminates the ValidationPair nightmare and
makes the logic must easier to understand, increasing confidence that it
does what it's supposed to do.
2012-09-03 20:13:57 -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
82acac809f Remove unused fields. 2012-07-09 10:42:20 -07:00
JoelKatz
e383a59b5e Support validations with versions in them. 2012-06-27 13:33:22 -07:00
JoelKatz
ee2b1580a5 Use new hash prefixes. 2012-06-25 09:12:15 -07:00
JoelKatz
5073185354 Remove a redundant and expensive test. 2012-06-23 22:45:24 -07:00
JoelKatz
9db52a232a Split get signing hash operation and signature verify operation. 2012-06-23 21:53:54 -07:00
JoelKatz
58dcc8b9c1 Don't use stale validiations. 2012-06-20 13:26:32 -07:00
JoelKatz
582f18eec5 Fix crash bug. 2012-06-20 04:18:48 -07:00
JoelKatz
171b5420d0 Fix some bugs in previous commit. 2012-06-20 02:20:31 -07:00
JoelKatz
ad86e17920 Make validation code work. 2012-06-18 16:58:21 -07:00
Arthur Britto
368e5a0acc Have consensus use the config for validation and use uint160 for peerIDs. 2012-06-13 15:51:30 -07:00
Arthur Britto
f548e27e67 Cosmetic changes. 2012-05-05 16:46:29 -07:00
JoelKatz
ccb7427a14 Validation signature bugfix. 2012-05-05 13:51:29 -07:00
JoelKatz
824f6a14c9 Class to handle validations. 2012-05-03 12:40:54 -07:00