aboutsummaryrefslogtreecommitdiffstats
path: root/eth/protocol.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-07-05 21:51:55 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-07-05 21:51:55 +0800
commit48ee7f9de7da0455b80ee09f498dbce54127103a (patch)
tree1e16769e36f34efd5a22283b06e57e551ac948a0 /eth/protocol.go
parenta633a2d7ea8aadb1d435679449d002de880fab30 (diff)
downloadgo-tangerine-48ee7f9de7da0455b80ee09f498dbce54127103a.tar
go-tangerine-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.gz
go-tangerine-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.bz2
go-tangerine-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.lz
go-tangerine-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.xz
go-tangerine-48ee7f9de7da0455b80ee09f498dbce54127103a.tar.zst
go-tangerine-48ee7f9de7da0455b80ee09f498dbce54127103a.zip
core, eth, les: polish txpool API around local/remote txs
Diffstat (limited to 'eth/protocol.go')
-rw-r--r--eth/protocol.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/protocol.go b/eth/protocol.go
index 4bc8bee72..376e4663e 100644
--- a/eth/protocol.go
+++ b/eth/protocol.go
@@ -94,8 +94,8 @@ var errorToString = map[int]string{
}
type txPool interface {
- // AddBatch should add the given transactions to the pool.
- AddBatch([]*types.Transaction) error
+ // AddRemotes should add the given transactions to the pool.
+ AddRemotes([]*types.Transaction) error
// Pending should return pending transactions.
// The slice should be modifiable by the caller.