Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
core
|
|
state
Package state provides a caching layer atop the Ethereum state trie.
|
Package state provides a caching layer atop the Ethereum state trie. |
types
Package common contains various helper functions.
|
Package common contains various helper functions. |
bn256
Package bn256 implements a particular bilinear group at the 128-bit security level.
|
Package bn256 implements a particular bilinear group at the 128-bit security level. |
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. |
Package hexutil implements hex encoding with Mx prefix.
|
Package hexutil implements hex encoding with Mx prefix. |
Package math provides integer math utilities.
|
Package math provides integer math utilities. |
Package metrics provides general system and process level metrics collection.
|
Package metrics provides general system and process level metrics collection. |
Package rlp implements the RLP serialization format.
|
Package rlp implements the RLP serialization format. |
rpc
|
|
client/mock
package mock returns a Client implementation that accepts various (mock) implementations of the various methods.
|
package mock returns a Client implementation that accepts various (mock) implementations of the various methods. |
core
# Introduction Tendermint supports the following RPC protocols: * URI over HTTP * JSONRPC over HTTP * JSONRPC over websockets Tendermint RPC is built using [our own RPC library](https://github.com/tendermint/tendermint/tree/master/rpc/lib).
|
# Introduction Tendermint supports the following RPC protocols: * URI over HTTP * JSONRPC over HTTP * JSONRPC over websockets Tendermint RPC is built using [our own RPC library](https://github.com/tendermint/tendermint/tree/master/rpc/lib). |
lib
HTTP RPC server supporting calls via uri params, jsonrpc, and jsonrpc over websockets # Client Requests Suppose we want to expose the rpc function `HelloWorld(name string, num int)`.
|
HTTP RPC server supporting calls via uri params, jsonrpc, and jsonrpc over websockets # Client Requests Suppose we want to expose the rpc function `HelloWorld(name string, num int)`. |
lib/server
Commons for HTTP handling
|
Commons for HTTP handling |
Package trie implements Merkle Patricia Tries.
|
Package trie implements Merkle Patricia Tries. |
Click to show internal directories.
Click to hide internal directories.