Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
asm
Command asm assembles and disassembles Usage: asm [-d] <program By default, asm assembles a binary code from a TxVM assembly language.
|
Command asm assembles and disassembles Usage: asm [-d] <program By default, asm assembles a binary code from a TxVM assembly language. |
assetid
Command assetid produces an asset ID from an initial contract program and an optional asset tag (default empty).
|
Command assetid produces an asset ID from an initial contract program and an optional asset tag (default empty). |
bcstate
Command bcstate reads and writes blockchain state, optionally applying a block.
|
Command bcstate reads and writes blockchain state, optionally applying a block. |
block
Command block parses Chain protocol blocks and performs various operations on them.
|
Command block parses Chain protocol blocks and performs various operations on them. |
ed25519
Command ed25519 creates and manipulates ed25519 public and private keys.
|
Command ed25519 creates and manipulates ed25519 public and private keys. |
hex
Command hex encodes to or from hexadecimal.
|
Command hex encodes to or from hexadecimal. |
tx
Command tx parses and operates on Chain protocol transactions and performs various operations on them.
|
Command tx parses and operates on Chain protocol transactions and performs various operations on them. |
vmhash
Command vmhash computes the vmhash of some input and a given "function name." Usage: vmhash funcname <input Example: $ echo "" | vmhash 'tag' | hex 5eb2259cfc1552b797f4cf5dc1e7cb5c6891fe5255e314c2041697bca25b14a5
|
Command vmhash computes the vmhash of some input and a given "function name." Usage: vmhash funcname <input Example: $ echo "" | vmhash 'tag' | hex 5eb2259cfc1552b797f4cf5dc1e7cb5c6891fe5255e314c2041697bca25b14a5 |
crypto
|
|
ed25519
Package ed25519 implements the Ed25519 signature algorithm.
|
Package ed25519 implements the Ed25519 signature algorithm. |
sha3
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202.
|
Package sha3 implements the SHA-3 fixed-output-length hash functions and the SHAKE variable-output-length hash functions defined by FIPS-202. |
sha3pool
Package sha3pool is a freelist for SHA3-256 hash objects.
|
Package sha3pool is a freelist for SHA3-256 hash objects. |
encoding
|
|
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. |
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 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. |
merkle
Package merkle implements merkle binary trees.
|
Package merkle implements merkle binary trees. |
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
Package memstore is a protocol.Store implementation that keeps all blockchain state in memory.
|
Package memstore is a protocol.Store implementation that keeps all blockchain state in memory. |
state
Package state is a generated protocol buffer package.
|
Package state is a generated protocol buffer package. |
txbuilder/standard
Package standard implements standard txvm contracts for Sequence transactions.
|
Package standard implements standard txvm contracts for Sequence transactions. |
txvm
Package txvm implements Chain Protocol transactions.
|
Package txvm implements Chain Protocol transactions. |
txvm/asm
Package asm provides an assembler and disassembler for txvm bytecode.
|
Package asm provides an assembler and disassembler for txvm bytecode. |
txvm/op
Package op assigns human-readable names to numeric opcodes.
|
Package op assigns human-readable names to numeric opcodes. |
txvm/txvmutil
Package txvmutil defines a "fluent" builder type for constructing TxVM programs.
|
Package txvmutil defines a "fluent" builder type for constructing TxVM programs. |
validation
Package validation implements the block-validation algorithms from the Chain Protocol spec.
|
Package validation implements the block-validation algorithms from the Chain Protocol spec. |
Click to show internal directories.
Click to hide internal directories.