Interface DoubleBakingEvidenceOperation

It allows for accusing a delegate of having double-baked a block – i.e., of having signed two different blocks at the same level and at same round. The bulk of the evidence consists of the block headers of each of the two offending blocks.

Hierarchy

Properties

balanceUpdates: readonly BalanceUpdate[]
blockHeader1: BlockHeader
blockHeader2: BlockHeader
rpcData: {
    bh1: { readonly level: number; readonly proto: number; readonly predecessor: string; readonly timestamp: TimeStampMixed; readonly validation_pass: number; readonly operations_hash: string; ... 10 more ...; readonly signature: string; };
    bh2: { readonly level: number; readonly proto: number; readonly predecessor: string; readonly timestamp: TimeStampMixed; readonly validation_pass: number; readonly operations_hash: string; ... 10 more ...; readonly signature: string; };
    kind: DOUBLE_BAKING_EVIDENCE;
    metadata: { readonly balance_updates?: readonly { readonly kind: MetadataBalanceUpdatesKindEnum; readonly contract?: string | undefined; readonly change: string; readonly origin?: MetadataBalanceUpdatesOriginEnum | undefined; ... 9 more ...; readonly delegator?: string | undefined; }[] | undefined; };
}

Raw data as received from Tezos Node RPC. Taquito interface may not be exact.

Type declaration

  • Readonly bh1: { readonly level: number; readonly proto: number; readonly predecessor: string; readonly timestamp: TimeStampMixed; readonly validation_pass: number; readonly operations_hash: string; ... 10 more ...; readonly signature: string; }
  • Readonly bh2: { readonly level: number; readonly proto: number; readonly predecessor: string; readonly timestamp: TimeStampMixed; readonly validation_pass: number; readonly operations_hash: string; ... 10 more ...; readonly signature: string; }
  • Readonly kind: DOUBLE_BAKING_EVIDENCE
  • Readonly metadata: { readonly balance_updates?: readonly { readonly kind: MetadataBalanceUpdatesKindEnum; readonly contract?: string | undefined; readonly change: string; readonly origin?: MetadataBalanceUpdatesOriginEnum | undefined; ... 9 more ...; readonly delegator?: string | undefined; }[] | undefined; }
uid: string

Universal ID of the entity on the blockchain. It is still human-readable.

Example

Block hash / operation group hash / operation index [ operation kind ]

BLvgirK7K43H5tv8f73cxBaLwcU7euFNwmfr2td2sWKpKXQXxaM/opLpKECfrpuF79YLfSYABvxb8Df8Fh71n3Q8Azy1m8vWU8Czfcn/4[transaction]

Generated using TypeDoc