Hot answers tagged

45 votes
Accepted

How to Mine Ether and use Ethereum on Windows?

Here is a guide you may find useful: Download Ethereum Software Setup Ethereum Software Download Mining Software Setup Mining Software Mine Step 1: Download Geth The first thing you need to do is ...
high110's user avatar
  • 4,756
39 votes

Which database(s) do the ethereum clients use and why?

Geth uses leveldb. Some of the reasons behind choosing it was: In process database (i.e. I don't need to run an additional software) Native implementation in Go (i.e. cross platform to everything Go ...
Péter Szilágyi's user avatar
39 votes

What caused this error: Attempting to run transaction which calls a contract function, but recipient address is not a contract address

i´ve just used migrate --reset (without deleting /build) , and worked
IveltonQueiroz's user avatar
38 votes
Accepted

What exactly is an Ethereum client and what clients are there?

An 'Ethereum client' is just a term. It refers to any node able to parse and verify the blockchain, its smart contracts and everything related. It also allows you/provides interfaces to create ...
31 votes
Accepted

What caused this error: Attempting to run transaction which calls a contract function, but recipient address is not a contract address

As provided in comments by Mavlarn and ivicaa above, the answer is to delete the .json files under build/contracts/. Then the next run of truffle migrate no longer fails.
Alex Altair's user avatar
29 votes
Accepted

How do you stop a running geth node?

Because you ran geth as a daemon you can either: killall -HUP geth in one line, or get the pid with: ps ax | grep geth and kill it with kill kill -HUP <pid> -HUP is the sighup signal, is ...
makevoid's user avatar
  • 2,471
20 votes
Accepted

Is there a C# implementation available for Ethereum?

You can try Nethereum, it's available on GitHub. Try it on the Nethereum Playground. It provides all the generic Web3 functionality to interact with Ethereum like: JSON RPC methods Contract ...
Juan Blanco's user avatar
  • 1,405
15 votes

What exactly is an Ethereum client and what clients are there?

There are a couple of "reference implementations" that the Ethereum foundation is supporting. Ethereum C++ (known as Eth or "TurboEthereum") Go Ethereum (known for the command line client Geth) ...
Maran's user avatar
  • 1,835
15 votes
Accepted

How to reduce chaindata database size?

There is state trie pruning in the works, which would be able to constantly delete old data that is not needed any more. Hand in hand with pruning is the fast sync, which sync to the network in such a ...
Péter Szilágyi's user avatar
15 votes
Accepted

How to get pending transactions with using geth or other client?

To get the pending transactions you need a node that you're running on your own because this type of action requires a lot of resources. You can run your own Geth node and wait until it is ...
Daniel Luca CleanUnicorn's user avatar
13 votes

How do you stop a running geth node?

use Ctrl c or kill -INT <pid> if you started geth with console, you exit with Ctrl D or > exit
Viktor Trón's user avatar
13 votes
Accepted

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

Ahm, you're looking at the stable branch, that's being frozen for Homestead. Check out the develop branch, we're pushing in commits almost every day. Edit: Further, the Go team switched over to a ...
Péter Szilágyi's user avatar
13 votes

How do Ethereum clients generate unique addresses?

The address is derived from a random private key. The client does not check if it has been previously used because the chance of that happening is nearly zero.
nessence's user avatar
  • 570
12 votes
Accepted

What's the difference between developer mode and testnet?

The Morden testnet is the public Frontier testnet, meaning there are other miners, and other people will be able to see your contracts. It is important to note that you should not use the same ...
Tjaden Hess's user avatar
  • 36.9k
12 votes

How do you stop a running geth node?

When running in console Geth can be stopped by sending it a keyboard interrupt with Ctrl + c. You should see output similar to the following. I0127 09:46:49.971487 62813 blockchain.go:1230] ...
Piper Merriam's user avatar
12 votes

Event on Mining of a new block

