server

package
v0.0.0-...-b149aee Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ALLOCATION_CONFIRMATIONS_REQUIRED = 3
View Source
const REFUPDATE_CONFIRMATIONS_REQUIRED = 1
View Source
const RESERVATION_CONFIRMATIONS_REQUIRED = 3

Variables

This section is empty.

Functions

func MiningFactory

func MiningFactory(srv *context.T)

func NameRegistrar

func NameRegistrar(srv *context.T)

func RepositoryServer

func RepositoryServer(srv *context.T)

func TransactionListener

func TransactionListener(srv *context.T)

Types

type Miner

type Miner struct {
	Block     *block.Block
	StartTime time.Time
	// contains filtered or unexported fields
}

type MiningFactoryInstantiationRequest

type MiningFactoryInstantiationRequest struct {
	Block           *block.Block
	ResponseChannel chan *block.Block
}

type MiningFactoryStatusRequest

type MiningFactoryStatusRequest struct {
	ResponseChannel chan MiningStatus
}

type MiningStatus

type MiningStatus struct {
	Miners      []Miner
	BlocksMined int
}

func GetMiningStatus

func GetMiningStatus() MiningStatus

func (MiningStatus) AvailableMiners

func (s MiningStatus) AvailableMiners() (n int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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