Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [go-ethereum]

Go Ethereum (short: Geth) is a Golang implementation of the Ethereum protocol.

Filter by
Sorted by
Tagged with
2
votes
1answer
96 views

osx sierra ethereum wallet not syncing

running osx sierra. i am using time server. canyouseeme.com says 30303 is visible when running geth from command line. i have completely removed Mist application support directory and tried ...
14
votes
6answers
11k views

How to find the date of an Ethereum transaction while parsing it with web3?

Is there a way to know the date of a transaction by looking at the raw blockchain data? I know that Etherscan and other blockchain explorers have dates for the transactions, but I couldn't find a way ...
0
votes
1answer
499 views

Colored coin in Ethereum to differentiate the wallet ether balance

I have heard of the concept of colored coin in bitcoin , is there anything similar in Ethereum? I want to have a single wallet which maintains two types of ether . lets say one coming from me ...
5
votes
1answer
7k views

How to use static-nodes.json / trusted-nodes.json to prevent connection loss on private network?

I have 2 nodes running on private network under the same network id connecting through sudo geth --identity "testpython manage.py runserver 0.0.0.0:8001" --networkid 1100 --mine --nodiscover --rpc -...
0
votes
1answer
372 views

Geth: Unable to mine test ether

I'm trying to mine test either on a private testnet using geth on windows 7, but do not appear to actually be mining anything. Geth seems to stall indefinitely after checking the DAG for epoch 0, ...
1
vote
1answer
580 views

Checking if transaction failed over RPC

