hdv1

package
v0.0.0-...-891b8cb Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_crypto_hd_v1_hd_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BIP44Params

type BIP44Params struct {

	// purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation
	Purpose uint32 `protobuf:"varint,1,opt,name=purpose,proto3" json:"purpose,omitempty"`
	// coin_type is a constant that improves privacy
	CoinType uint32 `protobuf:"varint,2,opt,name=coin_type,json=coinType,proto3" json:"coin_type,omitempty"`
	// account splits the key space into independent user identities
	Account uint32 `protobuf:"varint,3,opt,name=account,proto3" json:"account,omitempty"`
	// change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal
	// chain.
	Change bool `protobuf:"varint,4,opt,name=change,proto3" json:"change,omitempty"`
	// address_index is used as child index in BIP32 derivation
	AddressIndex uint32 `protobuf:"varint,5,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"`
	// contains filtered or unexported fields
}

BIP44Params is used as path field in ledger item in Record.

func (*BIP44Params) Descriptor deprecated

func (*BIP44Params) Descriptor() ([]byte, []int)

Deprecated: Use BIP44Params.ProtoReflect.Descriptor instead.

func (*BIP44Params) GetAccount

func (x *BIP44Params) GetAccount() uint32

func (*BIP44Params) GetAddressIndex

func (x *BIP44Params) GetAddressIndex() uint32

func (*BIP44Params) GetChange

func (x *BIP44Params) GetChange() bool

func (*BIP44Params) GetCoinType

func (x *BIP44Params) GetCoinType() uint32

func (*BIP44Params) GetPurpose

func (x *BIP44Params) GetPurpose() uint32

func (*BIP44Params) ProtoMessage

func (*BIP44Params) ProtoMessage()

func (*BIP44Params) ProtoReflect

func (x *BIP44Params) ProtoReflect() protoreflect.Message

func (*BIP44Params) Reset

func (x *BIP44Params) Reset()

func (*BIP44Params) String

func (x *BIP44Params) String() string

Jump to

Keyboard shortcuts

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