MCPcopy Create free account
hub / github.com/DNAProject/DNA / sendBlock2WSclient

Function sendBlock2WSclient

http/websocket/server.go:49–56  ·  view source on GitHub ↗
(v interface{})

Source from the content-addressed store, hash-verified

47 }()
48}
49func sendBlock2WSclient(v interface{}) {
50 if cfg.DefConfig.Ws.HttpWsPort != 0 {
51 go func() {
52 pushBlock(v)
53 pushBlockTransactions(v)
54 }()
55 }
56}
57func Stop() {
58 if ws == nil {
59 return

Callers

nothing calls this directly

Calls 2

pushBlockFunction · 0.85
pushBlockTransactionsFunction · 0.85

Tested by

no test coverage detected