API#

The full API reference for every subpackage: every public class and function. Begin with Start here: a blockchain without the jargon or Your first payment, step by step; return here to check arguments and return values.

Cryptography

blockchainkit.crypto

Hashing and commitments, Diffie-Hellman and RSA, blind signatures, secret sharing, elliptic curves, and Schnorr proofs and signatures.

blockchainkit.crypto

Ledgers

blockchainkit.structures

Merkle trees and proofs, signed transfers, blocks, ledger state, and cumulative-work fork selection.

blockchainkit.structures

Agreement

blockchainkit.consensus

Proof-of-work search and its expected cost, catch-up probabilities, and stake-weighted proposer selection.

blockchainkit.consensus
blockchainkit.network

Peer graphs, logical clocks, gossip and reliable broadcast, Kademlia and its attacks, block relay, forks, and transaction privacy.

blockchainkit.network

Execution

blockchainkit.vm

A deterministic 256-bit stack machine with gas and atomic failure, Turing machines, Bitcoin Script, and smart contracts and their attacks.

blockchainkit.vm

The constants shared by every subpackage are documented in blockchainkit.constants.