Open octavonce opened 4 years ago
The following methods need to be tested on a Chain behind a ChainRef:
Chain
ChainRef
Chain::append_block()
CheckpointBlock
TransactionBlock
Chain::new()
The following methods need to be tested on a
Chain
behind aChainRef
:Chain::append_block()
with aCheckpointBlock
.Chain::append_block()
with an emptyTransactionBlock
.Chain::append_block()
with a fullTransactionBlock
.Chain::append_block()
that flushes a new segment of a canonical chain to disk.Chain::append_block()
on a forked non-canonical chain with an emptyTransactionBlock
.Chain::append_block()
on a forked non-canonical chain with a fullTransactionBlock
.Chain::new()
with a fresh chain.Chain::new()
a longer chain saved on the disk.