Author | SHA1 | Message | Date |
---|---|---|---|
mergify[bot] |
b69ac23fd2
|
light: add case to catch cancelled contexts within the detector (backport #6701) (#6720) | 3 years ago |
Anton Kaliaev |
85a4be87a7
|
rpc/client: take context as first param (#5347)
Closes #5145 also applies to light/client |
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 |
41c11ad2c1
|
evidence: handling evidence from light client(s) (#4532)
Closes: #4530 This PR contains logic for both submitting an evidence by the light client (lite2 package) and receiving it on the Tendermint side (/broadcast_evidence RPC and/or EvidenceReactor#Receive). Upon receiving the ConflictingHeadersEvidence (introduced by this PR), the Tendermint validates it, then breaks it down into smaller pieces (DuplicateVoteEvidence, LunaticValidatorEvidence, PhantomValidatorEvidence, PotentialAmnesiaEvidence). Afterwards, each piece of evidence is verified against the state of the full node and added to the pool, from which it's reaped upon block creation. * rpc/client: do not pass height param if height ptr is nil * rpc/core: validate incoming evidence! * only accept ConflictingHeadersEvidence if one of the headers is committed from this full node's perspective This simplifies the code. Plus, if there are multiple forks, we'll likely to receive multiple ConflictingHeadersEvidence anyway. * swap CommitSig with Vote in LunaticValidatorEvidence Vote is needed to validate signature * no need to embed client http is a provider and should not be used as a client |
5 years ago |
Anton Kaliaev |
ab6ac6d435
|
lite2: improve string output of all existing providers (#4387)
before: &http{AFBSD743A...} after: http{https://127.0.0.1:26657} Co-authored-by: Marko <marbar3778@yahoo.com> |
5 years ago |