(t *testing.T)
| 35 | ) |
| 36 | |
| 37 | func buildTestBlockPool(t *testing.T) (*BlockPool, error) { |
| 38 | store := newTestChainStore(t) |
| 39 | return newBlockPool(nil, 64, store) |
| 40 | } |
| 41 | |
| 42 | func buildTestBlock(t *testing.T, lastBlock *types.Block, lgr *ledger.Ledger) (*Block, error) { |
| 43 | timestamp := uint32(time.Now().Unix()) |
no test coverage detected