better docstrings
This commit is contained in:
parent
cc284dd86f
commit
74770e4773
@ -27,7 +27,7 @@ pub trait ChainNotify : Send + Sync {
|
|||||||
_enacted: Vec<H256>,
|
_enacted: Vec<H256>,
|
||||||
_retracted: Vec<H256>,
|
_retracted: Vec<H256>,
|
||||||
_sealed: Vec<H256>,
|
_sealed: Vec<H256>,
|
||||||
// Block bytes and total difficulty.
|
// Block bytes.
|
||||||
_proposed: Vec<Bytes>,
|
_proposed: Vec<Bytes>,
|
||||||
_duration: u64) {
|
_duration: u64) {
|
||||||
// does nothing by default
|
// does nothing by default
|
||||||
|
@ -483,7 +483,7 @@ impl Miner {
|
|||||||
false
|
false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// Directly import a regular seal.
|
// Directly import a regular sealed block.
|
||||||
Seal::Regular(seal) =>
|
Seal::Regular(seal) =>
|
||||||
block
|
block
|
||||||
.lock()
|
.lock()
|
||||||
|
Loading…
Reference in New Issue
Block a user