diff options
author | Bojie Wu <bojie@dexon.org> | 2018-10-09 13:28:45 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:23:38 +0800 |
commit | 2b5dfb450ce6bcbbf85d46a8c87d8e20683c646d (patch) | |
tree | d33825b6613a05f5d47f7cded5d3838c68cfd178 /core/tx_pool.go | |
parent | 5bda6cec66d7b03b23963f3d44514ac1e98da2c4 (diff) | |
download | go-tangerine-2b5dfb450ce6bcbbf85d46a8c87d8e20683c646d.tar go-tangerine-2b5dfb450ce6bcbbf85d46a8c87d8e20683c646d.tar.gz go-tangerine-2b5dfb450ce6bcbbf85d46a8c87d8e20683c646d.tar.bz2 go-tangerine-2b5dfb450ce6bcbbf85d46a8c87d8e20683c646d.tar.lz go-tangerine-2b5dfb450ce6bcbbf85d46a8c87d8e20683c646d.tar.xz go-tangerine-2b5dfb450ce6bcbbf85d46a8c87d8e20683c646d.tar.zst go-tangerine-2b5dfb450ce6bcbbf85d46a8c87d8e20683c646d.zip |
dex: implement dexon application interface
Diffstat (limited to 'core/tx_pool.go')
-rw-r--r-- | core/tx_pool.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/tx_pool.go b/core/tx_pool.go index eccf82e93..d79512d9c 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -1157,6 +1157,10 @@ func (pool *TxPool) demoteUnexecutables() { } } +func (pool *TxPool) ValidateTx(tx *types.Transaction, local bool) error { + return pool.validateTx(tx, local) +} + // addressByHeartbeat is an account address tagged with its last activity timestamp. type addressByHeartbeat struct { address common.Address |