Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
IDPrefix = []byte("ACID")
)
Functions ¶
This section is empty.
Types ¶
type AccountManager ¶
type AccountManager struct {
// contains filtered or unexported fields
}
func NewAccountManager ¶
func NewAccountManager(db database.Database) *AccountManager
func (AccountManager) CreateAccount ¶
func (am AccountManager) CreateAccount() (Account, error)
func (AccountManager) GetCurrentNodeAccounts ¶
func (am AccountManager) GetCurrentNodeAccounts(id []byte) ([]Account, error)
type CtrlProgram ¶
type CtrlProgram struct {
AccountID string
Address string
KeyIndex uint64
ControlProgram []byte
Change bool // Mark whether this control program is for UTXO change
}
func CreateP2PKH ¶
func CreateP2PKH(xpub chainkd.XPub) (*CtrlProgram, []byte, error)
Click to show internal directories.
Click to hide internal directories.