package
0.0.3
Repository: https://github.com/aquarelle-tech/darkmatter.git
Documentation: pkg.go.dev

# Functions

NewBlockChain initializes and creates a new manager of a blockchain.
Creates a new store for key-value pairs.

# Constants

BlockchainFileLocation is the directory where to store the database for the node.
Any other key.
Prefixes indentify each key in the datastore.
No description provided by the author
LatestBlockKey is the literal to be used as a key to index the latest block in the database.
MainBlockChainName is the default name for the main blocks chain.
PublicRootDir is the directory to publish the static files ofr HTTP requests.
No description provided by the author

# Variables

PublicBlockDatabase is the main instance to manage the database.

# Structs

BlockChain is the main data model to handle the blocks.
Implements the KVStore interface.