Interface NetworkUpgradeProposal

A proposal to change a subset of NetworkParameters.

interface NetworkUpgradeProposal {
    effectiveAtBlock: number;
    proposalId: string;
    proposedParameters: Partial<NetworkParameters>;
    proposerPublicKey: string;
    rationale: string;
    snapshotBlock: number;
    status: ProposalStatus;
    version: number;
}

Properties

effectiveAtBlock: number

Activation block. Must be >= tallyBlock + gracePeriodBlocks.

proposalId: string

UUID. Dedup key AND lexicographic activation-order tiebreaker.

proposedParameters: Partial<NetworkParameters>

Only the keys the proposer wants to change.

proposerPublicKey: string

Proposer's public key (hex). Must be an active validator at snapshotBlock.

rationale: string

Human-readable reason. <= 1024 bytes.

snapshotBlock: number

Block at which the proposal tx was confirmed. Freezes validator set + stakes.

version: number

Monotonic, human-readable label. Assigned at proposal time as max(existing) + 1.