wallet

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientPublicKey

func ClientPublicKey() notaryapi.PublicKey

func ClientPublicKeyStr

func ClientPublicKeyStr() string

func FactoidAddress

func FactoidAddress() string

func GetMyBalance

func GetMyBalance() (bal int64)

func Sign

func Sign(d []byte) notaryapi.Signature

impliment Signer

func SignData

func SignData(data []byte) notaryapi.Signature

Types

type KeyManager

type KeyManager struct {
	// contains filtered or unexported fields
}

func (*KeyManager) FilePath

func (km *KeyManager) FilePath() (fp string)

func (*KeyManager) GenerateNewKey

func (km *KeyManager) GenerateNewKey() (err error)

func (*KeyManager) InitKeyManager

func (km *KeyManager) InitKeyManager(path string, file string) (err error)

func (*KeyManager) LoadKeys

func (km *KeyManager) LoadKeys(file *os.File) (err error)

func (*KeyManager) LoadOrGenerateKeys

func (km *KeyManager) LoadOrGenerateKeys() (err error)

func (*KeyManager) WriteKeys

func (km *KeyManager) WriteKeys(file *os.File) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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