prysm-pulse/shared/bls/interface.go
Preston Van Loon fb8be4d555
Refactor BLS (#6395)
* refactor BLS to expose an interface rather than a single implementation
* Split up tests, gofmt, goimports, docs
* godoc for signature.Copy()
* more godocs
* revert gomod / deps changes
* rm newline
* revert proto changes
* rename bls12 to herumi for clarity
2020-06-25 00:47:51 +00:00

15 lines
313 B
Go

package bls
import (
"github.com/prysmaticlabs/prysm/shared/bls/iface"
)
// PublicKey represents a BLS public key.
type PublicKey = iface.PublicKey
// SecretKey represents a BLS secret or private key.
type SecretKey = iface.SecretKey
// Signature represents a BLS signature.
type Signature = iface.Signature