client

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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, uint32, 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