diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-08-30 17:21:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-30 17:21:58 +0800 |
commit | 96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8 (patch) | |
tree | 418e2c43acf4f9c13289eaccf66f94ef46c9356b /simulation/app.go | |
parent | a4e0da981a3dfc8817d39be65cb5b24938b0761a (diff) | |
download | tangerine-consensus-96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8.tar tangerine-consensus-96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8.tar.gz tangerine-consensus-96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8.tar.bz2 tangerine-consensus-96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8.tar.lz tangerine-consensus-96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8.tar.xz tangerine-consensus-96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8.tar.zst tangerine-consensus-96554a3bc14030e5d0dfc9dc1ee6bcdd9a133fa8.zip |
core: Add PreparePayloads to Application and Remove blockConverter interface. (#84)
Diffstat (limited to 'simulation/app.go')
-rw-r--r-- | simulation/app.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/simulation/app.go b/simulation/app.go index 635b071..78e1d9a 100644 --- a/simulation/app.go +++ b/simulation/app.go @@ -88,6 +88,11 @@ func (a *simApp) getAckedBlocks(ackHash common.Hash) (output common.Hashes) { return } +// PreparePayloads implements core.Application. +func (a *simApp) PreparePayloads(shardID, chainID, height uint64) [][]byte { + return [][]byte{} +} + // StronglyAcked is called when a block is strongly acked by DEXON // Reliabe Broadcast algorithm. func (a *simApp) StronglyAcked(blockHash common.Hash) { |