Questions tagged [go-ethereum]

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

7
votes
1answer
350 views

Why is homebrew downloading old geth version?

Im on mac OSX, so I go to terminal CLI and do brew install ethereum then I get ==> Downloading https://build.ethdev.com/builds/OSX%20Go%20master%20brew/193/bottle/ethereum-1.1.0.yosemite.bottle....
92
votes
2answers
84k views

What is Geth's “fast” sync, and why is it faster?

One of the answers to this question suggested using Geth's --fast flag to help quickly synchronise the block data. How does the flag work, and how does using it speed up the synchronisation? Are we ...
9
votes
2answers
6k views

Corruption on data-block while synchronising

My home server's been down for a couple of days while I do some upgrades. I'd had Geth running in one of the terminal windows, but shut it down gracefully using exit before taking the server offline. ...
5
votes
1answer
747 views

Why is fast sync not working with geth 1.1?

When I run geth --fast I get: Incorrect Usage. geth [global options] command [command options] [arguments...] VERSION: 1.1.0 [...] flag provided but not defined: -fast How do I fix this?
1
vote
0answers
83 views

Why is my node taking so long to sync? [duplicate]

I downloaded the ethereum wallet, and its taken a few days yet its still syncing. Im on block ~701,000 thus far. Is something wrong? Is it supposed to take this long?
3
votes
2answers
2k views

Why can't I create new accounts on testnet?

So I've set up a new testnet using geth --identity "NNode" --genesis /home/test/Documents/Ethereum/genesis.json --rpc --rpcport "8080" --rpccorsdomain "*" --datadir "/home/test/Documents/Ethereum/...
10
votes
4answers
878 views

Unable to make greeter contract

For the past 7 days I've been trying to make the greeter contract, I've been through 4 different physical computers in 2 different locations and have tried multiple different ways on 3 different ...
4
votes
3answers
421 views

Why isn't msg.sender.send getting called?

