Documentation ¶
Index ¶
- func BuildCommitteePubkey(minerPrivateKey string, stakerAddr string) (*incognitokey.CommitteePublicKey, error)
- func GetShardIDFromPubkey(pk string, args ...interface{}) (int, error)
- func IncPubkeyFromPaymentAddr(paymentAddr string) string
- func ParseCommitteePubkey(committeeKey string) (*incognitokey.CommitteePublicKey, error)
- type Account
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCommitteePubkey ¶
func BuildCommitteePubkey(minerPrivateKey string, stakerAddr string) (*incognitokey.CommitteePublicKey, error)
func GetShardIDFromPubkey ¶
func ParseCommitteePubkey ¶
func ParseCommitteePubkey(committeeKey string) (*incognitokey.CommitteePublicKey, error)
Types ¶
type Account ¶
type Account struct { Name string PublicKey string PrivateKey string MiningKey string MiningPubkey string PaymentAddress string Keyset *incognitokey.KeySet SelfCommitteePubkey string MiningKeySet *signatureschemes.MiningKey }
func GenerateAccountByShard ¶
Click to show internal directories.
Click to hide internal directories.