MCPcopy Create free account
hub / github.com/33cn/chain33 / SetQueueAPI

Function SetQueueAPI

common/crypto/client/client.go:99–103  ·  view source on GitHub ↗

SetQueueAPI set api

(api client.QueueProtocolAPI)

Source from the content-addressed store, hash-verified

97
98// SetQueueAPI set api
99func SetQueueAPI(api client.QueueProtocolAPI) {
100 lock.Lock()
101 defer lock.Unlock()
102 ctx.API = api
103}
104
105// SetCurrentBlock set block
106func SetCurrentBlock(blockHeight, blockTime int64) {

Callers 1

SetQueueClientMethod · 0.85

Calls 2

UnlockMethod · 0.80
LockMethod · 0.65

Tested by

no test coverage detected