Directories ¶
Path | Synopsis |
---|---|
Package cchain defines the API to interact with the omni consensus chain.
|
Package cchain defines the API to interact with the omni consensus chain. |
provider
Package provider implements the cchain.Provider interface.
|
Package provider implements the cchain.Provider interface. |
Package cmd provides a common utilities and helper function to standarise the way omni apps use cobra and viper to produce consistent cli experience for both users and devs.
|
Package cmd provides a common utilities and helper function to standarise the way omni apps use cobra and viper to produce consistent cli experience for both users and devs. |
Package errors provides a consistent interface for using errors.
|
Package errors provides a consistent interface for using errors. |
genwrap
Command genwrap provides a code generator for ethclient.Client wrapper that adds prometheus metrics and error wrapping.
|
Command genwrap provides a code generator for ethclient.Client wrapper that adds prometheus metrics and error wrapping. |
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Package evmchain provides static metadata about supported evm chains.
|
Package evmchain provides static metadata about supported evm chains. |
Package expbackoff implements exponential backoff.
|
Package expbackoff implements exponential backoff. |
Package forkjoin provides an API for "doing work concurrently (fork) and then waiting for the results (join)".
|
Package forkjoin provides an API for "doing work concurrently (fork) and then waiting for the results (join)". |
Package k1util provides functions to sign and verify Ethereum RSV style signatures.
|
Package k1util provides functions to sign and verify Ethereum RSV style signatures. |
Package log provides a wrapper around the slog package (might change implementation later).
|
Package log provides a wrapper around the slog package (might change implementation later). |
Package merkle provides an API to generate merkle trees and proofs from 32 byte leaves.
|
Package merkle provides an API to generate merkle trees and proofs from 32 byte leaves. |
Package netconf provides the configuration of an Omni network, an instance of the Omni cross chain protocol.
|
Package netconf provides the configuration of an Omni network, an instance of the Omni cross chain protocol. |
Package promutil provides Prometheus utilities.
|
Package promutil provides Prometheus utilities. |
Package stream provide a generic stream function.
|
Package stream provide a generic stream function. |
Package tracer provides a global OpenTelemetry tracer.
|
Package tracer provides a global OpenTelemetry tracer. |
Package tutil provides test utilities.
|
Package tutil provides test utilities. |
Package umath provides some useful unsigned math functions to prevent underflows.
|
Package umath provides some useful unsigned math functions to prevent underflows. |
Package xchain defines the types and interfaces used by the omni cross-chain protocol.
|
Package xchain defines the types and interfaces used by the omni cross-chain protocol. |
provider
Package provider is the implementation of the Provider interface.
|
Package provider is the implementation of the Provider interface. |
Click to show internal directories.
Click to hide internal directories.