Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • crown-core crown-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 75
    • Issues 75
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Crown
  • crown-corecrown-core
  • Issues
  • #208

Closed
Open
Created Jul 30, 2018 by Artem B@artemOwner0 of 3 tasks completed0/3 tasks

Keys/Hashes Opcodes for Update

Motivation

The next opcode which is necessary in order to build Crown Platform registration infrastructure is an update opcode: OP_REG_UPDATE.

It can be used to update name, or/and data, or/and hash (if it’s not an address) of the registered entity. Verify/approve changes of the registered and verified entity.

Feature Definition

  • Implementation of OP_REG_UPDATE opcode and ability to process it by Crown Core software
  • JSON RPC commands to update existing entities
  • REST API for update existing entities

Requirements

Opcode: <Owner Address(es)> OP_REG_UPDATE(hash/address, name, data)
Workflow Rules: 1 of OP_REG_NEW | OP_REG_VERIFY | OP_REG_UPDATE | OP_REG_DUP → OP_REG_UPDATE → OP_REG_UPDATE | OP_REG_DUP | Unregister Entity

OP_REG_opcodes_technical_workflow

Links/references

More details are available in the specification: https://docs.google.com/document/d/1WE9ikiSieQvyiM0iSY7hJh1h6HXIdQZJFD9jkJPW6dc/edit#bookmark=kix.jsqt9cncqfmr

Edited Jul 30, 2018 by Artem B
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking