Link to substrate reference for mortal period

This commit is contained in:
emostov
2020-12-15 18:30:38 -08:00
parent 8f11c42635
commit f356ca38e4
+2 -4
View File
@@ -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>,
} }