OSDN Git Service

modify miner block to propose block (#92)
[bytom/vapor.git] / test / performance / mining_test.go
index 3896ac8..c7a606e 100644 (file)
@@ -4,10 +4,9 @@ import (
        "os"
        "testing"
 
-       dbm "github.com/tendermint/tmlibs/db"
-
        "github.com/vapor/account"
-       "github.com/vapor/mining"
+       dbm "github.com/vapor/database/leveldb"
+       "github.com/vapor/proposal"
        "github.com/vapor/test"
 )
 
@@ -24,6 +23,6 @@ func BenchmarkNewBlockTpl(b *testing.B) {
 
        b.ResetTimer()
        for i := 0; i < b.N; i++ {
-               mining.NewBlockTemplate(chain, txPool, accountManager)
+               proposal.NewBlockTemplate(chain, txPool, accountManager)
        }
 }