client

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2019 License: Apache-2.0 Imports: 11 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

func Call(address string, method string, id interface{}, params map[string]interface{}) ([]byte, error)

Call sends RPC request to server

func CreateID

func CreateID(remote string, genIdTxn string) (string, error)

func FindSuccessorAddrs

func FindSuccessorAddrs(remote string, key []byte) ([]string, error)

func GetID

func GetID(remote string, publicKey []byte) ([]byte, error)

func GetMyExtIP

func GetMyExtIP(remote string, ip []byte) (string, error)

func GetNonceByAddr

func GetNonceByAddr(remote string, addr string) (uint64, error)

func GetRemoteBlkHeight

func GetRemoteBlkHeight(remote string) (uint32, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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