wallet

package
v0.0.0-...-0abe6a2 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: BSD-3-Clause Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	MaxCountPerTime int64 = 100
)

MaxCountPerTime: 每次获取多重签名账户的数量

View Source
const (
	// MultisigAddr 记录本钱包owner地址拥有的多重签名地址,key:"multisig-addr-owneraddr, value [](multisigaddr,owneraddr,weight)
	MultisigAddr = "multisig-addr-"
)

Variables

This section is empty.

Functions

func AddOwnerAttr

func AddOwnerAttr(firstAdd bool, ownerAttrs *mtypes.OwnerAttrs, ownerAttr *mtypes.OwnerAttr, newbatch db.Batch)

AddOwnerAttr : 添加owmer属性

func DelOwnerAttr

func DelOwnerAttr(ownerAttrs *mtypes.OwnerAttrs, ownerAddr string, multiSigAddr string, newbatch db.Batch)

DelOwnerAttr :删除owner属性

func ModOwnerAttr

func ModOwnerAttr(ownerAttrs *mtypes.OwnerAttrs, ownerAddr string, multiSigAddr string, weight uint64, newbatch db.Batch)

ModOwnerAttr :修改owner weight属性

func New

func New() wcom.WalletBizPolicy

New 创建一个钱包业务策略

Types

This section is empty.

Jump to

Keyboard shortcuts

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