Update Lockup comments (#7692)
This commit is contained in:
parent
e5425d4a27
commit
8dad3af36d
|
@ -86,15 +86,17 @@ pub enum StakeAuthorize {
|
||||||
|
|
||||||
#[derive(Default, Debug, Serialize, Deserialize, PartialEq, Clone, Copy)]
|
#[derive(Default, Debug, Serialize, Deserialize, PartialEq, Clone, Copy)]
|
||||||
pub struct Lockup {
|
pub struct Lockup {
|
||||||
/// UnixTimestamp at which this stake will allow withdrawal, unless
|
/// UnixTimestamp at which this stake will allow withdrawal, or
|
||||||
/// to the custodian.
|
/// changes to authorized staker or withdrawer, unless the
|
||||||
|
/// transaction is signed by the custodian
|
||||||
pub unix_timestamp: UnixTimestamp,
|
pub unix_timestamp: UnixTimestamp,
|
||||||
/// epoch height at which this stake will allow withdrawal, unless
|
/// epoch height at which this stake will allow withdrawal, or
|
||||||
|
/// changes to authorized staker or withdrawer, unless the
|
||||||
|
/// transaction is signed by the custodian
|
||||||
/// to the custodian
|
/// to the custodian
|
||||||
pub epoch: Epoch,
|
pub epoch: Epoch,
|
||||||
/// custodian account, the only account to which this stake will honor a
|
/// custodian signature on a transaction exempts the operation from
|
||||||
/// withdrawal before lockup expires. After lockup expires, custodian
|
/// lockup constraints
|
||||||
/// is irrelevant
|
|
||||||
pub custodian: Pubkey,
|
pub custodian: Pubkey,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue