-
Notifications
You must be signed in to change notification settings - Fork 0
Header
JaapWijnen edited this page May 4, 2021
·
15 revisions
public struct Header: Codable
Codable
init(version:chainID:height:time:lastBlockID:lastCommitHash:dataHash:validatorsHash:nextValidatorsHash:consensusHash:appHash:lastResultsHash:evidenceHash:proposerAddress:)
public init(
version: Version = Version(),
chainID: String,
height: Int64 = 0,
time: Date,
lastBlockID: BlockID = BlockID(),
lastCommitHash: Data = Data(),
dataHash: Data = Data(),
validatorsHash: Data = Data(),
nextValidatorsHash: Data = Data(),
consensusHash: Data = Data(),
appHash: Data = Data(),
lastResultsHash: Data = Data(),
evidenceHash: Data = Data(),
proposerAddress: Data = Data()
)
public let version: Version
public let chainID: String
public var height: Int64
public let time: Date
public let lastBlockID: BlockID
public let lastCommitHash: Data
public let dataHash: Data
public let validatorsHash: Data
public let nextValidatorsHash: Data
public let consensusHash: Data
public let appHash: Data
public let lastResultsHash: Data
public let evidenceHash: Data
public let proposerAddress: Data
Generated at 2021-05-04T10:50:27+0000 using swift-doc 1.0.0-beta.6.
Types
- ABCIProcessor
- BlockID
- BlockParams
- CheckTxType
- ConsensusParams
- Event
- EventAttribute
- Evidence
- EvidenceParams
- EvidenceType
- Header
- IntToStringCoder
- KeyValueStoreApp
- LastCommitInfo
- NIOABCIChannelHandler
- NIOABCIServer
- PartSetHeader
- Proof
- ProofOp
- ProofOps
- PublicKey
- RequestApplySnapshotChunk
- RequestBeginBlock
- RequestCheckTx
- RequestDeliverTx
- RequestEcho
- RequestEndBlock
- RequestInfo
- RequestInitChain
- RequestLoadSnapshotChunk
- RequestOfferSnapshot
- RequestQuery
- ResponseApplySnapshotChunk
- ResponseApplySnapshotChunk.Result
- ResponseBeginBlock
- ResponseCheckTx
- ResponseCommit
- ResponseDeliverTx
- ResponseEcho
- ResponseEndBlock
- ResponseInfo
- ResponseInitChain
- ResponseListSnapshots
- ResponseLoadSnapshotChunk
- ResponseOfferSnapshot
- ResponseOfferSnapshot.Result
- ResponseQuery
- Snapshot
- Store
- Store.Transaction
- Validator
- ValidatorParams
- ValidatorUpdate
- Version
- VoteInfo