Documentation ¶
Index ¶
- func BlocksToHex(b ...[][32]byte) []string
- func PrintBlocksAsHex(api frontend.API, blocks ...[32]frontend.Variable)
- func PrintBytesAsHex(api frontend.API, v []frontend.Variable)
- func PrintBytesAsNum(b []byte)
- func PrintVarAsHex(api frontend.API, x frontend.Variable)
- func SnarkFunctionTest(f func(frontend.API) []frontend.Variable, outs ...frontend.Variable) func(*testing.T)
- func StrBlocks(s string, n int) string
- type ProgressReporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlocksToHex ¶
func PrintBytesAsNum ¶
func PrintBytesAsNum(b []byte)
func PrintVarAsHex ¶
PrintVarAsHex decomposes x into bytes and prints the whole thing
func SnarkFunctionTest ¶
Types ¶
type ProgressReporter ¶
type ProgressReporter struct {
// contains filtered or unexported fields
}
ProgressReporter prints percentages on console out; useful for monitoring long tasks
func NewProgressReporter ¶
func NewProgressReporter(n int) *ProgressReporter
func (*ProgressReporter) Update ¶
func (r *ProgressReporter) Update(i int)
Click to show internal directories.
Click to hide internal directories.