Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
func New ¶
func New(cs claimsrv.Service) *ServiceImpl
func (*ServiceImpl) CreateIdGenesis ¶ added in v0.0.3
func (is *ServiceImpl) CreateIdGenesis(kop *babyjub.PublicKey, kdis, kreen, kupdateRoot common.Address) (*core.ID, *core.ProofClaim, error)
CreateIdGenesis initializes the id MerkleTree with the given the kop, kdisable, kreenable and kupdateRoots public keys. Where the id is calculated a MerkleTree containing that initial data, calculated in the function CalculateIdGenesis()
Click to show internal directories.
Click to hide internal directories.