Crate floresta_chain

source ·
Expand description

Floresta Chain

This crate provides the core validation logic for a full node using libfloresta. It is maintained as a separate crate to allow other projects to build on it, independent of the libfloresta P2P network or libfloresta wallet. The main entry point is the ChainState struct, that keeps track of the current blockchain state, like headers and utreexo accumulator.

All data is stored in a ChainStore implementation, which is generic over the underlying database. See the ChainStore trait for more information. For a ready-to-use implementation, see the KvChainStore struct.

Re-exports

Modules

Macros

Enums