I call a contract over geth RPC using sendTransaction and get a transaction hash. Is there a way to verify over the geth RPC interface if this transaction failed due to a VM abort (Solidity throw ...
6
votes
3answers
875 views

Asset creation in ethereum

Is it possible to create assets in ethereum which will automatically get linked with a particular address and will be able to send from one account to another without using a contract? I have seen ...
10
votes
1answer
5k views

Geth: flag provided but not defined: -genesis [duplicate]

I'm trying to start an ethereum test net on windows 7, but I'm having trouble pointing geth at the genesis block. This is the command I'm trying: geth --identity "Anon" --genesis CustomGenesis....
2
votes
2answers
215 views

What can I use to allow users to send transactions through a website?

I am trying to build a website that will allow multiple users to send Ethereum transactions without having to install a node. My server is running a node, which is configured to accept requests from ...
8
votes
2answers
4k views

Geth --genesis is giving Invalid Usage

I am following this link to make private Ethereum Chain.But running geth --identity "Prashant" --genesis CustomGenesis.json --rpc --rpcport "8000" --rpccorsdomain "*" --datadir "chaindata" --port "...
5
votes
1answer
461 views

What is the max number which geth's targetgaslimit option can take?

I want to put lots of data into one transaction in private geth network. What is the max number which geth's targetgaslimit option can take?
5
votes
2answers
1k views

Is it possible to unlock a geth wallet through JSON RPC? [duplicate]

I'm currently developing an application on top of Ethereum's JSON RPC. I would like to be able to unlock and lock the wallet as needed, similar to how Bitcoin does it. However, it seems that at the ...
4
votes
0answers
422 views

Deploying contracts on geth returns {“jsonrpc”:“2.0”,“error”:{“code”:-32600,“message”:“EOF”}}

I'm trying to connect geth with truffle to deploy my contracts to my testrpc. When I run truffle deploy it's running but when I do http://localhost:8545/ it's throwing {"jsonrpc":"2.0","error":{"...
4
votes
2answers
7k views

How to upgrade geth and mist in Ubuntu?

I set up a Ubuntu laptop specifically to install Geth/Mist 0.5.2 and have not upgraded since. I want to upgrade to 0.8.1 but need some direction. Am happy to work from terminal, but don't have enough ...
5
votes
2answers
1k views

How to get Ethereum Metadata? admin_getContractInfo does not exist

Is there a way to get the metadata(bytecode, ABI) of a deployed contract if you only know the address of the contract? In geth there is a function in the admin interface called getContractinfo(), but ...
4
votes
2answers
327 views

How to import an icebox encrypted wallet into Geth

I am trying to take the encrypted keyfile from icebox and import into Geth. However I am coming up with this error when I try geth account import icebox.txt Fatal: Failed to load the private key: ...
17
votes
3answers
6k views

How to make Ethereum mining difficulty static for a private chain?

I have implemented private chain in ethereum but its difficulty level increases by time as a result the mining process slows down. Is it possible to make the difficulty static or disable it in testnet....
3
votes
1answer
283 views

Is there any way to keep track of the fork flags in the live network?

Or in other words, how is the voting going right now. Ethernodes' crawler tells me there are 1072 nodes online right now running version 1.4.10 (search for "1.4.10"). I cannot see however whether they ...
1
vote
0answers
180 views

Getting internal transactions of Ethereum transactions over RPC [duplicate]

I'd like to parse Ethereum transactions, so that I know internal transactions (the contract calling other contracts) and the amount of gas those used. For example the information is available here: ...
9
votes
1answer
316 views

Geth 1.4.10 — faild enc handshake: EOF

Geth suddenly stopped working for me - when I run it on verbosity level 5 I get repeating error messages like the following: dyn dial conn 120.27.122.174:30303 faild enc handshake: EOF Any thoughts ...
4
votes
2answers
748 views

Contract not deploying on blockchain using solc & web3

I am using the npm package of solc to compile the contracts and accessing it as given here. It is compiling my contracts. But when I try to deploy the contract using web3.eth.sendTransaction({data: ...
2
votes
1answer
44 views

Running network commands

I'm an ethereum newbie and have installed ethereum on mac using commands : brew tap ethereum/ethereum brew install ethereum referenced from https://ethereum.gitbooks.io/frontier-guide/content/...
1
vote
1answer
862 views

What happens if the block time changes to 5 seconds?

Related to this and this. The difficulty adjustment algorithm is: block_diff = parent_diff + parent_diff // 2048 * max(1 - (block_timestamp - parent_timestamp) // 10, -99) + int(...
2
votes
1answer
23 views

Issue with using “this” statement to get current value

I am trying to get the current value for my int variable counterforindex in the check function. However this doesn't seem to happen. uint public counterforindex; function Check(string hdata, string ...
1
vote
0answers
96 views

Multithreading in web3.js [duplicate]

Is it possible to run concurrent tasks using web3.js and an Ethereum client? For example, say we have the following code to iterate through a number of blocks: var startBlockNumber = 0; var ...
3
votes
2answers
861 views

Contract deployment workflow with truffle/ether-pudding

I've managed to deploy a contract on geth by unlocking the account of the node. (How this would work in production I have no idea, as I think it would pose a security risk) Now I connect with my ...
4
votes
3answers
1k views

Deploying contracts on geth returns Error: connect ECONNREFUSED 127.0.0.1:8545

I'm using truffle (which uses pudding) to deploy contracts to my testrpc. No I'm running a geth instance locally with: geth --mine -rpccorsdomain "*" --ipcapi "admin,eth,miner" --rpcapi "eth,...
4
votes
5answers
9k views

how to connect to geth from two local machines ethereum

I am new to Ethereum and tried everything to connect testnet from two local machine nodes.i tried with running two consoles in single machine by admin.addPeers(nodeUrl) and could connect. when i tried ...
6
votes
4answers
5k views

How to run two nodes on the same device?

I want to run two separate nodes on my computer but it seems that the two nodes will collide with other. I know some considerations should be taken such as the ports, but anything else should I take ...
4
votes
1answer
3k views

Which firewall settings should I use for Geth as a non-miner using Linux Ubuntu 15.10?

Which firewall settings should I use for Geth as a non-miner using Linux Ubuntu 15.10? Is there a way to check that the firewall settings are correct? If so, how do I check and set the firewall ...
3
votes
1answer
179 views

Gas too low for my contract to contract payment despite gas set

I Wrote a contract which contains a function that allows ether to be sent from the contract to the another contract. Everytime I call the function however I am notified that there is not enough gas ...
2
votes
1answer
256 views

Blockchain sync… what am I doing wrong? [duplicate]

Okay, I know this has been asked a thousand times (i know this because I've seen all the post/threads) but I have to ask again in hopes something has changed. I am trying to run a node and no matter ...
5
votes
1answer
586 views

How to check if a filter has timed out?

According to the JSON RPC docs, filters timeout when they aren't polled with eth_getFilterChanges for a period of time. eth_getFilterChanges(ID) seems to return the same result {"jsonrpc"=>"2.0", "...
2
votes
1answer
200 views

“Unable to parser number” while using ethjsonrpc library to connect to geth local ethereum network

I am getting the error "Unable to parser number" while using ethjsonrpc library to connect to geth local ethereum network. Any help on this will be highly appreciated tx =rpc_.call_with_transaction(...
2
votes
1answer
2k views

Ethereum-Wallet Unable to connect to node, see the logs for more details

Previously I had the official windows desktop ethereum-wallet synced and working, but the other day my computer crashed and corrupted my blockchain sync, so I deleted my chaindata folder and started ...
7
votes
2answers
1k views

What's the best way currently to get events to a Go app that uses go-ethereum?

I have generated and used Go bindings to deploy a few contracts and that worked very well, but I see events are not implemented yet. Is this work discussed somewhere? I'd like to understand what ...
3
votes
2answers
2k views

Disable automatic pregeneration of DAG?

I am working on a private blockchain (currently block #16117). I have pregenerated the DAG for epoch 1 as well. So, I started the geth instance with --autodag=false. However, I still get the following ...
6
votes
2answers
2k views

Execute contract function with raw transaction

I am trying to build a light interface which can broadcast a raw transaction and execute an Ethereum contract's function. While I am able to build a simple transaction there is little guidance on how ...
8
votes
2answers
4k views

Getting contract balance over JSON RPC

I'd like to read the contract balance (amount of unspend ETH on the contract) over Geth JSON-RPC API. E.g. the number displayed here: http://testnet.etherscan.io/address/...
1
vote
1answer
951 views

Geth --RPC taking a long time

The synchronization that has been working for about 12 hours has slowed from 2048 16ms to 2048 2~3 mins. It has been telling me that my clock is off my seconds but I re-synced the clock just now. Any ...
5
votes
1answer
4k views

Gas, gas price, gas cost

I have read in the documentation that the miner set the gas cost. Does this means that gas cost varies miner to miner ? If not, how it is determined ? Moreover, when a contract is referred in geth we ...
6
votes
2answers
6k views

How to apply pyethrecover.py on v3 .json/transfor v3 .json to .v1

I'm trying to get pyethrecover.py running via Python on one of my .json files that were created by Ethereum-wallet for Mac. It seems that my .json file is v3 and the pyethrecover.py only works for v1 ...
2
votes
0answers
350 views

Receipt not found for transaction, on Mining Node

I keep getting receipt not found for transaction on a node initated with: geth --verbosity 6 --nodiscover --port 30303 --unlock "0x259af16d44f6897f98205af3b9d3382dbb0712d9" --rpc --rpcport 8101 --...
2
votes
0answers
81 views

geth expect script not working

I am running test contracts on the Ethereum testnet using geth. I need to make a file similar to a batch script which can execute commands one by one all in one go hence I am using expect to do so. ...
2
votes
2answers
952 views

Startup script for creating an account and running geth

I am trying to create a startup shell script to create a geth instance with a pre-configured genesis file at the nodes on an Ubuntu Wily OS with geth installed on the system. The objective is to ...
11
votes
7answers
12k views

How to add peers on a private network?

I have created a private blockchain on two different machines. Now I want these nodes to connect with each other as "peers". I am using geth console. I have tried the following command: > admin....
7
votes
2answers
2k views

How to write transaction logs into a text file in geth?

I have made a contract which generates a public event on blockchain that will notify client about a transaction. To listen to the event I have written following snippet in geth console: var event = ...
6
votes
3answers
3k views

Removing a peer/node

I'm running on a private network at the moment, is there a way to remove a peer from your node without restarting Geth?
2
votes
0answers
2k views

geth OpenCL disabled. Set GO_OPENCL and re-build to enable

I'm trying to test geth on Nvidia TX1 board which has ARM64 CPU. The first trouble was to get go language installed on it as there's no ARM64 bit version available. So, I compiled arm64 version of go ...
4
votes
1answer
272 views

Why exposing the personal API is unsafe?

From what I am reading in various places such as here ,here or here, it is not safe to expose the personal api to the front-end Dapp via RPC. Hence asking the users to run geth --rpc --rpcapi "eth,...