feat: add support for Conway config and params traverse (#521)
Co-authored-by: Clark Alesna <clark_alesna@hotmail.com> Co-authored-by: johnquinnvictaboada <quinnvictaboada@gmail.com>
This commit is contained in:
parent
4d0f9fc0cf
commit
21af5b7505
10 changed files with 800 additions and 19 deletions
|
|
@ -604,6 +604,15 @@ pub struct ProtocolParamUpdate {
|
|||
pub minfee_refscript_cost_per_byte: Option<UnitInterval>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Encode, Decode, Debug, PartialEq, Eq, Clone)]
|
||||
pub struct Update {
|
||||
#[n(0)]
|
||||
pub proposed_protocol_parameter_updates: KeyValuePairs<Genesishash, ProtocolParamUpdate>,
|
||||
|
||||
#[n(1)]
|
||||
pub epoch: Epoch,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone)]
|
||||
pub struct PoolVotingThresholds {
|
||||
pub motion_no_confidence: UnitInterval,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue