name

package
v0.10.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateName

func CreateName(scs *state.ContractState, tx *types.TxBody, sender, receiver *state.V) error

func ExecuteNameTx

func ExecuteNameTx(scs *state.ContractState, txBody *types.TxBody, sender, receiver *state.V, blockNo types.BlockNo) error

func GetAddress

func GetAddress(scs *state.ContractState, name []byte) []byte

GetAddress is resolve name for mempool

func Resolve

func Resolve(bs *state.BlockState, name []byte) []byte

Resolve is resolve name for chain

func UpdateName

func UpdateName(scs *state.ContractState, tx *types.TxBody, sender, receiver *state.V) error

UpdateName is avaliable after bid implement

func ValidateNameTx

func ValidateNameTx(tx *types.TxBody, scs *state.ContractState) error

Types

type Owner

type Owner struct {
	Address []byte
}

func GetOwner

func GetOwner(scs *state.ContractState, name []byte) *Owner

Jump to

Keyboard shortcuts

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