updated BlockId and TransactionId description

This commit is contained in:
debris 2016-02-10 12:43:26 +01:00
parent 8c43c989af
commit 75b54cc277

View File

@ -19,15 +19,15 @@ use util::*;
use header::*;
use transaction::*;
/// Uniquely identifies block in canon blockchain.
/// Uniquely identifies block.
pub enum BlockId {
/// Block's sha3.
Hash(H256),
/// Block number.
/// Block number within canon blockchain.
Number(BlockNumber)
}
/// Uniquely identifies transaction in canon blockchain.
/// Uniquely identifies transaction.
pub enum TransactionId {
/// Transaction's sha3.
Hash(H256),