Anton Kaliaev
6daea31f50
closes: #4455 Verifying backwards checks that the trustedHeader hasn't expired both before and after the loop in case of verifying many headers (a longer operation), but not during the loop itself. TrustedHeader() no longer checks whether the header saved in the store has expired. Tests have been updated to reflect the changes ## Commits: * verify headers backwards out of trust period * removed expiration check in trusted header func * modified tests to reflect changes * wrote new tests for backwards verification * modified TrustedHeader and TrustedValSet functions * condensed test functions * condensed test functions further * fix build error * update doc * add comments * remove unnecessary declaration * extract latestHeight check into a separate func Co-authored-by: Callum Waters <cmwaters19@gmail.com> |
5 years ago | |
---|---|---|
.. | ||
client.go | lite2: remove expiration checks on functions that don't require them (#4477) | 5 years ago |
proof.go | lite2: light client with weak subjectivity (#3989) | 5 years ago |
query_test.go | lite2: light client with weak subjectivity (#3989) | 5 years ago |