mergify[bot]
b69ac23fd2
light: add case to catch cancelled contexts within the detector (backport #6701 ) ( #6720 )
2021-07-14 15:26:03 +02:00
Anton Kaliaev
406dd74220
light: cross-check the very first header ( #5429 )
...
Closes #5428
2020-10-22 12:17:53 +02:00
Anton Kaliaev
85a4be87a7
rpc/client: take context as first param ( #5347 )
...
Closes #5145
also applies to light/client
2020-09-23 09:21:57 +04:00
Callum Waters
ed002cea7e
evidence: introduction of LightClientAttackEvidence and refactor of evidence lifecycle ( #5361 )
...
evidence: modify evidence types (#5342 )
light: detect light client attacks (#5344 )
evidence: refactor evidence pool (#5345 )
abci: application evidence prepared by evidence pool (#5354 )
2020-09-22 10:22:54 +02:00
Callum Waters
e2927d2088
light: move dropout handling and invalid data to the provider ( #5308 )
2020-09-02 18:28:48 +02:00
Marko
e0140e4beb
evidence: remove ConflictingHeaders type ( #5317 )
...
## Description
Remove ConflictingHeaders & compositeEvidence types
Ref #5288
2020-09-01 16:34:37 +00:00
Callum Waters
2b58a62721
light: implement light block ( #5298 )
2020-09-01 17:45:55 +02:00
Anton Kaliaev
5223cbac27
light: return if target header is invalid ( #5124 )
...
Closes #5120
2020-07-17 06:13:00 +00:00
Anton Kaliaev
a08316f16a
light: use bisection (not VerifyCommitTrusting) when verifying a head… ( #5119 )
...
Closes #4934
* light: do not compare trusted header w/ witnesses
we don't have trusted state to bisect from
* check header before checking height
otherwise you can get nil panic
2020-07-15 15:44:30 +04:00
Callum Waters
65d7ce9c9c
evidence: improve amnesia evidence handling ( #5003 )
...
fix bug so that PotentialAmnesiaEvidence is being gossiped
handle inbound amnesia evidence correctly
add method to check if potential amnesia evidence is on trial
fix a bug with the height when we upgrade to amnesia evidence
change evidence to using just pointers.
More logging in the evidence module
Co-authored-by: Marko <marbar3778@yahoo.com >
2020-06-23 17:09:14 +02:00
Callum Waters
b1dba352b0
light: added more tests for pruning, initialization and bisection ( #4978 )
2020-06-10 18:56:24 +02:00
Callum Waters
d53a8d0377
light: implement validate basic ( #4916 )
...
run a validate basic on inbound validator sets and headers before further processing them
2020-06-04 13:45:39 +02:00
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
2020-06-03 10:13:42 +00:00