daemon

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallJSONRPC

func CallJSONRPC(method string, params interface{}) ([]byte, error)

CallJSONRPC call /json_rpc func curl -X POST http://127.0.0.1:18081/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_block","params":{"height":912345}}' -H 'Content-Type: application/json'

func InitClient added in v0.1.1

func InitClient(daemonConfig *config.DaemonConfig, walletVersion string, logger log.Logger) error

InitClient init Client with config.DaemonConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL