aboutsummaryrefslogtreecommitdiffstats
path: root/core/tx_pool.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-05-25 22:21:20 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-05-25 22:22:45 +0800
commitc98bce709c392f3b469f956b5f66f095a30a7e2b (patch)
tree6abc554b343b8f68e76b7303e652f22f89e47d5e /core/tx_pool.go
parent17f0b1194232ebebc4e14f905e6e1d2d148aa5b6 (diff)
downloaddexon-c98bce709c392f3b469f956b5f66f095a30a7e2b.tar
dexon-c98bce709c392f3b469f956b5f66f095a30a7e2b.tar.gz
dexon-c98bce709c392f3b469f956b5f66f095a30a7e2b.tar.bz2
dexon-c98bce709c392f3b469f956b5f66f095a30a7e2b.tar.lz
dexon-c98bce709c392f3b469f956b5f66f095a30a7e2b.tar.xz
dexon-c98bce709c392f3b469f956b5f66f095a30a7e2b.tar.zst
dexon-c98bce709c392f3b469f956b5f66f095a30a7e2b.zip
core: fix minor accidental typos and comment errors
Diffstat (limited to 'core/tx_pool.go')
-rw-r--r--core/tx_pool.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/tx_pool.go b/core/tx_pool.go
index 228563ed0..6f67aaa0a 100644
--- a/core/tx_pool.go
+++ b/core/tx_pool.go
@@ -209,7 +209,7 @@ func (pool *TxPool) resetState() {
pool.promoteExecutables(currentState)
}
-// Stop stops a TxPool
+// Stop terminates the transaction pool.
func (pool *TxPool) Stop() {
pool.events.Unsubscribe()
close(pool.quit)
@@ -239,7 +239,7 @@ func (pool *TxPool) SetGasPrice(price *big.Int) {
log.Info("Transaction pool price threshold updated", "price", price)
}
-// State returns the state of TxPool
+// State returns the virtual managed state of the transaction pool.
func (pool *TxPool) State() *state.ManagedState {
pool.mu.RLock()
defer pool.mu.RUnlock()