Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawIdentityTx ¶
type RawIdentityTx struct { KRecovery_p string // ecdsa.PublicKey KRevocation_p string // ecdsa.PublicKey KSignOperational_p string // ecdsa.PublicKey IdRelayer *core.ID // contains filtered or unexported fields }
RawIdentityTx is TODO
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
func (*ServiceImpl) ResolvClaimAssignName ¶
func (ns *ServiceImpl) ResolvClaimAssignName(name string) (*core.ClaimAssignName, error)
ResolvClaimAssignName returns the ClaimAssignName from the merkletree, given a name
func (*ServiceImpl) VinculateId ¶
func (ns *ServiceImpl) VinculateId(name string, domain string, id core.ID) (*core.ClaimAssignName, error)
VinculateId creates an adds a ClaimAssignName vinculating a name and an id, into the merkletree
type VinculateIdMsg ¶
type VinculateIdMsg struct { // This kind of message does not need the caducity Id core.ID `json:"id" binding:"required"` // temp, will be calculated directly from RawIdentityTx Name string `json:"name" binding:"required"` Signature *utils.SignatureEthMsg `json:"signature" binding:"required"` // hex format KSignPk *utils.PublicKey `json:"kSignPk" binding:"required"` ProofKSign core.ProofClaim `json:"proofKSign" binding:"required"` }
VinculateIdMsg is the structure that contains a request to assign an ethereum address to a name.
func (*VinculateIdMsg) Bytes ¶
func (m *VinculateIdMsg) Bytes() []byte
Bytes returns the byte array serialization of VinculateIdMsg
Click to show internal directories.
Click to hide internal directories.