package
0.0.0-20230209194406-f498596f7f1b
Repository: https://github.com/fibochain/fbc.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
GetCertifiedCommit gets the signed header for a given height and certifies it.
GetWithProof will query the key on the given node, and verify it has a valid proof, as defined by the Verifier.
GetWithProofOptions is useful if you want full access to the ABCIQueryOptions.
IsErrNoData checks whether an error is due to a query returning empty data.
No description provided by the author
RPCRoutes just routes everything to the given client, as if it were a tendermint fullnode.
SecureClient uses a given Verifier to wrap an connection to an untrusted host and return a cryptographically secure rpc client.
StartProxy will start the websocket manager on the client, set up the rpc routes to proxy via the given client, and start up an http/rpc server on the location given by bind (eg.
No description provided by the author
No description provided by the author
No description provided by the author
note: validators will sort by power when the globalHeight is gt the veneus1Height when that happens ,Verifier#verify will be failed because of `globalHeight` is always '0' case1: height is lt veneus1Height: L56: cert#Verify will success case2: height is gt veneus1Height: L56 shoudle be failed ,L168 wil success.