vite

package module
v2.11.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 License: GPL-3.0 Imports: 17 Imported by: 0

README

Logo

Vite is a next-generation Reactive Blockchain that adopts a message-driven, asynchronous architecture and a DAG-based ledger. The goal for Vite’s design is to provide a reliable public platform for industrial dApps, with features of ultra-high throughput and scalability.

Go Vite

Official golang implementation of Vite Protocol

GitHub release Go Report Card GitHub closed pull requests Downloads

The go-vite binary files can be download from releases.

Guides & Documentation

Product

Installation

You can choose one of the following installation options:

Faster ledger sync

download gvite ledger file manually.

Contribution

We are very very welcome contributions from anyone, even if little change (eg. improving comment, formatter) can help us make Vite better!

If you`d like to contribute to vite, please fork, fix, commit and make a pull request. We`ll review and handle the PR. Please make sure your code follows our guidelines:

  • Code must be formatted&commented to the official Go formatting&comment guidelines

  • Pull request is recommended to be base on master branch

License

The go-vite source code is under GPLv3, also announced in the LICENSE file in our code repository.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vite

type Vite struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config, walletManager *wallet.Manager) (vite *Vite, err error)

func (*Vite) Chain

func (v *Vite) Chain() chain.Chain

func (*Vite) Config

func (v *Vite) Config() *config.Config

func (*Vite) Consensus

func (v *Vite) Consensus() consensus.Consensus

func (*Vite) Init

func (v *Vite) Init() (err error)

func (*Vite) Net

func (v *Vite) Net() net.Net

func (*Vite) OnRoad

func (v *Vite) OnRoad() *onroad.Manager

func (*Vite) Pool

func (v *Vite) Pool() pool.BlockPool

func (*Vite) Producer

func (v *Vite) Producer() producer.Producer

func (*Vite) Start

func (v *Vite) Start() (err error)

func (*Vite) Stop

func (v *Vite) Stop() (err error)

func (*Vite) Verifier

func (v *Vite) Verifier() verifier.Verifier

func (*Vite) WalletManager

func (v *Vite) WalletManager() *wallet.Manager

Directories

Path Synopsis
rpc
cmd
Package common contains various helper functions.
Package common contains various helper functions.
db
db/xleveldb
Package leveldb provides implementation of LevelDB key/value database.
Package leveldb provides implementation of LevelDB key/value database.
db/xleveldb/cache
Package cache provides interface and implementation of a cache algorithms.
Package cache provides interface and implementation of a cache algorithms.
db/xleveldb/comparer
Package comparer provides interface and implementation for ordering sets of data.
Package comparer provides interface and implementation for ordering sets of data.
db/xleveldb/errors
Package errors provides common error types used throughout leveldb.
Package errors provides common error types used throughout leveldb.
db/xleveldb/filter
Package filter provides interface and implementation of probabilistic data structure.
Package filter provides interface and implementation of probabilistic data structure.
db/xleveldb/iterator
Package iterator provides interface and implementation to traverse over contents of a database.
Package iterator provides interface and implementation to traverse over contents of a database.
db/xleveldb/journal
Package journal reads and writes sequences of journals.
Package journal reads and writes sequences of journals.
db/xleveldb/memdb
Package memdb provides in-memory key/value database implementation.
Package memdb provides in-memory key/value database implementation.
db/xleveldb/opt
Package opt provides sets of options used by LevelDB.
Package opt provides sets of options used by LevelDB.
db/xleveldb/storage
Package storage provides storage abstraction for LevelDB.
Package storage provides storage abstraction for LevelDB.
db/xleveldb/table
Package table allows read and write sorted key/value.
Package table allows read and write sorted key/value.
db/xleveldb/util
Package util provides utilities used throughout leveldb.
Package util provides utilities used throughout leveldb.
hexutil
Package hexutil implements hex encoding with 0x prefix.
Package hexutil implements hex encoding with 0x prefix.
math
Package math provides integer math utilities.
Package math provides integer math utilities.
ed25519
Package ed25519 implements the Ed25519 signature algorithm.
Package ed25519 implements the Ed25519 signature algorithm.
ledger
consensus
Package consensus is a generated GoMock package.
Package consensus is a generated GoMock package.
Package log15 provides an opinionated, simple toolkit for best-practice logging that is both human and machine readable.
Package log15 provides an opinionated, simple toolkit for best-practice logging that is both human and machine readable.
net
pow
Package rpc provides access to the exported methods of an object across chain network or other I/O connection.
Package rpc provides access to the exported methods of an object across chain network or other I/O connection.
api
tools
vm
Package vm implements the vite virtual machine
Package vm implements the vite virtual machine

Jump to

Keyboard shortcuts

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