Crate sc_light[][src]

Expand description

Light client components.

Re-exports

pub use backend::*;
pub use blockchain::*;
pub use call_executor::*;
pub use fetcher::*;

Modules

Light client backend. Only stores headers and justifications of blocks. Everything else is requested from full nodes on demand.

Light client blockchain backend. Only stores headers and justifications of recent blocks. CHT roots are stored for headers of ancient blocks.

Methods that light client could use to execute runtime calls.

Light client data fetcher. Fetches requested data from remote full nodes.

Functions

Create an instance of fetch data checker.

Create an instance of light client backend.

Create an instance of light client blockchain backend.