GithubHelp home page GithubHelp logo

input-output-hk / treasurycoin Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 11.0 8.84 MB

An experimental implementation of a treasury system based on Scorex framework

License: Creative Commons Zero v1.0 Universal

Scala 97.87% HTML 2.13%

treasurycoin's People

Contributors

alanverbner avatar anatoly-shamov avatar catena2w avatar ceilican avatar dkaidalov avatar ezequielpostan avatar greenhat avatar kushti avatar liuchengxu avatar mayank0403 avatar mike-aksarin avatar nastenko avatar piterden avatar terjokhin avatar tharindudg avatar tolsi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

treasurycoin's Issues

Treasury unit testing

There are almost no unit tests covering treasury functionality.
Probably some framework should be developed to be able to test different states of treasury epoch.

Refactor Distributed Key Generation

The implementation of the distributed key generation scheme which is currently placed in CommitteeMember (and DistrKeyGen class it treasury-crypto) probably needs to be reworked. There are a lot of unnecessary, complex code.
First of all it should not hold private keys of committee members and probably it is a good idea to integrate this functionality completely into the TreasuryState.

An investigation on the better architechture is needed

Caching of treasury state

In some cases, when the info from past treasury epochs is needed, it is retrieved directly from the blockchain that is stored on disk. It is very inefficient and can fail under huge load.
In many cases, this information can be extracted only one time and cached for future use, probably even before it is really needed.
This mostly affects generation of randomness which requires actions of the committee members from the previous epochs.

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.