node

package
v1.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockBroadcast added in v1.6.0

type BlockBroadcast struct {
	ID               ton.BlockIDExt   `tl:"struct"`
	CatchainSeqno    int32            `tl:"int"`
	ValidatorSetHash int32            `tl:"int"`
	Signatures       []BlockSignature `tl:"vector struct"`
	Proof            []byte           `tl:"bytes"`
	Data             []byte           `tl:"bytes"`
}

type BlockBroadcastCompressed added in v1.17.0

type BlockBroadcastCompressed struct {
	ID               ton.BlockIDExt `tl:"struct"`
	CatchainSeqno    int32          `tl:"int"`
	ValidatorSetHash int32          `tl:"int"`
	Flags            uint32         `tl:"flags"`
	Compressed       []byte         `tl:"bytes"`
}

type BlockBroadcastCompressedData added in v1.17.0

type BlockBroadcastCompressedData struct {
	Signatures []BlockSignature `tl:"vector struct"`
	ProofData  []byte           `tl:"bytes"`
}

type BlockBroadcastCompressedV2 added in v1.17.0

type BlockBroadcastCompressedV2 struct {
	ID             ton.BlockIDExt `tl:"struct"`
	SignatureSet   any            `tl:"struct boxed [tonNode.signatureSet.ordinary,tonNode.signatureSet.simplex]"`
	Flags          uint32         `tl:"flags"`
	Proof          []byte         `tl:"bytes"`
	DataCompressed []byte         `tl:"bytes"`
}

type BlockSignature added in v1.6.0

type BlockSignature struct {
	Who       []byte `tl:"int256"`
	Signature []byte `tl:"bytes"`
}

type ConsensusOverlayID added in v1.17.0

type ConsensusOverlayID struct {
	SessionID []byte   `tl:"int256"`
	Nodes     [][]byte `tl:"vector int256"`
}

type CustomOverlayID added in v1.17.0

type CustomOverlayID struct {
	ZeroStateFileHash []byte   `tl:"int256"`
	Name              string   `tl:"string"`
	Nodes             [][]byte `tl:"vector int256"`
}

type DataFull

type DataFull struct {
	ID     ton.BlockIDExt `tl:"struct"`
	Proof  []byte         `tl:"bytes"`
	Block  []byte         `tl:"bytes"`
	IsLink bool           `tl:"bool"`
}

type DataFullEmpty

type DataFullEmpty struct{}

type DownloadBlock

type DownloadBlock struct {
	Block ton.BlockIDExt `tl:"struct"`
}

type DownloadBlockFull

type DownloadBlockFull struct {
	Block ton.BlockIDExt `tl:"struct"`
}

type ExternalMessage added in v1.6.0

type ExternalMessage struct {
	Data []byte `tl:"bytes"`
}

type FastSyncOverlayID added in v1.17.0

type FastSyncOverlayID struct {
	ZeroStateFileHash []byte  `tl:"int256"`
	Shard             ShardID `tl:"struct"`
}

type NewBlockCandidateBroadcast added in v1.17.0

type NewBlockCandidateBroadcast struct {
	ID                ton.BlockIDExt `tl:"struct"`
	CatchainSeqno     int32          `tl:"int"`
	ValidatorSetHash  int32          `tl:"int"`
	CollatorSignature BlockSignature `tl:"struct"`
	Data              []byte         `tl:"bytes"`
}

type NewBlockCandidateBroadcastCompressed added in v1.17.0

type NewBlockCandidateBroadcastCompressed struct {
	ID                ton.BlockIDExt `tl:"struct"`
	CatchainSeqno     int32          `tl:"int"`
	ValidatorSetHash  int32          `tl:"int"`
	CollatorSignature BlockSignature `tl:"struct"`
	Flags             uint32         `tl:"flags"`
	Compressed        []byte         `tl:"bytes"`
}

type NewBlockCandidateBroadcastCompressedV2 added in v1.17.0

type NewBlockCandidateBroadcastCompressedV2 struct {
	ID                ton.BlockIDExt `tl:"struct"`
	CatchainSeqno     int32          `tl:"int"`
	ValidatorSetHash  int32          `tl:"int"`
	CollatorSignature BlockSignature `tl:"struct"`
	Flags             uint32         `tl:"flags"`
	Compressed        []byte         `tl:"bytes"`
}

type NewExternalMessageBroadcast added in v1.6.0

type NewExternalMessageBroadcast struct {
	Message ExternalMessage `tl:"struct"`
}

type NewShardBlock added in v1.6.0

type NewShardBlock struct {
	ID      ton.BlockIDExt `tl:"struct"`
	CCSeqno int32          `tl:"int"`
	Data    []byte         `tl:"bytes"`
}

type NewShardBlockBroadcast added in v1.6.0

type NewShardBlockBroadcast struct {
	Block NewShardBlock `tl:"struct"`
}

type PrivateBlockOverlayID added in v1.17.0

type PrivateBlockOverlayID struct {
	ZeroStateFileHash []byte   `tl:"int256"`
	Nodes             [][]byte `tl:"vector int256"`
}

type SessionID added in v1.17.0

type SessionID struct {
	Workchain int32  `tl:"int"`
	Shard     int64  `tl:"long"`
	CCSeqno   int32  `tl:"int"`
	OptsHash  []byte `tl:"int256"`
}

type ShardID added in v1.17.0

type ShardID struct {
	Workchain int32 `tl:"int"`
	Shard     int64 `tl:"long"`
}

type ShardPublicOverlayID

type ShardPublicOverlayID struct {
	Workchain         int32  `tl:"int"`
	Shard             int64  `tl:"long"`
	ZeroStateFileHash []byte `tl:"int256"`
}

type SignatureSetOrdinary added in v1.17.0

type SignatureSetOrdinary struct {
	CatchainSeqno    int32            `tl:"int"`
	ValidatorSetHash int32            `tl:"int"`
	Signatures       []BlockSignature `tl:"vector struct"`
}

type SignatureSetSimplex added in v1.17.0

type SignatureSetSimplex struct {
	Final            bool             `tl:"bool"`
	CatchainSeqno    int32            `tl:"int"`
	ValidatorSetHash int32            `tl:"int"`
	Signatures       []BlockSignature `tl:"vector struct"`
	SessionID        []byte           `tl:"int256"`
	Slot             int32            `tl:"int"`
	Candidate        any              `tl:"struct boxed [consensus.candidateHashDataOrdinary,consensus.candidateHashDataEmpty]"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL