updated BlockId and TransactionId description
This commit is contained in:
parent
8c43c989af
commit
75b54cc277
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user