Contract code: function rand( uint256 seedB ) returns (uint256){ //define seedA variable uint256 seedA = 1; uint amount = 1 finney; if (seedA == seedB) { msg.sender.send(...
13
votes
4answers
7k views

How to run Ethereum Wallet on a custom chain?

So I downloaded the Ethereum Wallet I know you can use a custom directory by running geth first with the datadir flag set up, and then launching the wallet. But besides a custom directory, I want to ...
8
votes
1answer
2k views

Testnet mining is using too much CPU

I have a private testnet set up on my local machine: geth --rpc --rpcaddr "localhost" --rpcport "8545" --dev --mine --datadir="~/Library/Ethereum_dev" --rpccorsdomain="http://localhost" console 2>&...
3
votes
0answers
281 views

What is Geth and What is Eth? [duplicate]

I'm still very new to this. What is the difference from Geth and Eth I keep reading about? Why were these 2 things developed?
4
votes
2answers
1k views

Is geth being deprecated? eth seems to receive so much more development

By checking the github activity, geth seems to fall behind eth. Would love to hear about it's future and maybe something about the why's (likely to be related because it's in golang).
8
votes
3answers
6k views

Convert an eth key to a geth key

I need to convert my eth key to a geth key. eth put the key in %appdata%\roaming\Web3\keys, and I see it as a .json file. If I move that to the %appdata%\roaming\Ethereum\keystore directory, geth ...
3
votes
1answer
414 views

Are there Ethereum API wrappers?

I'm looking into developing some Go software on Ethereum and I'm wondering - are there any API wrappers around for Ethereum (something like BTCSuite's BTCRPCClient is for Bitcoin)? I know there is a ...
10
votes
1answer
1k views

geth keeps opening & re-opening in background (OSX 10.10.5)

Issue started after installing cpp-ethereum & updating geth to 1.3.3. Geth continually re-opens in the background after being forced to shut down. When I try and run geth in terminal, I receive ...
8
votes
1answer
1k views

sendRawTransaction results in queued TXs

I attempted to send raw TXs via eth.sendRawTransaction API but get stuck. I'm using EthereumJS to generate and sign TXs, and indeed, I can submit TXs through eth.sendRawTransactin, but the TXs always ...
7
votes
2answers
1k views

web3.sha3 dealing with hex in both geth and web3.js

in both geth and web3.js, when we call > web3.sha3("0x536f6d6520415343494920737472696e6720746f20626520686173686564") we get: requirement of using web3.fromAscii before sha3 is deprecated new ...
12
votes
2answers
1k views

If someone gets my geth keystore files, can they spend my ETH without knowing my password(s)?

I always assumed so, since geth requires a new password for every account, but just want to be sure.
8
votes
2answers
4k views

Getting more Ether on a private test net

I setup a local testnet using geth following these instructions. I was able to mine my initial Ether and all was working. After deploying some contracts I quickly spent all the Ether I had. Now it ...
11
votes
2answers
2k views

What's the difference between developer mode and testnet?

I just tried running geth in developer mode on testnet. ~ $ geth --dev --testnet F0127 21:07:16.947591 6407 flags.go:467] dev and testnet are mutually exclusive I wasn't aware of the actual ...
3
votes
1answer
2k views

How to connect mist to a testnet client?

I'm running a geth instance on the consensys testnet. I started it with the following command: geth --testnet --networkid=2 --bootnodes=enode://...
18
votes
5answers
25k views

How do you stop a running geth node?

I can not figure out how to stop a running geth node without killing the process. I tried to lookup geth help but there is no mention of stopping, halting or any shutdown command. How to shutdown ...
3
votes
3answers
848 views

cannot find package “github.com/ethereum/go-ethereum/ethereum”

I was following this youtube video in order to install Ethereum client on Ubuntu 15.10 First I installed Go language environment. Then I have build QT following this wiki After that I tried to ...
9
votes
2answers
4k views

How to connect a web site to a geth node?

Before the DApp-browser Mist was available, this web3 library seems the way to go on building a bridge from contract to a frontend (web site). But, I cannot get the very basic examples to work. ...
9
votes
2answers
3k views

How to resend a transaction not recognized by the network?

I've sent a simple transaction (no smart contract invocation) while my geth node had no peers attached. It created the transaction fine and returned a transaction identifier. Even with many nodes ...
4
votes
2answers
865 views

How do I transfer funds to another account from a lightwallet.dat file

I have a lightwallet.dat file which I exported from ujomusic.com. It's in a different format to that used by geth. I don't expect geth will import it so can I create an account with the same number as ...
9
votes
1answer
3k views

How to send ether to a cold storage account?

Is it possible to do the following: Back up the keystore on a usb drive. Format the computer used to generate the keystore. Send ether to a public address in the keystore. Reinstall geth (or other ...
20
votes
2answers
23k views

Why is geth always returning a 0 balance?

I installed geth on a remote server (Ubuntu 14.04) and created an account. I transferred 0.01 eth to the account. From my local machine (OS X), I can view the transaction and account balance ...
53
votes
6answers
186k views

How to import a plain private key into geth or Mist?

This is such a basic question, but I can not figure out how to import a plain, unencrypted private key into geth or mist? I tried geth account import 7[......]bla but it seems this command is always ...
48
votes
5answers
75k views

How can I get a geth node to download the blockchain quickly?

I'm running a geth node on slow hardware. At the current rate of progress it could be several days before I can download all the blockchain. Is there a way to get it to synchronise more quickly?
4
votes
1answer
605 views

Can geth and eth share the same accounts and blockchain?

It appears when I have multiple ethereum clients installed, that they all have their own data, accounts and even their own copy of the blockchain. Is it possible to share accounts and the blockchain ...
28
votes
4answers
23k views

How can I run go-ethereum as daemon process on Ubuntu?

The Installation Instructions for Ubuntu suggest running geth from the command line, how can I run it as daemon process / service on Ubuntu?
8
votes
1answer
1k views

What are the files in my go-ethereum configuration directory?

When I look into my go-ethereum (geth) configuration directory, I see the following files and directories: $ ls -alF ~/.ethereum/ total 176 drwxr-xr-x 8 pi pi 4096 Jan 20 07:19 ./ drwxr-xr-x 17 ...
18
votes
5answers
10k views

How do I import my presale wallet?

I purchased ether during the presale. Is there an easy way to import those ether and start using them?
13
votes
3answers
7k views

Why doesn't my Ethereum node have any peers?

I'm running an Ethereum node using geth and it can't find any peers. I've already tried the time sync command suggested on the wiki. My bandwidth is good.