GithubHelp home page GithubHelp logo

jamewade / gttc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ttceco/gttc

0.0 0.0 0.0 29.62 MB

Official Go implementation of TTC, A Decentralized and Incentivized Social Networking Protocol

Home Page: https://www.ttc.eco

License: GNU Lesser General Public License v3.0

Makefile 0.12% Go 86.25% Shell 0.18% NSIS 0.24% Ruby 0.01% Python 0.37% HTML 0.13% JavaScript 4.72% Assembly 0.48% C 5.95% C++ 0.97% M4 0.27% Java 0.31% Dockerfile 0.02%

gttc's Introduction

Go TTC

Golang implementation of the TTC protocol.

GoDoc GoReport Travis License

About gttc

gttc is base on go-ethereum, the main part be modified is in consensus directory. We add a new consensus algorithm named alien in it.

Alien is a simple version of DPOS-PBFT consensus algorithm, which in consensus/alien:

  • alien.go : Implement the consensus interface
  • custom_tx.go : Process the custom transaction such as vote,proposal,declare and so on...
  • snapshot.go : Keep the snapshot of vote and confirm status for each block
  • signer_queue.go : calculate the order of signer queue
  • api.go : API
  • cross_chain.go : Cross chain communication by custom transaction

Alien use header.extra to record the all infomation of current block and keep signature of miner. The snapshot keep vote & confirm information of whole chain, which will be update by each Seal or VerifySeal. By the end of each loop, the miner will calculate the next loop miners base on the snapshot. Code annotation will show the details about how it works.

Mainnet Information

  • Current Mainnet and Testnet is deploy the code of branch release/v0.2.0
  • Next version will be release on July 12, which contain the hard-fork at block height 2968888
  • Please make sure your node upgrade to release/v0.2.0 before that block height.(before July 17,2019 UTC/GMT+8)

More information about this upgrade will be found UPGRADE TO GTTC V0.2.0

Minimum Requirements

Requirement Notes
Go version Go1.9 or higher

Install

See the HOWTO_INSTALL

Enode list for Mainnet & Slavenet

Other Documents List

You can find all documents in our Wiki

Contact

email: [email protected]

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.