MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / newPool

Function newPool

xenomint/pool.go:61–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61func newPool() *pool {
62 return &pool{
63 failed: make(map[hash.Hash]*types.Request),
64 reads: make(map[hash.Hash]*QueryTracker),
65 queries: make([]*QueryTracker, 0),
66 index: make(map[uint64]int),
67 }
68}
69
70func (p *pool) enqueue(sp uint64, q *QueryTracker) {
71 var pos = len(p.queries)

Callers 3

NewStateFunction · 0.85
commitMethod · 0.85
CommitExWithContextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected