blockchain

package
v0.0.0-...-ddb2dd3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Genesis

func Genesis(proof proof.Proofer) *block.Block

Types

type BlockChain

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

func InitBlockChain

func InitBlockChain(proof proof.Proofer) *BlockChain

func (*BlockChain) AddBlock

func (chain *BlockChain) AddBlock(data string)

func (*BlockChain) Blocks

func (chain *BlockChain) Blocks() []*block.Block

Jump to

Keyboard shortcuts

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