Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
benchcore
Command benchcore launches EC2 instances for benchmarking Chain Core.
|
Command benchcore launches EC2 instances for benchmarking Chain Core. |
corectl
Command corectl provides miscellaneous control functions for a Chain Core.
|
Command corectl provides miscellaneous control functions for a Chain Core. |
cored
Command cored provides the Chain Core daemon and API server.
|
Command cored provides the Chain Core daemon and API server. |
decode
Command decode reads hex-encoded Chain data structures and prints the decoded data structures.
|
Command decode reads hex-encoded Chain data structures and prints the decoded data structures. |
ed25519
Command ed25519 creates and manipulates ed25519 public and private keys.
|
Command ed25519 creates and manipulates ed25519 public and private keys. |
gobundle
Command gobundle encodes filesystem files as Go source.
|
Command gobundle encodes filesystem files as Go source. |
gobytes
Command gobytes prints its input as a []byte literal.
|
Command gobytes prints its input as a []byte literal. |
hex
Command hex encodes to or from hexadecimal.
|
Command hex encodes to or from hexadecimal. |
md2html
Command md2html recursively converts a directory of markdown files to html.
|
Command md2html recursively converts a directory of markdown files to html. |
metricsd
Command metricsd provides a daemon for collecting latencies and other metrics from cored and uploading them to librato.
|
Command metricsd provides a daemon for collecting latencies and other metrics from cored and uploading them to librato. |
migratedb
Command migratedb applies database migrations to the specified database.
|
Command migratedb applies database migrations to the specified database. |
multitool
Command multitool provides miscellaneous Chain-related commands.
|
Command multitool provides miscellaneous Chain-related commands. |
perfdash
Command perfdash is a web server that serves a performance dashboard for Chain Core.
|
Command perfdash is a web server that serves a performance dashboard for Chain Core. |
sha3
Command sha3 prints the binary SHA-3 digest of its input.
|
Command sha3 prints the binary SHA-3 digest of its input. |
shake
Command shake computes the SHAKE variable-output-length hash functions defined by FIPS-202.
|
Command shake computes the SHAKE variable-output-length hash functions defined by FIPS-202. |
testbot
Command testbot provides a web server for running Chain integeration tests.
|
Command testbot provides a web server for running Chain integeration tests. |
testnet-reset
Command testnet-reset is a convenient command to reset a blockchain network.
|
Command testnet-reset is a convenient command to reset a blockchain network. |
varint
Command varint encodes a decimal number to or from varint.
|
Command varint encodes a decimal number to or from varint. |
vet
Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.
|
Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. |
Package core implements Chain Core and its API.
|
Package core implements Chain Core and its API. |
accesstoken
Package accesstoken provides storage and validation of Chain Core credentials.
|
Package accesstoken provides storage and validation of Chain Core credentials. |
account
Package account stores and tracks accounts within a Chain Core.
|
Package account stores and tracks accounts within a Chain Core. |
asset
Package asset maintains a registry of all assets on a blockchain.
|
Package asset maintains a registry of all assets on a blockchain. |
blocksigner
Package blocksigner implements remote block signing.
|
Package blocksigner implements remote block signing. |
config
Package config manages persistent configuration data for Chain Core.
|
Package config manages persistent configuration data for Chain Core. |
coretest
Package coretest provides utilities for testing Chain Core.
|
Package coretest provides utilities for testing Chain Core. |
coreunsafe
Package coreunsafe contains Core logic that is unsafe for production.
|
Package coreunsafe contains Core logic that is unsafe for production. |
fetch
Package fetch implements block replication for participant Chain Cores.
|
Package fetch implements block replication for participant Chain Cores. |
generator
Package generator implements the Chain Core generator.
|
Package generator implements the Chain Core generator. |
leader
Package leader implements leader election between cored processes of a Chain Core.
|
Package leader implements leader election between cored processes of a Chain Core. |
migrate
Package migrate implements database migration for Chain Core.
|
Package migrate implements database migration for Chain Core. |
mockhsm
Package mockhsm provides a mock HSM for development environments.
|
Package mockhsm provides a mock HSM for development environments. |
query
Package query implements indexing and querying of annotated blockchain data.
|
Package query implements indexing and querying of annotated blockchain data. |
query/filter
Package filter parses and evaluates Chain filter expressions.
|
Package filter parses and evaluates Chain filter expressions. |
rpc
Package rpc implements Chain Core's RPC client.
|
Package rpc implements Chain Core's RPC client. |
signers
Package signers associates signers and their corresponding keys.
|
Package signers associates signers and their corresponding keys. |
txbuilder
Package txbuilder builds a Chain Protocol transaction from a list of actions.
|
Package txbuilder builds a Chain Protocol transaction from a list of actions. |
txdb
Package txdb provides storage for Chain Protocol blockchain data structures.
|
Package txdb provides storage for Chain Protocol blockchain data structures. |
txdb/internal/storage
Package storage is a generated protocol buffer package.
|
Package storage is a generated protocol buffer package. |
txfeed
Package txfeed implements Chain Core's transaction feeds.
|
Package txfeed implements Chain Core's transaction feeds. |
crypto
|
|
ed25519
Package ed25519 implements the Ed25519 signature algorithm.
|
Package ed25519 implements the Ed25519 signature algorithm. |
sha3pool
Package sha3pool is a freelist for SHA3-256 hash objects.
|
Package sha3pool is a freelist for SHA3-256 hash objects. |
database
|
|
pg
Package pg provides small utilities for the lib/pq database driver.
|
Package pg provides small utilities for the lib/pq database driver. |
pg/pgtest
Package pgtest provides support functions for tests that need to use Postgres.
|
Package pgtest provides support functions for tests that need to use Postgres. |
sql
Package sql provides a generic interface around SQL (or SQL-like) databases.
|
Package sql provides a generic interface around SQL (or SQL-like) databases. |
encoding
|
|
bitcoin
Package bitcoin encodes and decodes numbers and strings using the Bitcoin varint format.
|
Package bitcoin encodes and decodes numbers and strings using the Bitcoin varint format. |
blockchain
Package blockchain provides the tools for encoding data primitives in blockchain structures
|
Package blockchain provides the tools for encoding data primitives in blockchain structures |
Package env provides a convenient way to convert environment variables into Go data.
|
Package env provides a convenient way to convert environment variables into Go data. |
Package errors implements a basic error wrapping pattern, so that errors can be annotated with additional information without losing the original error.
|
Package errors implements a basic error wrapping pattern, so that errors can be annotated with additional information without losing the original error. |
generated
|
|
installer
|
|
Package log implements a standard convention for structured logging.
|
Package log implements a standard convention for structured logging. |
rotation
Package rotation writes and rotates log files.
|
Package rotation writes and rotates log files. |
splunk
Package splunk sends log data to a splunk server.
|
Package splunk sends log data to a splunk server. |
math
|
|
checked
Package checked implements basic arithmetic operations with underflow and overflow checks.
|
Package checked implements basic arithmetic operations with underflow and overflow checks. |
Package metrics provides convenient facilities to record on-line high-level performance metrics.
|
Package metrics provides convenient facilities to record on-line high-level performance metrics. |
http/httpjson
Package httpjson creates HTTP handlers to map request and response formats onto Go function signatures.
|
Package httpjson creates HTTP handlers to map request and response formats onto Go function signatures. |
http/limit
Package limit provides a rate limiting HTTP handler.
|
Package limit provides a rate limiting HTTP handler. |
http/reqid
Package reqid creates request IDs and stores them in Contexts.
|
Package reqid creates request IDs and stores them in Contexts. |
http/static
Package static provides a handler for serving static assets from an in-memory map.
|
Package static provides a handler for serving static assets from an in-memory map. |
os
|
|
program
Package program gets the filepath to the current program.
|
Package program gets the filepath to the current program. |
Package protocol provides the logic to tie together storage and validation for a Chain Protocol blockchain.
|
Package protocol provides the logic to tie together storage and validation for a Chain Protocol blockchain. |
bc
Package bc provides the fundamental blockchain data structures used in the Chain Protocol.
|
Package bc provides the fundamental blockchain data structures used in the Chain Protocol. |
mempool
Package mempool provides a Pool implementation that keeps all pending transactions in memory.
|
Package mempool provides a Pool implementation that keeps all pending transactions in memory. |
memstore
Package memstore provides a Store implementation that keeps all blockchain state in memory.
|
Package memstore provides a Store implementation that keeps all blockchain state in memory. |
patricia
Package patricia implements a patricia tree, or a radix tree with a radix of 2 -- creating an uneven binary tree.
|
Package patricia implements a patricia tree, or a radix tree with a radix of 2 -- creating an uneven binary tree. |
prottest
Package prottest provides utilities for Chain Protocol testing.
|
Package prottest provides utilities for Chain Protocol testing. |
state
Package state provides types for encapsulating blockchain state.
|
Package state provides types for encapsulating blockchain state. |
validation
Package validation implements the Chain Protocol blockchain validation logic.
|
Package validation implements the Chain Protocol blockchain validation logic. |
vm
Package vm implements the VM described in Chain Protocol 1.
|
Package vm implements the VM described in Chain Protocol 1. |
sync
|
|
idempotency
Package idempotency provides a duplicate function call suppression mechanism.
|
Package idempotency provides a duplicate function call suppression mechanism. |
Click to show internal directories.
Click to hide internal directories.