Giter VIP home page Giter VIP logo

ttceco / gttc Goto Github PK

View Code? Open in Web Editor NEW
117.0 117.0 58.0 30.27 MB

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

Home Page: https://ma.ro

License: GNU Lesser General Public License v3.0

Makefile 0.12% Go 85.94% Shell 0.18% NSIS 0.24% Ruby 0.01% Python 0.06% HTML 0.13% JavaScript 4.77% Assembly 0.49% C 7.00% M4 0.27% Java 0.31% Dockerfile 0.02% Solidity 0.15% Sage 0.31%
blockchain consensus dpos ethereum go

gttc's People

Contributors

abel9123 avatar marodeveloper avatar mortal4 avatar tataufo avatar ttcoffical avatar zmbao avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gttc's Issues

gttc如何执行

我按照文档 HOWTO_INSTALL安装gttc,并测试到 build/bin/gttc --testnet` 是有结果的,但是直接执行 gttc会报错,未找到该命令,只在build/bin/gttc是可以进行相关指令的。请问我该怎么做,谢谢

how to add the debug flag -gcflags=all='-N -l' in Makefile or other files?

hi ,my aim is to debug the program ,so I must add the debug flag -gcflags=all='-N -l' in Makefile or other files, and I added it as below, but it does not works

func buildFlags(env build.Environment) (flags []string) {
	var ld []string
	//flags = append(flags, " -gcflags=all='-N -l' ")//new add
	if env.Commit != "" {
		ld = append(ld, "-X", "main.gitCommit="+env.Commit)
	}

how to add the debug flag -gcflags=all='-N -l' in Makefile or other files?thanks .

The ttc-net-intelligence-api can't read last block

whenever pm2 start app.json, I can get the block info.
but,it can't get anything after start.
pm2 logs shows:

0|node-app | 2020-10-23 14:58 +08:00: [eth] xx> getLatestBlock couldn't fetch block... 0|node-app | 2020-10-23 14:58 +08:00: [eth] xx> Error: invalid argument 0: hex number > 64 bits 0|node-app | 2020-10-23 14:58 +08:00: at Object.InvalidResponse (/root/bin/www/node_modules/web3/lib/web3/errors.js:35:16) 0|node-app | 2020-10-23 14:58 +08:00: at /root/bin/www/node_modules/web3/lib/web3/requestmanager.js:86:36 0|node-app | 2020-10-23 14:58 +08:00: at exports.XMLHttpRequest.request.onreadystatechange (/root/bin/www/node_modules/web3/lib/web3/httpprovider.js:114:13) 0|node-app | 2020-10-23 14:58 +08:00: at exports.XMLHttpRequest.dispatchEvent (/root/bin/www/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:591:25) 0|node-app | 2020-10-23 14:58 +08:00: at setState (/root/bin/www/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:610:14) 0|node-app | 2020-10-23 14:58 +08:00: at IncomingMessage.<anonymous> (/root/bin/www/node_modules/xmlhttprequest/lib/XMLHttpRequest.js:447:13) 0|node-app | 2020-10-23 14:58 +08:00: at IncomingMessage.emit (events.js:326:22) 0|node-app | 2020-10-23 14:58 +08:00: at endReadableNT (_stream_readable.js:1223:12) 0|node-app | 2020-10-23 14:58 +08:00: at processTicksAndRejections (internal/process/task_queues.js:84:21)

搭建私链集群,有些节点无法挖矿,Block sealing failed err=unauthorized

我按照 https://github.com/TTCECO/gttc/wiki/HOWTO_RUNNING_TEST_ON_PRIVATE_NETWORK 这个步骤生成了创世纪块并跑了两个节点,当我想跑第三个节点并加入网络挖矿的时候,会报如下错:

Block sealing failed    err=unauthorized

我的问题是如果节点需要拥有生成区块的权限,是不是得在创建genesis.json的时候,把该节点对应的地址加进去,就跟下面一样

Which accounts are vote by themselves to seal the block?(least one, those accounts will be auto pre-funded)
(The follow two address can be found in account.txt)
> 0xfa846876ef5ed3826e483303f42d987a66af8e15 
> 0x62739566c666df9a057d7e7c92898511d4e64c07
> 0x

how to make private sidechain

when i'm console gttc-t1 --datadir node_sidechain/ --sca --sca.mainrpcaddr "127.0.0.1" --sca.mainrpcport 9511 -unlock '20bad208a46806b1f41a7047f0a8f95a4cbafa0a' --password pass.txt --mine
it apper FO [08-23|17:43:55] Commit new mining work number=1 txs=0 uncles=0 elapsed=320.173µs
WARN [08-23|17:43:55] Block sealing failed err=unauthorized
INFO [08-23|17:43:59] Commit new mining work number=1 txs=0 uncles=0 elapsed=575.554µs
WARN [08-23|17:43:59] Block sealing failed err=unauthorized
INFO [08-23|17:44:03] Commit new mining work number=1 txs=0 uncles=0 elapsed=345.868µs
WARN [08-23|17:44:03] Block sealing failed err=unauthorized
INFO [08-23|17:44:07] Commit new mining work number=1 txs=0 uncles=0 elapsed=314.677µs
WARN [08-23|17:44:07] Block sealing failed err=unauthorized
INFO [08-23|17:44:11] Commit new mining work number=1 txs=0 uncles=0 elapsed=363.25µs
WARN [08-23|17:44:11] Block sealing failed err=unauthorized
INFO [08-23|17:44:15] Commit new mining work number=1 txs=0 uncles=0 elapsed=297.097µs
WARN [08-23|17:44:15] Block sealing failed err=unauthorized
INFO [08-23|17:44:19] Commit new mining work number=1 txs=0 uncles=0 elapsed=406.459µs
WARN [08-23|17:44:20] Block sealing failed err=unauthorized
INFO [08-23|17:44:24] Commit new mining work number=1 txs=0 uncles=0 elapsed=400.4µs
WARN [08-23|17:44:24] Block sealing failed err=unauthorized
INFO [08-23|17:44:28] Commit new mining work number=1 txs=0 uncles=0 elapsed=627.569µs
WARN [08-23|17:44:28] Block sealing failed err=unauthorized
INFO [08-23|17:44:32] Commit new mining work number=1 txs=0 uncles=0 elapsed=362.357µs

looks:
https://github.com/TTCECO/gttc/wiki/build-slave-network-instruction
appers alway

Azure repo issues

Getting this issue when running go mod init

go: converting vendor/vendor.json: stat github.com/Azure/azure-storage-go@12ccaadb081cdd217702067d28da9a7ff4305239: github.com/Azure/azure-storage-go@12ccaadb081cdd217702067d28da9a7ff4305239: invalid version: git ls-remote -q origin in /root/go/pkg/mod/cache/vcs/b1cad5652d59712728aafd5fd71507a59c6bd31c7a773114d287080b829aacff: exit status 128:
fatal: could not read Username for 'https://github.com': terminal prompts disabled

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.