Skip to content
Official Go implementation of TTC, A Decentralized and Incentivized Social Networking Protocol
Go C JavaScript C++ Assembly Python Other
Branch: master
Clone or download
Latest commit 79c4aff Jul 31, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
accounts PM fix test in accounts Mar 20, 2019
bmt geth 1.8.9, change import to this github path May 29, 2018
build fix make file Oct 18, 2018
cmd remove pre set for side chain Jul 9, 2019
common PM fix test case Mar 22, 2019
consensus fix Jul 10, 2019
console PM fix console test case Mar 20, 2019
contracts geth 1.8.9, change import to this github path May 29, 2018
core add default config for side chain Jun 25, 2019
crypto fix test case for go 1.12 Apr 23, 2019
dashboard go fmt Sep 20, 2018
eth set default sync mode to full Apr 3, 2019
ethclient geth 1.8.9, change import to this github path May 29, 2018
ethdb geth 1.8.9, change import to this github path May 29, 2018
ethstats geth 1.8.9, change import to this github path May 29, 2018
event geth 1.8.9, change import to this github path May 29, 2018
internal PM fix fh web3 Mar 22, 2019
les fix default networkid only for alien consensus Apr 2, 2019
light fix light mode bug, load genesis config in light mode Jan 18, 2019
log geth 1.8.9, change import to this github path May 29, 2018
metrics geth 1.8.9, change import to this github path May 29, 2018
miner remove uncle block in dpos/poa consensus Jan 10, 2019
mobile update dir .ethereum to .ttceco Mar 13, 2019
node update dir .ethereum to .ttceco Mar 13, 2019
p2p go fmt again Sep 20, 2018
params update version and hf number Jul 10, 2019
rlp geth 1.8.9, change import to this github path May 29, 2018
rpc go fmt Sep 20, 2018
signer PM fix signer/rules case Mar 20, 2019
swarm PM fix test case for custom hash Mar 22, 2019
tests add portlen in tps test Jan 25, 2019
trie go fmt Sep 20, 2018
vendor add golang.org/x/sys/cpu Sep 25, 2018
whisper geth 1.8.9, change import to this github path May 29, 2018
.gitignore add test code for side chain Jan 25, 2019
.travis.yml modify travis Apr 23, 2019
AUTHORS geth 1.8.9, change import to this github path May 29, 2018
COPYING geth 1.8.9, change import to this github path May 29, 2018
COPYING.LESSER geth 1.8.9, change import to this github path May 29, 2018
Dockerfile fix dockerfile Jul 19, 2019
Dockerfile.alltools modify version Feb 27, 2019
LICENSE Initial commit May 29, 2018
Makefile modify makefile Oct 18, 2018
README.md Update README.md Jul 31, 2019
VERSION update version and hf number Jul 10, 2019
appveyor.yml modify version Feb 27, 2019
circle.yml edit version Mar 30, 2019
interfaces.go geth 1.8.9, change import to this github path May 29, 2018

README.md

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: peng@ttc.eco

You can’t perform that action at this time.