8000 GitHub - wangjingcun/gttc: Official Go implementation of MARO, Maro builds an open infrastructure that seamlessly connects billions to the global economy market
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
forked from TTCECO/gttc

Official Go implementation of MARO, Maro builds an open infrastructure that seamlessly connects billions to the global economy market

License

Notifications You must be signed in to change notification settings

wangjingcun/gttc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go TTC

Golang implementation of MARO Blockchain (Previously known as 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.5

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

Minimum Requirements

Requirement Notes
Go version Go1.9 ~ Go1.15, Go1.13 is recommended.

Install

See the HOWTO_INSTALL

Enode list for Mainnet & Slavenet

Other Documents List

You can find all documents in our Wiki

Contact

email: peng@ttc.eco

About

Official Go implementation of MARO, Maro builds an open infrastructure that seamlessly connects billions to the global economy market

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 86.0%
  • C 7.0%
  • JavaScript 4.8%
  • Assembly 0.5%
  • Java 0.3%
  • Sage 0.3%
  • Other 1.1%
0