updated BlockId and TransactionId description
This commit is contained in:
parent
8c43c989af
commit
75b54cc277
@ -19,15 +19,15 @@ use util::*;
|
|||||||
use header::*;
|
use header::*;
|
||||||
use transaction::*;
|
use transaction::*;
|
||||||
|
|
||||||
/// Uniquely identifies block in canon blockchain.
|
/// Uniquely identifies block.
|
||||||
pub enum BlockId {
|
pub enum BlockId {
|
||||||
/// Block's sha3.
|
/// Block's sha3.
|
||||||
Hash(H256),
|
Hash(H256),
|
||||||
/// Block number.
|
/// Block number within canon blockchain.
|
||||||
Number(BlockNumber)
|
Number(BlockNumber)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Uniquely identifies transaction in canon blockchain.
|
/// Uniquely identifies transaction.
|
||||||
pub enum TransactionId {
|
pub enum TransactionId {
|
||||||
/// Transaction's sha3.
|
/// Transaction's sha3.
|
||||||
Hash(H256),
|
Hash(H256),
|
||||||
|
Loading…
Reference in New Issue
Block a user