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

Method AddRemotes

protocols/cpc/protocol.go:83–83  ·  view source on GitHub ↗

AddRemotes should add the given transactions to the pool.

([]*types.Transaction)

Source from the content-addressed store, hash-verified

81type txPool interface {
82 // AddRemotes should add the given transactions to the pool.
83 AddRemotes([]*types.Transaction) []error
84
85 // Pending should return pending transactions.
86 // The slice should be modifiable by the caller.

Callers 4

benchmarkPoolBatchInsertFunction · 0.65
testSendTransactionsFunction · 0.65
handleSyncMsgMethod · 0.65

Implementers 2

TxPoolcore/tx_pool.go
testTxPoolprotocols/cpc/helper_test.go

Calls

no outgoing calls

Tested by 3

benchmarkPoolBatchInsertFunction · 0.52
testSendTransactionsFunction · 0.52