dagger

package
v0.8.6-0...-b2a225a Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2015 License: LGPL-2.1-or-later Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Found bool

Functions

func DaggerVerify

func DaggerVerify(hash, diff, nonce *big.Int) bool

func Sum

func Sum(sha hash.Hash) []byte

Types

type Dagger

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

func (*Dagger) Eval

func (dag *Dagger) Eval(N *big.Int) *big.Int

func (*Dagger) Find

func (dag *Dagger) Find(obj *big.Int, resChan chan int64)

func (*Dagger) Node

func (dag *Dagger) Node(L uint64, i uint64) *big.Int

func (*Dagger) Search

func (dag *Dagger) Search(hash, diff *big.Int) *big.Int

func (*Dagger) Verify

func (dag *Dagger) Verify(hash, diff, nonce *big.Int) bool

Jump to

Keyboard shortcuts

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