Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

VotingPolicy

import type { VotingPolicy } from "https://aws-api.deno.dev/v0.3/services/managedblockchain.ts?docs=full";

The voting rules for the network to decide if a proposal is accepted

Applies only to Hyperledger Fabric.

interface VotingPolicy {
ApprovalThresholdPolicy?: ApprovalThresholdPolicy | null;
}

§Properties

§
ApprovalThresholdPolicy?: ApprovalThresholdPolicy | null
[src]

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.