MCPcopy Create free account
hub / github.com/DOSNetwork/core / replyError

Function replyError

onchain/eth_subscribe.go:152–157  ·  view source on GitHub ↗
(ctx context.Context, errc chan error, err error)

Source from the content-addressed store, hash-verified

150 return
151}
152func replyError(ctx context.Context, errc chan error, err error) {
153 select {
154 case <-ctx.Done():
155 case errc <- err:
156 }
157}
158
159var proxyTable = []func(ctx context.Context, proxy *dosproxy.DosproxySession) (chan interface{}, chan error){
160 SubscribeLogUpdateRandom: func(ctx context.Context, proxy *dosproxy.DosproxySession) (chan interface{}, chan error) {

Callers 15

eth_subscribe.goFile · 0.85
GroupToPickMethod · 0.85
GroupSizeMethod · 0.85
GetWorkingGroupSizeMethod · 0.85
LastUpdatedBlockMethod · 0.85
NumPendingGroupsMethod · 0.85
NumPendingNodesMethod · 0.85
BootstrapEndBlkMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected