Author | SHA1 | Message | Date |
---|---|---|---|
Callum Waters |
b272746444
|
Merge pull request from GHSA-f3w5-v9xx-rp8p
* add time warping lunatic attack test * create too high and connecton refused errors and add to the light client provider * add height check to provider * introduce block lag * add detection logic for processing forward lunatic attack * add node-side verification logic * clean up tests and formatting * update adr's * update testing * fix fetching the latest block * format * update changelog * implement suggestions * modify ADR's * format * clean up node evidence verification |
4 years ago |
Callum Waters |
37d36cd5bc
|
light: improve provider handling (#6053)
Introduces heuristics that track the amount of no responses or unavailable blocks a provider has for more robust provider handling by the light client. Use concurrent calls to all witnesses when a new primary is needed. |
4 years ago |
Callum Waters |
e2927d2088
|
light: move dropout handling and invalid data to the provider (#5308) | 4 years ago |
Callum Waters |
2b58a62721
|
light: implement light block (#5298) | 4 years ago |
Marko |
c2578e2262
|
light: rename lite2 to light & remove lite (#4946)
This PR removes lite & renames lite2 to light throughout the repo Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> Closes: #4944 |
5 years ago |
Anton Kaliaev |
f95409e070
|
lite2: move AutoClient into Client (#4326)
* lite2: move AutoClient into Client Most of the users will want auto update feature, so it makes sense to move it into the Client itself, rather than having a separate abstraction (it makes the code cleaner, but introduces an extra thing the user will need to learn). Also, add `FirstTrustedHeight` func to Client to get first trusted height. * fix db store tests * separate examples for auto and manual clients * AutoUpdate tries to update to latest state NOT 1 header at a time * fix errors * lite2: make Logger an option remove SetLogger func * fix lite cmd * lite2: make concurrency assumptions explicit * fixes after my own review * no need for nextHeightFn sequence func will download intermediate headers * correct comment |
5 years ago |