Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

syncapi

v1.21.5
github.com/luxfi/database/state/syncapi

Documentation

pkg.go.dev ↗

Table of contents

↓ to select · Enter to jump· Shift+Enter for source

5 matches

Top ↑

Package syncapi exposes the *data* formats needed by trie-/code-sync. It has NO networking logic.

Types

CodeRequest

type CodeRequest struct {
	Hash []byte
}

CodeResponse

type CodeResponse struct {
	Code []byte
}

LeafsRequest

type LeafsRequest struct {
	Root  []byte
	Start []byte
	End   []byte
	Limit uint16
}

LeafsResponse

type LeafsResponse struct {
	Keys [][]byte
	Vals [][]byte
}

Dependency graph