VotingPolicy

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

Applies only to Hyperledger Fabric.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Functions

Link copied to clipboard
inline fun copy(block: VotingPolicy.Builder.() -> Unit = {}): VotingPolicy
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String