rest

package
v0.0.0-...-c8e9c26 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2018 License: LGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const TLS_PORT int = 443

Variables

This section is empty.

Functions

func GetBalance

func GetBalance(cmd map[string]interface{}) map[string]interface{}

func GetBlockByHash

func GetBlockByHash(cmd map[string]interface{}) map[string]interface{}

func GetBlockByHeight

func GetBlockByHeight(cmd map[string]interface{}) map[string]interface{}

func GetBlockHash

func GetBlockHash(cmd map[string]interface{}) map[string]interface{}

func GetBlockHeight

func GetBlockHeight(cmd map[string]interface{}) map[string]interface{}

Block

func GetBlockHeightByTxHash

func GetBlockHeightByTxHash(cmd map[string]interface{}) map[string]interface{}

func GetBlockTransactions

func GetBlockTransactions(block *types.Block) interface{}

func GetBlockTxsByHeight

func GetBlockTxsByHeight(cmd map[string]interface{}) map[string]interface{}

func GetConnectionCount

func GetConnectionCount(cmd map[string]interface{}) map[string]interface{}

func GetContractState

func GetContractState(cmd map[string]interface{}) map[string]interface{}

func GetGenerateBlockTime

func GetGenerateBlockTime(cmd map[string]interface{}) map[string]interface{}

Node

func GetSmartCodeEventByTxHash

func GetSmartCodeEventByTxHash(cmd map[string]interface{}) map[string]interface{}

func GetSmartCodeEventTxsByHeight

func GetSmartCodeEventTxsByHeight(cmd map[string]interface{}) map[string]interface{}

func GetStorage

func GetStorage(cmd map[string]interface{}) map[string]interface{}

func GetTransactionByHash

func GetTransactionByHash(cmd map[string]interface{}) map[string]interface{}

Transaction

func ResponsePack

func ResponsePack(errCode int64) map[string]interface{}

func SendRawTransaction

func SendRawTransaction(cmd map[string]interface{}) map[string]interface{}

Types

type ApiServer

type ApiServer interface {
	Start() error
	Stop()
}

Jump to

Keyboard shortcuts

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