paynym

package
Version: v0.0.0-...-d238806 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: GPL-2.0, GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddressVersion = 0x01 // address
View Source
var CoinType = uint32(0x80000000)
View Source
var Identity = uint32(0x80000000)
View Source
var MultisigVersion = 0x02 // bloom-multisig
View Source
var Purpose = uint32(0x8000002F)

Functions

func GenPaynym

func GenPaynym(alicePrivKey, bobPubkey, chaincode []byte, outpoint []byte) (string, error)

func SetupWallets

func SetupWallets() (*hdwallet.HDWallet, *hdwallet.HDWallet, error)

Types

type PayNym

type PayNym struct {
	Version    byte
	BitMessage byte
	Sign       byte
	XValue     [32]byte
	Chaincode  [32]byte
	Reserved   [13]byte
}

func (*PayNym) Bytes

func (p *PayNym) Bytes() ([]byte, error)

Source Files

Jump to

Keyboard shortcuts

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