blockchain

package
v0.0.0-...-5c0ba76 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockChain

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

func New

func New() *BlockChain

func (*BlockChain) AddBlock

func (bc *BlockChain) AddBlock(data string)

func (BlockChain) All

func (bc BlockChain) All() iter.Seq2[int, *block.Block]

To range over blocks without having ability to change any block

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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