pow

package
v0.0.0-...-bdbe780 Latest Latest
Warning

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

Go to latest
Published: May 18, 2015 License: ISC Imports: 0 Imported by: 0

Documentation

Overview

Package pow implements proof-of-work and its checking mechanism.

Index

Constants

View Source
const (
	// If changed, these values will cause particularly unexpected behavior: You
	// won't be able to either send or receive messages because the proof of
	// work you do (or demand) won't match that done or demanded by others.
	// Don't change them!
	//
	// The amount of work that should be performed (and demanded) per byte of
	// the payload.
	DefaultNonceTrialsPerByte = 1000
	// To make sending short messages a little more difficult, this value is
	// added to the payload length for use in calculating the proof of work
	// target.
	DefaultExtraBytes = 1000
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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