added tests stubs
This commit is contained in:
parent
bb7570f85b
commit
06820825a5
|
@ -61,3 +61,16 @@ fn short_transaction_id(nonce: u64, block_header: &BlockHeader, transaction_hash
|
|||
|
||||
siphash_transaction_hash_bytes[2..8].into()
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn short_transaction_id_is_correct() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn compact_block_is_built_correctly() {
|
||||
// TODO
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2180,4 +2180,9 @@ pub mod tests {
|
|||
Task::SendInventory(3, inventory, ServerTaskIndex::None),
|
||||
]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn relay_new_block_after_sendcmpct() {
|
||||
// TODO
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue