Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
benchcore
Command benchcore launches EC2 instances for benchmarking Chain Core.
|
Command benchcore launches EC2 instances for benchmarking Chain Core. |
chainvet
chainvet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.
|
chainvet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. |
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. |
docgenerate
Command docgenerate generates static documentation for Chain Core and the Chain Core SDKs.
|
Command docgenerate generates static documentation for Chain Core and the Chain Core SDKs. |
docsync
Command docsync uploads a local directory to a specified S3 bucket
|
Command docsync uploads a local directory to a specified S3 bucket |
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. |
integtest
Command integtest compiles and runs a command to perform integration tests on Chain Core and related systems.
|
Command integtest compiles and runs a command to perform integration tests on Chain Core and related systems. |
md2html
Command md2html recursively converts a directory of markdown files to html.
|
Command md2html recursively converts a directory of markdown files to html. |
mdfmt
Command mdfmt canonicalizes the formatting of a Markdown document.
|
Command mdfmt canonicalizes the formatting of a Markdown document. |
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. |
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. |
report
Command report executes its argument as a child process and reports the results to S3.
|
Command report executes its argument as a child process and reports the results to S3. |
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. |
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. |
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. |
config/internal/configpb
Package configpb is a generated protocol buffer package.
|
Package configpb is a generated protocol buffer package. |
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
|
|
localdb
Package localdb provides an interface for storing local data.
|
Package localdb provides an interface for storing local data. |
localdb/internal/localdbtest
Package localdbtest is a generated protocol buffer package.
|
Package localdbtest is a generated protocol buffer package. |
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. |
sinkdb
Package sinkdb provides a strongly consistent key-value store.
|
Package sinkdb provides a strongly consistent key-value store. |
sinkdb/internal/sinkpb
Package sinkpb is a generated protocol buffer package.
|
Package sinkpb is a generated protocol buffer package. |
sqlutil
Package sqlutil provides SQL-related utility functions.
|
Package sqlutil provides SQL-related utility functions. |
desktop
|
|
encoding
|
|
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 |
bufpool
Package bufpool is a freelist for bytes.Buffer objects.
|
Package bufpool is a freelist for bytes.Buffer objects. |
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. |
exp
|
|
ivy/compiler
Package ivy provides a compiler for Chain's Ivy contract language.
|
Package ivy provides a compiler for Chain's Ivy contract language. |
generated
|
|
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/authz
Package authz is a generated protocol buffer package.
|
Package authz is a generated protocol buffer package. |
http/httperror
Package httperror defines the format for HTTP error responses from Chain services.
|
Package httperror defines the format for HTTP error responses from Chain services. |
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/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. |
raft
Package raft provides raft coordination.
|
Package raft provides raft coordination. |
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 is a generated protocol buffer package.
|
Package bc is a generated protocol buffer package. |
bc/bctest
Package bctest provides utilities for constructing blockchain data structures.
|
Package bctest provides utilities for constructing blockchain data structures. |
patricia
Package patricia computes the Merkle Patricia Tree Hash of a set of bit strings, as described in the Chain Protocol spec.
|
Package patricia computes the Merkle Patricia Tree Hash of a set of bit strings, as described in the Chain Protocol spec. |
prottest
Package prottest provides utilities for Chain Protocol testing.
|
Package prottest provides utilities for Chain Protocol testing. |
prottest/memstore
MemStore is a Store implementation that keeps all blockchain state in memory.
|
MemStore is a Store implementation that keeps all blockchain state in memory. |
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.