Documentation
¶
Overview ¶
Copyright (C) 2019-2025, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2019-2025, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Copyright (C) 2019-2025, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
Constants ¶
View Source
const TrieNode message.NodeType = 2
TrieNode represents a leaf node that belongs to the atomic trie.
Variables ¶
This section is empty.
Functions ¶
func NewExtender ¶
func NewExtender() *extender
Initialize initializes the sync extender with the backend and trie.
func NewLeafHandler ¶
func NewLeafHandler() *leafHandler
NewAtomicLeafHandler returns a new uninitialzied atomicLeafHandler that can be later initialized
func NewSummaryParser ¶
func NewSummaryParser() *summaryParser
func NewSummaryProvider ¶
func NewSummaryProvider() *summaryProvider
Types ¶
type Summary ¶
type Summary struct {
*message.BlockSyncSummary `serialize:"true"`
AtomicRoot common.Hash `serialize:"true"`
// contains filtered or unexported fields
}
Summary provides the information necessary to sync a node starting at the given block.
func NewSummary ¶
Click to show internal directories.
Click to hide internal directories.