Documentation ¶
Index ¶
Constants ¶
View Source
const ( NUMBER_OF_ROUNDSP27 = 27 NUMBER_OF_ROUNDSP81 = 81 HASH_LENGTH = 243 STATE_LENGTH = 3 * HASH_LENGTH )
View Source
const ( BIT_HASH_LENGTH = 384 BYTE_HASH_LENGTH = BIT_HASH_LENGTH / 8 )
Variables ¶
View Source
var ( THREE = big.NewInt(3) ONE = big.NewInt(1) )
View Source
var (
TRUTH_TABLE = []int{1, 0, -1, 2, 1, -1, 0, 2, -1, 1, 0}
)
Functions ¶
func IsValidPoW ¶
func RunHashCurl ¶
func RunHashKerl ¶
Types ¶
type Curl ¶
type Curl struct { Hash // contains filtered or unexported fields }
func (*Curl) Initialize ¶
func (curl *Curl) Initialize()
Click to show internal directories.
Click to hide internal directories.