18 Commits (dea73e08b3aa90377316dc66c5c181f9eb0b147a)

Author SHA1 Message Date
  Anton Kaliaev 72851a12d3 libs/log: format []byte as hexidecimal string (uppercased) (#5960) 4 years ago
  Callum Waters 2dd5cbfb5c
light: remove witnesses in order of decreasing index (#6065) 4 years ago
  Anton Kaliaev 70a62be5c6
light: run detector for sequentially validating light client (#5538) (#5601) 4 years ago
  Anton Kaliaev 406dd74220 light: cross-check the very first header (#5429) 4 years ago
  Anton Kaliaev 85a4be87a7
rpc/client: take context as first param (#5347) 4 years ago
  Callum Waters ed002cea7e
evidence: introduction of LightClientAttackEvidence and refactor of evidence lifecycle (#5361) 4 years ago
  Callum Waters e2927d2088
light: move dropout handling and invalid data to the provider (#5308) 4 years ago
  Marko e0140e4beb
evidence: remove ConflictingHeaders type (#5317) 4 years ago
  Callum Waters 2b58a62721
light: implement light block (#5298) 4 years ago
  Marko 2d167aefcf
ci: freeze golangci action version (#5196) 4 years ago
  Marko 2ac5a559b4
libs: wrap mutexes for build flag with godeadlock (#5126) 4 years ago
  Anton Kaliaev 5223cbac27
light: return if target header is invalid (#5124) 5 years ago
  Anton Kaliaev a08316f16a
light: use bisection (not VerifyCommitTrusting) when verifying a head… (#5119) 5 years ago
  Anton Kaliaev 42be533129 types: verify commit fully 5 years ago
  Callum Waters 65d7ce9c9c
evidence: improve amnesia evidence handling (#5003) 5 years ago
  Callum Waters b1dba352b0
light: added more tests for pruning, initialization and bisection (#4978) 5 years ago
  Callum Waters d53a8d0377
light: implement validate basic (#4916) 5 years ago
  Marko c2578e2262
light: rename lite2 to light & remove lite (#4946) 5 years ago
  Anton Kaliaev 123beeadc4
lite2: compare header with witnesses in parallel (#4935) 5 years ago
  Anton Kaliaev 2af939a5dd
lite2: check header w/ witnesses only when doing bisection (#4929) 5 years ago
  Callum Waters 1b50b4e765
lite2: fix pivot height during bisection (#4850) 5 years ago
  Anton Kaliaev b7b721c484
change use of errors.Wrap to fmt.Errorf with %w verb 5 years ago
  Anton Kaliaev d202fab478
types: simplify VerifyCommitTrusting 5 years ago
  Anton Kaliaev 41c11ad2c1
evidence: handling evidence from light client(s) (#4532) 5 years ago
  Marko 499f9ed153
lint: add review dog (#4652) 5 years ago
  Anton Kaliaev 6c88d2ba1f
lite2: make maxClockDrift an option (#4616) 5 years ago
  Callum Waters 5c380cdacb
lite2: use bisection for some of backward verification (#4575) 5 years ago
  Callum Waters a25faed5f0
lite2: cache headers in bisection (#4562) 5 years ago
  Callum Waters b6f0aa3a88
lite2: replace primary when providing invalid header (#4523) 5 years ago
  Anton Kaliaev d3f965ba68
lite2: indicate success/failure of Update (#4536) 5 years ago
  Anton Kaliaev 431618cef6
lite2: remove auto update (#4535) 5 years ago
  Callum Waters ff786515b8
lite: add helper functions for initiating the light client (#4486) 5 years ago
  Anton Kaliaev 9bf8f41ac9
lite2: fix tendermint lite sub command (#4505) 5 years ago
  Anton Kaliaev b5f6bfa4f9
lite2: return height as 2nd return param in TrustedValidatorSet (#4479) 5 years ago
  Callum Waters 6be0e13823
lite2: prune-headers (#4478) 5 years ago
  Anton Kaliaev 6daea31f50
lite2: remove expiration checks on functions that don't require them (#4477) 5 years ago
  Callum Waters 9231b52e0d
lite2: cross-check first header and update tests (#4471) 5 years ago
  Anton Kaliaev c4f7256766
lite2: store current validator set (#4472) 5 years ago
  Callum Waters f934ca82fc
lite2: don't save intermediate headers (#4452) 5 years ago
  Callum Waters 2c7af01cb6
lite2: return already verified headers and verify earlier headers (#4428) 5 years ago
  Callum Waters 1874a97170
lite: modified bisection to loop (#4400) 5 years ago
  Callum Waters f5901ea460
lite2: divide verify functions (#4412) 5 years ago
  Anton Kaliaev c56fd04ab4
lite2: disconnect from bad nodes (#4388) 5 years ago
  Callum Waters 58620af5e0
lite2: modified sequence method to match bisection (#4403) 5 years ago
  Callum Waters da813e4e36
lite2: manage witness dropout (#4380) 5 years ago
  Anton Kaliaev aeb6cc475e
lite2: return if there are no headers in RemoveNoLongerTrustedHeaders (#4378) 5 years ago
  Anton Kaliaev b2832c66af
lite2: validate TrustOptions, add NewClientFromTrustedStore (#4374) 5 years ago
  Callum Waters af37db39b0
lite2: cross-check new header with all witnesses (#4373) 5 years ago
  Callum Waters bb7a80ec7e
lite2: fetch missing headers (#4362) 5 years ago
  Callum Waters df3eee455c
lite2: replace primary provider with alternative when unavailable (#4354) 5 years ago