Documentation ¶
Index ¶
- func BuildBlockHeaderVerbose(header *wire.BlockHeader, params *chaincfg.Params, currentHeight int64, ...) *dcrjson.GetBlockHeaderVerboseResult
- func ConnectNodeRPC(host, user, pass, cert string, disableTLS bool, ...) (*dcrrpcclient.Client, semver.Semver, error)
- func DisableLog()
- func GetBlockHeaderVerbose(client *dcrrpcclient.Client, params *chaincfg.Params, idx int64) *dcrjson.GetBlockHeaderVerboseResult
- func GetStakeDiffEstimates(client *dcrrpcclient.Client) *apitypes.StakeDiff
- func UseLogger(logger btclog.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildBlockHeaderVerbose ¶
func BuildBlockHeaderVerbose(header *wire.BlockHeader, params *chaincfg.Params, currentHeight int64, nextHash ...string) *dcrjson.GetBlockHeaderVerboseResult
func ConnectNodeRPC ¶
func ConnectNodeRPC(host, user, pass, cert string, disableTLS bool, ntfnHandlers ...*dcrrpcclient.NotificationHandlers) (*dcrrpcclient.Client, semver.Semver, error)
func DisableLog ¶
func DisableLog()
DisableLog disables all library log output. Logging output is disabled by default until either UseLogger or SetLogWriter are called.
func GetBlockHeaderVerbose ¶
func GetBlockHeaderVerbose(client *dcrrpcclient.Client, params *chaincfg.Params, idx int64) *dcrjson.GetBlockHeaderVerboseResult
func GetStakeDiffEstimates ¶
func GetStakeDiffEstimates(client *dcrrpcclient.Client) *apitypes.StakeDiff
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.