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 13:49:52 +0800 |
commit | 6c299585031eec0244dccac371ef376c10e99f79 (patch) | |
tree | c60f2b21aa893b9b65b9cc083f348c22f97d77f0 /core | |
parent | c67324c68e74aed9f12718b899136f53459dcff8 (diff) | |
download | dexon-6c299585031eec0244dccac371ef376c10e99f79.tar dexon-6c299585031eec0244dccac371ef376c10e99f79.tar.gz dexon-6c299585031eec0244dccac371ef376c10e99f79.tar.bz2 dexon-6c299585031eec0244dccac371ef376c10e99f79.tar.lz dexon-6c299585031eec0244dccac371ef376c10e99f79.tar.xz dexon-6c299585031eec0244dccac371ef376c10e99f79.tar.zst dexon-6c299585031eec0244dccac371ef376c10e99f79.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 |