Giter Site home page Giter Site logo

m04120310 / omnicore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omnilayer/omnicore

0.0 4.0 1.0 42.58 MB

OmniCore staging tree

Home Page: http://www.omnilayer.org/

License: MIT License

Makefile 1.48% Shell 0.72% M4 2.43% QMake 0.03% Python 3.85% Groff 0.31% C++ 83.32% C 6.64% HTML 0.86% CSS 0.02% Objective-C++ 0.12% Protocol Buffer 0.04% Assembly 0.13% Java 0.04% Objective-C 0.03%

omnicore's Issues

Vote RPC:error: {"code":-8,"message":"Property identifier is out of range"}

範例:
omnicli gcoin_vote_for_license "mjZe4haCrjUcDHdGuX5kBn6sNhv65QTTRc" 2147483651 "approve"
RPCConvertValues strMethod:gcoin_vote_for_license

Result:
strParams: mjZe4haCrjUcDHdGuX5kBn6sNhv65QTTRc
method: gcoin_vote_for_license
strParams: 2147483651
method: gcoin_vote_for_license
strParams: approve
method: gcoin_vote_for_license
error: {"code":-8,"message":"Property identifier is out of range"}

想一些應用實境(story),可大可小

在想一些應用實境之前,得先:

  1. 首先我們要先拿掉omni/testomni這兩個預設的token
    2�. 刪光舊的db,並設定我們的layer的第一個block要從哪個開始。
    總之把以前不論是omni還是測試所創的token刪光。一切重新。

以下請腦補的一些可能要測的應用實境:
申請成為新的alliance(成功、失敗)
申請新的license(成功、失敗)
mint token

RPC debug message 拿掉

e.g.
omnicli "omni_sendissuancemanaged" "mjZe4haCrjUcDHdGuX5kBn6sNhv65QTTRc" 2
1 0 "" "" NTU_managed_20160527 "" ""

Output:
RPCConvertValues strMethod:omni_sendissuancemanaged
strParams: mjZe4haCrjUcDHdGuX5kBn6sNhv65QTTRc
method: omni_sendissuancemanaged
strParams: 2
method: omni_sendissuancemanaged
strParams: 1
method: omni_sendissuancemanaged
strParams: 0
method: omni_sendissuancemanaged
strParams:
method: omni_sendissuancemanaged
strParams:
method: omni_sendissuancemanaged
strParams: NTU_managed_20160527
method: omni_sendissuancemanaged
strParams:
method: omni_sendissuancemanaged
strParams:
method: omni_sendissuancemanaged
2af724483503d4bdd3f73bedc0d7e93bed3319d6c028e8cf4bb53548b30ac9c9

Vote RPC

property id:
Can assign property id by using RPC
Interpret the property id and save to CMPTransaction.property

vote:
approve or reject

待完成list

  1. 是否要把apply license/grant license的rpc從omni開頭改成gcoin開頭
  2. 確定大柏的部份最後送錢的方式(multisig),現在各種實做應該都還只在大柏的電腦中吧?
  3. 文件(wiki)的校對
  4. code整理(加上足夠的註解、刪掉不必要的debug訊息)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.