spectest

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregateTest added in v1.0.0

type AggregateTest struct {
	Input  []string `json:"input"`
	Output string   `json:"output" ssz:"size=96"`
}

type AggregateVerifyTest added in v1.0.0

type AggregateVerifyTest struct {
	Input struct {
		Pubkeys   []string `json:"pubkeys"`
		Messages  []string `json:"messages"`
		Signature string   `json:"signature"`
	} `json:"input"`
	Output bool `json:"output"`
}

type FastAggregateVerifyTest added in v1.0.0

type FastAggregateVerifyTest struct {
	Input struct {
		Pubkeys []string `json:"pubkeys"`
		Message string   `json:"message"`
		// TODO(#7632): Remove when https://github.com/ethereum/eth2.0-spec-tests/issues/22 is resolved.
		Messages  string `json:"messages"`
		Signature string `json:"signature"`
	} `json:"input"`
	Output bool `json:"output"`
}

type SignMsgTest

type SignMsgTest struct {
	Input struct {
		Privkey string `json:"privkey"`
		Message string `json:"message"`
	} `json:"input"`
	Output string `json:"output"`
}

type VerifyMsgTest added in v1.0.0

type VerifyMsgTest struct {
	Input struct {
		Pubkey    string `json:"pubkey"`
		Message   string `json:"message"`
		Signature string `json:"signature"`
	} `json:"input"`
	Output bool `json:"output"`
}

Jump to

Keyboard shortcuts

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