Module Values.VotingPolicySource

The voting rules for the network to decide if a proposal is accepted Applies only to Hyperledger Fabric.

Sourcetype nonrec t = {
  1. approvalThresholdPolicy : ApprovalThresholdPolicy.t option;
    (*

    Defines the rules for the network for voting on proposals, such as the percentage of YES votes required for the proposal to be approved and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.

    *)
}
Sourceval make : ?approvalThresholdPolicy:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Integer of ThresholdPercentageInt.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t