Giter VIP home page Giter VIP logo

amoabci's People

Contributors

davidkwak avatar h0n9 avatar lbird avatar sedyn avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

furkanefe-oss

amoabci's Issues

Add test codes for console app

Test codes for console apps (amod, amocli) are required for app's integrity.
Each command provided in the apps would have a test file like <command>_test.go.

Staking mechanism

child issue #67

  • staking with AMO coin
  • adjust validator set and their power according to the staked coins

State management

amo abci operation을 구현하기 위한 작업

  • db/types.go에 정의되어 있는 struct를 db/types/*.go로 나누기
  • 저장을 위한 struct 구현
  • db/dbm.go에 각 store별 set, get 함수 구현

Stake store handling

Handle 4 new transactions related to stakes and delegates and update internal stake store.

child of #64

Parcel trade fee

FR06

Fees on various stages in parcel trade

  • registration fee on register tx via storage policy
  • hosting fee on grant tx via storage policy
  • dealer fee on grant tx via request desc

AMO storage registration via tx

  • storage store
  • setup tx
  • close tx
  • need registered storage when registering a parcel
  • no restriction when closing storage, all parcels remain as they are
  • do not remove from storage store, just inactivate it

Delegation mechanism

child issue #67

  • similar to staking but needs an appointed validator
  • adjust validator voting power according to delegated coins

Improve docker build speed

Incorporate some tricks from tendermint

  • build binaries with cross-compile
  • build docker image using pre-built binaries

Console commands for managing clients' private key

Expected Commands:

  • list: check the existing private keys stored on local area ($HOME/.amocli/key/)
  • generate: generate a private key with nickname and store it after encrypting with a passphrase
  • remove: remove the private key specified by nickname (request passphrase to unlock it)

Flexible handling of internal DB

AMOApplication의 내부 DB를 보다 유연하게 처리

  • level DB일 경우 disk 사용
  • mem DB일 경우 memory만 사용
  • app 생성시 주입된 DB를 제대로 사용
  • internal store를 다루는 코드들 refactoring

Delete non used files

  • amo/privval/* -> tendermint를 포크함에 따라 더 이상 필요가 없어짐
  • amo/util/tendermint.go -> 위와 동일
  • amo/util/rpc.go -> 위와 동일
  • amo/state.go -> amo/db/*로 기능을 이전할 예정
  • amo/crypto/p256/* -> tendermint-amo의 p256 사용
  • amo/types/genesis/* -> tendermint-amo의 genesis 수정

Fall back to tendermint

Move from tendermint-amo to tendermint. Change all import path, and copy tendermint-amo/crypto/p256 to amoabci/crypto/p256.

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.