Using e.g. the web3 JS API, you could setup a filter and watch block changes: var filter = web3.eth.filter('latest'); filter.watch(function(error, result){ var block = web3.eth.getBlock(result, ...
tomconte's user avatar
  • 221
12 votes
Accepted

Can chaindata be split across two (or more) locations?

Geth has a freezer as of v1.9 https://blog.ethereum.org/2019/07/10/geth-v1-9-0/ Freezer Wouldn’t it be amazing if we didn’t have to waste so much precious space on our expensive and sensitive SSDs to ...
eth's user avatar
  • 85.5k
11 votes

How do Ethereum clients generate unique addresses?

I think the most important phrase in your question is 'what is the likelihood'. The other answers are correct in determining that there is a 1 in 2^160 likelihood of finding a collision with 100% ...
bekah's user avatar
  • 1,099
9 votes
Accepted

Ethereum light client roadmap?

The light client (LES) is currently only being developed in the Go Ethereum codebase and is currently rounding off the first of two phases. The first phase consists of the following high level ...
Jeffrey W.'s user avatar
  • 1,929
9 votes

Is there a Javascript client for Ethereum, like Geth?

Yes, there are 3 official clients in Golang, C++ and Python. And there are 4 unofficial clients in Java, Haskell, JavaScript and most recently Rust. To answer your question, the full node client ...
q9f's user avatar
  • 32.9k
9 votes
Accepted

Is there any SPV client for ethereum?

Ethereum hasn't yet released features which would provide something like SPV. Instead of SPV it will be called Light Client and the protocol for this being developed is called "LES". More information ...
nessence's user avatar
  • 570
9 votes

How to experiment with Ethereum without downloading the entire blockchain?

Creating a local in-memory blockchain (Ganache) with Brownie is recommended way for development. Besides Browser Solidity (as @Rob Hitchens recommended), you could also develop smart contracts using ...
alper's user avatar
  • 8,375
8 votes
Accepted

How to connect an ethereum node to a random testnet?

For Geth you can connect to the public testnet (Morden) via: geth --testnet For other clients and for a full explanation plese refer to this wiki page: Ethereum wiki / Morden If you don't want to ...
makevoid's user avatar
  • 2,471
7 votes

How to reduce chaindata database size?

While Péter Szilágyi's answer is in no way wrong, there's also an other possibility. If you redownload the blockchain with Parity instead of geth, the size of the blockchain is reduced from your 10 GB ...
Jon Ramvi's user avatar
  • 243
7 votes
Accepted

How to build C++ Ethereum without GUI/Qt?

in your build folder you cmake .. -DGUI=0
euri10's user avatar
  • 4,640
7 votes
Accepted

How to switch from Morden to Ropsten?

Using Geth 1.5.3 and later, it's 2 steps: Run geth --testnet removedb to delete your blockchain database for the Morden network. Run geth --testnet ORIGINAL: When you use geth init, the datadir ...
eth's user avatar
  • 85.5k
7 votes
Accepted

Consensus Client vs Execution Client

The Execution Client listens and executes transactions and maintains the latest state and database of all Ethereum data, while the Consensus Client provides consensus (using PoS algorithm) from ...
Yongjian P.'s user avatar
  • 4,140
6 votes
Accepted

Can I use Ethereum on my mobile phone?

Not yet. You are referring to DApps running on mobile devices, I think. There are apps available which offer ethereum-related services like [1] but they certainly query some nodes via RPC which ...
q9f's user avatar
  • 32.9k
6 votes
Accepted

Why do Ethereum clients download the entire blockchain?

The full client (or the fat client) has to replay all the transactions on the state to ensure the validity. What you are looking for is a variation of a light client which is being currently in ...
Roman Mandeleil's user avatar
6 votes
Accepted

Is there any working zk-snark implementation (even if experimental) among the existing Ethereum clients?

Please find the zksnarks solidity code: https://gist.github.com/chriseth/f9be9d9391efc5beb9704255a8e2989d The transaction can be seen on Etherscan and was made on the testnet.
sunwarr10r's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible