MCPcopy Create free account
hub / github.com/CPChain/chain / TxPoolContent

Method TxPoolContent

protocols/cpc/api_backend.go:203–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201}
202
203func (b *APIBackend) TxPoolContent() (map[common.Address]types.Transactions, map[common.Address]types.Transactions) {
204 return b.cpc.TxPool().Content()
205}
206
207func (b *APIBackend) SubscribeNewTxsEvent(ch chan<- core.NewTxsEvent) event.Subscription {
208 return b.cpc.TxPool().SubscribeNewTxsEvent(ch)

Callers

nothing calls this directly

Calls 2

TxPoolMethod · 0.65
ContentMethod · 0.45

Tested by

no test coverage detected