Documentation ¶
Index ¶
- Constants
- func CheckBoundsInit() (er error)
- func CheckByteOverflowSum(a, b byte) bool
- func CheckHash(tos TickOrStop, hash []byte) (tf bool)
- func CheckSoln(channelID ChannelID, solnAttempt [32]byte, tos TickOrStop) (tf bool)
- func GenerateAndStoreChanSolns(numberOfChans, solsPerChan int) (er error)
- func GenerateAndStoreSolns(channelID ChannelID, tos TickOrStop, numberToGen int) (er error)
- func IncrementBArrByOne(b []byte) []byte
- func InitBounds() (er error)
- func StoreSolns(channelID ChannelID, solns []Soln, tos TickOrStop) (er error)
- type Bound
- type ChannelID
- type Soln
Constants ¶
View Source
const ChannelLength = 32
View Source
const G_SolnDir = ".solns"
View Source
const SolnLength = 32
Variables ¶
This section is empty.
Functions ¶
func CheckBoundsInit ¶
func CheckBoundsInit() (er error)
func CheckByteOverflowSum ¶
func GenerateAndStoreSolns ¶
func IncrementBArrByOne ¶
func InitBounds ¶
func InitBounds() (er error)
func StoreSolns ¶
Types ¶
type Soln ¶
type Soln [SolnLength]byte
func GenerateSolns ¶
func IncrementSolnByOne ¶
func NewBaseGuess ¶
Click to show internal directories.
Click to hide internal directories.