websocket

package
Version: v2.1.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPushBlockTxsFlag

func GetPushBlockTxsFlag() bool

func GetPushRawBlockFlag

func GetPushRawBlockFlag() bool

func GetServer

func GetServer() *server.WsServer

func GetWsPushBlockFlag

func GetWsPushBlockFlag() bool

func NewServer

func NewServer(localNode *node.LocalNode, w *vault.Wallet) *server.WsServer

func PushBlock

func PushBlock(v interface{})

func PushBlockTransactions

func PushBlockTransactions(v interface{})

func PushSigChainBlockHash

func PushSigChainBlockHash(v interface{})

func SendBlock2WSclient

func SendBlock2WSclient(v interface{})

func SetPushBlockTxsFlag

func SetPushBlockTxsFlag(b bool)

func SetPushRawBlockFlag

func SetPushRawBlockFlag(b bool)

func SetTxHashMap

func SetTxHashMap(txhash string, sessionid string)

func SetWsPushBlockFlag

func SetWsPushBlockFlag(b bool)

Types

This section is empty.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL