Skip to content

RequestLoadSnapshotChunk

JaapWijnen edited this page May 4, 2021 · 4 revisions

RequestLoadSnapshotChunk

Used during state sync to retrieve snapshot chunks from peers.

public struct RequestLoadSnapshotChunk 

Initializers

init(height:format:chunk:)

public init(height: UInt64, format: UInt32, chunk: UInt32) 

Properties

height

The height of the snapshot the chunks belongs to.

public let height: UInt64

format

The application-specific format of the snapshot the chunk belongs to.

public let format: UInt32

chunk

The chunk index, starting from 0 for the initial chunk.

public let chunk: UInt32
Clone this wiki locally