Documentation
¶
Index ¶
Constants ¶
View Source
const ( CacheSize = 128 // DipRewardAddressPrivate dip reward rewardAddress:n1c6y4ctkMeZk624QWBTXuywmNpCWmJZiBq DipRewardAddressPrivate = "42f0c8b5feb72301619046ca87e6cf2c605e94dae0e24c9cb3a0101dbb60337c" // DipRewardAddressPassphrase DipRewardAddressPassphrase = "passphrase" )
const types
Variables ¶
View Source
var ( ErrDipNotFound = errors.New("dip not found") ErrInvalidDipAddress = errors.New("invalid dip reward address") ErrUnsupportedTransactionFromDipAddress = errors.New("unsupported transaction from dip address") )
Error types
Functions ¶
This section is empty.
Types ¶
type DIPData ¶
type Dip ¶
type Dip struct {
// contains filtered or unexported fields
}
func (*Dip) CheckReward ¶
func (d *Dip) CheckReward(tx *core.Transaction) error
func (*Dip) DipDelayRewardHeight ¶
func (*Dip) GetDipList ¶
GetDipList returns dip info list
func (*Dip) RewardAddress ¶
RewardAddress return dip reward rewardAddress.
func (*Dip) RewardValue ¶
type Neblet ¶
type Neblet interface { Config() *nebletpb.Config AccountManager() core.AccountManager BlockChain() *core.BlockChain }
Click to show internal directories.
Click to hide internal directories.