snapshot

package
v0.0.0-...-ddf2b42 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Copyright (c) 2018 The MATRIX Authors Distributed under the MIT software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php

Copyright (c) 2018 The MATRIX Authors Distributed under the MIT software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php

Index

Constants

View Source
const SNAPDIR = "./snapdir"

Variables

View Source
var DefaultConfig = Config{
	DataDir: "",
	Name:    "snapshot.db",
}

Functions

This section is empty.

Types

type Config

type Config struct {
	DataDir string
	Name    string
}

type SnapshotData

type SnapshotData struct {
	CoinTries []state.CoinTrie
	Td        *big.Int
	Block     types.Block
	Seq       uint64 //lb
}

type SnapshotDatas

type SnapshotDatas struct {
	Datas      []SnapshotData
	OtherTries [][]state.CoinTrie
}

Jump to

Keyboard shortcuts

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