Files
tendermint/spec/light-client
Thane Thomson 174783220e docs: Update v0.33.x to prepare for v0.37 (#9248)
* Ignore E2E and fuzz test folders

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Sync DOCS_README with main

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Sync docs versions with main

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Sync docs redirects with main

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Sync vuepress config with main

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Sync docs package-lock.json with main

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Update OpenAPI version to v0.33

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Update all docs/code on v0.33.x to reflect master to main change

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* make format

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Fix linter errors

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Bump golangci-lint to latest version

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Update all docs.tendermint.com links to point to v0.33

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Reorder versions in nav to have latest on top

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Update README links to spec

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Add spec as of latest v0.33 release

The latest v0.33 release was
https://github.com/tendermint/tendermint/releases/tag/v0.33.9 on Nov 16,
2020.

The spec was copied across from the old spec repo as of this commit:
32b811a1fb

Signed-off-by: Thane Thomson <connect@thanethomson.com>

* Migrate spec links to GitHub repo from docs site

Signed-off-by: Thane Thomson <connect@thanethomson.com>

Signed-off-by: Thane Thomson <connect@thanethomson.com>
2022-08-19 08:32:50 -04:00
..

Light Client Protocol

NOTE: This specification is under heavy development and is not yet complete nor accurate.

Contents

Motivation

The Tendermint Light Client is motivated by the need for a light weight protocol to sync with a Tendermint blockchain, with the least processing necessary to securely verify a recent state. The protocol consists of managing trusted validator sets and trusted block headers, and is based primarily on checking hashes and verifying Tendermint commit signatures.

Motivating use cases include:

  • Light Node: a daemon that syncs a blockchain to the latest committed header by making RPC requests to full nodes.
  • State Sync: a reactor that syncs a blockchain to a recent committed state by making P2P requests to full nodes.
  • IBC Client: an ABCI application library that syncs a blockchain to a recent committed header by receiving proof-carrying transactions from "IBC relayers", who make RPC requests to full nodes on behalf of the IBC clients.

Structure

Components

The Tendermint Light Client consists of three primary components:

While every light client must perform core verification and fork detection to achieve their prescribed security level, fork accountability is expected to be done by full nodes and validators, and is thus more accurately a component of the full node consensus protocol, though it is included here since it is primarily concerned with providing security to light clients.

A schematic of the core verification and fork detection components in a Light Node are depicted below. The schematic is quite similar for other use cases. Note that fork accountability is not depicted, as it is the responsibility of the full nodes.

Light Client Diagram.

Synchrony

Light clients are fundamentally synchronous protocols, where security is restricted by the interval during which a validator can be punished for Byzantine behaviour. We assume here that such intervals have fixed and known minimal duration referred to commonly as a blockchain's Unbonding Period.

A secure light client must guarantee that all three components - core verification, fork detection, and fork accountability - each with their own synchrony assumptions and fault model, can execute sequentially and to completion within the given Unbonding Period.

TODO: define all the synchrony parameters used in the protocol and their relation to the Unbonding Period.