diff options
author | Bojie Wu <bojie@dexon.org> | 2018-10-09 13:28:45 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:49 +0800 |
commit | 9b6a659b4de7c9b1c2f331b880a1397159181600 (patch) | |
tree | a79f3da3c2fdb8bf32d20faffa2d0cc6f9424de2 /core | |
parent | d7127cb517f29e727a48a588484834d7f242aadb (diff) | |
download | dexon-9b6a659b4de7c9b1c2f331b880a1397159181600.tar dexon-9b6a659b4de7c9b1c2f331b880a1397159181600.tar.gz dexon-9b6a659b4de7c9b1c2f331b880a1397159181600.tar.bz2 dexon-9b6a659b4de7c9b1c2f331b880a1397159181600.tar.lz dexon-9b6a659b4de7c9b1c2f331b880a1397159181600.tar.xz dexon-9b6a659b4de7c9b1c2f331b880a1397159181600.tar.zst dexon-9b6a659b4de7c9b1c2f331b880a1397159181600.zip |
dex: implement dexon application interface
Diffstat (limited to 'core')
-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 |