mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 00:01:09 +00:00
Link to substrate reference for mortal period
This commit is contained in:
+2
-4
@@ -200,10 +200,8 @@ struct ClientSignedOptions {
|
|||||||
/// The period, measured in blocks, that an extrinsic will live for, starting from a checkpoint
|
/// The period, measured in blocks, that an extrinsic will live for, starting from a checkpoint
|
||||||
/// block.
|
/// block.
|
||||||
///
|
///
|
||||||
/// Rules for how the period will be encoded in an extrinsic:
|
/// Substrate reference:
|
||||||
/// `mortal_period == None`: immortal transaction
|
/// https://docs.rs/sp-runtime/2.0.0/sp_runtime/generic/enum.Era.html#variant.Mortal
|
||||||
/// `0 <= mortal_period <= 65536`: rounded up to the closest power of 2, starting at 4
|
|
||||||
/// `65536 < mortal_period`: Min(65536, mortal_period)
|
|
||||||
pub mortal_period: Option<u64>,
|
pub mortal_period: Option<u64>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user