gochain / docs Goto Github PK
View Code? Open in Web Editor NEWOfficial documentation for GoChain
Home Page: https://gochain.io
Official documentation for GoChain
Home Page: https://gochain.io
I created a fresh new AWS instance using:
https://github.com/gochain-io/docs/blob/master/private-networks/aws/gochain-cf-stack.yaml
and when I try to test it using:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}' http://18.220.163.196:8545
I am getting:
curl: (7) Failed to connect to 18.220.163.196 port 8545: Connection refused
Seems like a AWS permission/security issue but not sure how to fix this. Any idea why would this happen?
In addition, if I ssh to the instance and I check the genesis file, it seems to be corrupted.
NOTE: the content of the genesis file is the following text: 404: Not Found
Unable to sync chain in full mode and archive pruning.
Ubuntu 16.04
Chain/v2.2.20/linux-amd64/go1.10.4
Command for start:
./gochain --rpc --ws --wsorigins "*" --rpcapi eth,net,web3,debug --wsapi eth,net,web3,debug --syncmode "full" --datadir /mnt/sdb/mainnet/node --gcmode "archive"
eth.getBlock(1000) { difficulty: 5, extraData: "0x322e312e322f6c696e75782d616d6436342f676f312e31302e32000000000000", gasLimit: 210284448, gasUsed: 0, hash: "0x466ecb3ea37384ab82465c320add5bf40766e5751e4dfe4968331b0e46d205c5", logsBloom: "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", miner: "0x3729d2e93e8037f87a2c9afe34cb84b7069e4dea", mixHash: "0x0000000000000000000000000000000000000000000000000000000000000000", nonce: "0x0000000000000000", number: 1000, parentHash: "0x3760455ec09a8c0ac6aa885cc843a43fd635304cec2583edf8007a9934f35615", receiptsRoot: "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", sha3Uncles: "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", signer: "0x78d5bfe08827b6b6ef7a623982011e307aa6aabaf1245b8aa508b0327dfadb690dfc0cee0fb357083f2e5821228fb9a8ce6aa15fd3f003345b02bb0dbfb8859b00", signers: [], size: 612, stateRoot: "0x0c3a92c84fd29ce5892f25dca3532619f3c16e576011e7ecba22564e39e78b32", timestamp: 1526438938, totalDifficulty: 4952, transactions: [], transactionsRoot: "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", uncles: [], voters: [] }
I need to get debug information or trace info from block, I run
./gochain attach ws://localhost:8546 Welcome to the GoChain JavaScript console! instance: GoChain/v2.2.20/linux-amd64/go1.10.4 modules: debug:1.0 eth:1.0 net:1.0 rpc:1.0 web3:1.0
eth.getTransactionFromBlock(0x3E8) null
In result i cant spin up blockscout.
Any ideas why or what miss configured.
I sent GO to ledger X wallet, can't find coins. I have found the transaction on etherscan , I've opened MEW wallet, and installed GO software on ledger X. Now I just don't know what to do with the info. What info goes where?? thanks.
Need instructions for setting up a private GoChain network.
Currently i have 4GB and it works unstable and time to time crash, and reason that no left RAM .
8GB enough?
Originally posted by aug2uag February 2, 2022
is testnet down? I've been trying to run a script, erroring and found that the last transaction on testnet seemed to be a couple days ago
faucet transfer doesn't result in balance change, although testnet balance is still available ... would you please verify status
Hi, i need to integrate gochain node plus blockscout block explorer. For this need to sync db in full mode, i use your solution with docker-compose
Could you confirm that such command sync chain in full mode?
command: gochain --datadir gochain/node --cache ${GOCHAIN_CACHE:-512} --rpc --ws --ipcdisable --rpcaddr 0.0.0.0 --wsaddr 0.0.0.0 --wsorigins * --syncmode full
I'm trying to create two docker containers that will hold GoChain nodes for each one of them.
Everything goes well until I build the solution up with docker-compose up -d
, both containers are running the nodes but one of them (the second) shows an error when docker logs -f node2 is executed :
err="not authorized to sign: 0x00000000000000000000000f07A0b446F09afad7"
Also, when I try to add another peer to the first node by executing admin.addPeers("enode://enode2adress@node2IP")
, the only response I get is true but no peers were added when I check with admin.peers
, it returns an empty array.
Where could the source of the problem be ?
Thanks in advance !
That links to /private/README.md with information on setting up and running a cluster, using the Azure templates and using the AWS templates. Also link to this: https://medium.com/gochain/ethereum-vs-gochain-private-network-showdown-d094096e7d88
Probably some cleanup we can do here:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.