70 Commits (e538ea03d1edbd1292e73a3144c205d02d687387)

Author SHA1 Message Date
  Anton Kaliaev 8ab0a4c3b0
lite2: correctly return the results of the "latest" block (#4931) 5 years ago
  Federico Kunze da924fc62d
rpc: add BlockByHash to Client (#4923) 5 years ago
  Callum Waters 3c1cb77db2
lite2/http: fix provider test by increasing the block retention value (#4890) 5 years ago
  Callum Waters 1b50b4e765
lite2: fix pivot height during bisection (#4850) 5 years ago
  Marko 9149ee7d8b
lint: various fixes 5 years ago
  Anton Kaliaev a14ff5cb30
rpc: refactor lib folder (#4836) 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 25890a6635
types: sort validators by voting power 5 years ago
  Erik Grinaker 3e1c88fda8
lite: fix HTTP provider error handling 5 years ago
  Alexander Bezobchuk 9f29672e23
types: implement Header#ValidateBasic (#4638) 5 years ago
  Anton Kaliaev 41c11ad2c1
evidence: handling evidence from light client(s) (#4532) 5 years ago
  Anton Kaliaev 349556c6d9
lite2/rpc: verify block results and validators (#4703) 5 years ago
  Anton Kaliaev 26c9134f35
lite2: verify ConsensusHash in rpc client 5 years ago
  Marko 499f9ed153
lint: add review dog (#4652) 5 years ago
  Alexander Bezobchuk c11013f094
lite2: Default to http scheme in provider.New (#4649) 5 years ago
  Erik Grinaker fdf9c7ae64
rpc/client: split out client packages (#4628) 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
  Marko 044f1bf288
format: add format cmd & goimport repo (#4586) 5 years ago
  Callum Waters 038aff1fdb
lite2: add benchmarking tests (#4514) 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 3f883bb80a
lite2: actually run example tests + clock drift (#4487) 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
  Anton Kaliaev 774aff5f7d
docs: update Light Client Protocol page (#4405) 5 years ago
  Anton Kaliaev ab6ac6d435
lite2: improve string output of all existing providers (#4387) 5 years ago
  Callum Michael Waters 4787f7c2dd refactored lite client tests 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
  Anton Kaliaev 1edb542f99
lite2: make witnesses mandatory (#4358) 5 years ago
  Callum Waters 71d50f7ab5
lite2: panic if witness is on another chain (#4356) 5 years ago