kaspa-consensus-client 0.15.0

Kaspa consensus client data structures
Documentation

Client-side consensus primitives.

This crate offers client-side primitives mirroring the consensus layer of the Kaspa p2p node. It declares structs such as [Transaction], [TransactionInput], [TransactionOutput], [TransactionOutpoint], [UtxoEntry], and [UtxoEntryReference] that are used by the Wallet subsystem as well as WASM bindings.

Unlike raw consensus primitives (used for high-performance DAG processing) the primitives offered in this crate are designed to be used in client-side applications. Their internal data is typically wrapped into Arc<Mutex<T>>, allowing for easy sharing between async / threaded environments and WASM bindings.