Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/proto/tendermint/types/params

Index

Type aliases

DeepPartial

DeepPartial<T>: T extends Builtin ? T : T extends infer U[] ? DeepPartial<U>[] : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {[ K in keyof T]: DeepPartial<T[K]> } : Partial<T>

Type parameters

  • T

Variables

BlockParams

BlockParams: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

ConsensusParams

ConsensusParams: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • decode: function
  • encode: function
  • fromJSON: function
  • fromPartial: function
    • fromPartial(object: { block?: { maxBytes?: number | undefined; maxGas?: number | undefined; timeIotaMs?: number | undefined; }; evidence?: { maxAgeNumBlocks?: number | undefined; maxAgeDuration?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; maxBytes?: number | undefined; }; validator?: { pubKeyTypes?: string[] | undefined; }; version?: { appVersion?: number | undefined; } }): ConsensusParams
    • Parameters

      • object: { block?: { maxBytes?: number | undefined; maxGas?: number | undefined; timeIotaMs?: number | undefined; }; evidence?: { maxAgeNumBlocks?: number | undefined; maxAgeDuration?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; maxBytes?: number | undefined; }; validator?: { pubKeyTypes?: string[] | undefined; }; version?: { appVersion?: number | undefined; } }
        • Optional block?: { maxBytes?: number | undefined; maxGas?: number | undefined; timeIotaMs?: number | undefined; }
        • Optional evidence?: { maxAgeNumBlocks?: number | undefined; maxAgeDuration?: { seconds?: number | undefined; nanos?: number | undefined; } | undefined; maxBytes?: number | undefined; }
        • Optional validator?: { pubKeyTypes?: string[] | undefined; }
        • Optional version?: { appVersion?: number | undefined; }

      Returns ConsensusParams

  • toJSON: function

EvidenceParams

EvidenceParams: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

HashedParams

HashedParams: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

ValidatorParams

ValidatorParams: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

VersionParams

VersionParams: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Const protobufPackage

protobufPackage: "tendermint.types" = 'tendermint.types'

Generated using TypeDoc