crypto

package
v1.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CryptoIdentity

type CryptoIdentity struct {
	ibcmock.PV
}

CryptoIdentity is a test helper for generating keys and addresses of various interfaces and types used by the SDK and Tendermint from a single 'root' private key.

func NewCryptoIdentityFromBytesSeed

func NewCryptoIdentityFromBytesSeed(seed []byte) *CryptoIdentity

func NewCryptoIdentityFromIntSeed

func NewCryptoIdentityFromIntSeed(i int) *CryptoIdentity

func (*CryptoIdentity) ABCIAddressBytes

func (v *CryptoIdentity) ABCIAddressBytes() []byte

func (*CryptoIdentity) SDKConsAddress

func (v *CryptoIdentity) SDKConsAddress() sdktypes.ConsAddress

func (*CryptoIdentity) SDKPubKey

func (v *CryptoIdentity) SDKPubKey() sdkcryptotypes.PubKey

func (*CryptoIdentity) SDKStakingOperator

func (v *CryptoIdentity) SDKStakingOperator() sdktypes.ValAddress

func (*CryptoIdentity) SDKStakingValidator

func (v *CryptoIdentity) SDKStakingValidator() sdkstakingtypes.Validator

func (*CryptoIdentity) SDKValAddress

func (v *CryptoIdentity) SDKValAddress() sdktypes.ValAddress

func (*CryptoIdentity) TMCryptoPubKey

func (v *CryptoIdentity) TMCryptoPubKey() tmcrypto.PubKey

func (*CryptoIdentity) TMProtoCryptoPublicKey

func (v *CryptoIdentity) TMProtoCryptoPublicKey() tmprotocrypto.PublicKey

func (*CryptoIdentity) TMValidator

func (v *CryptoIdentity) TMValidator(power int64) *tmtypes.Validator

Jump to

Keyboard shortcuts

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