Questions tagged [go-ethereum]

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

Filter by
Sorted by
Tagged with
12
votes
2answers
5k views

Calling debug_traceTransaction from web3 API

I want to use debug.traceTransaction to get internal transactions from NodeJS using web3 API. I'm using web3 0.17 beta and I don't see any debug_traceTransaction on the code. Am I missing something or ...
3
votes
2answers
197 views

What is the easiest way to check the storage size of the full state DB?

What is the easiest way to check the current size of the ethereum blockchain? I'm thinking it would be: cd <datadir> du -sh chaindata Just would like to confirm.
5
votes
1answer
536 views

return (bytes32,bytes32) , returns actual transaction address instead of the real data

I have attached my contract, which works fine on populus and compiles on geth. It is a simple source code: Test() function appends data into my linkedlist that is defined in my library. And get() ...
3
votes
1answer
2k views

Ethereum wallet with running geth

I was trying to use the running geth, i used the wallet app to connect to this. nonetheless, i cannot seem to get the wallet to use the running instance of geth, even though i have the running ...
3
votes
1answer
291 views

Having trouble syncing testnet post HF

I'm having issues syncing my geth node to the Morden testnet after the recent protocol change. Everything was working fine on Monday - today I downloaded geth-1.4.18 and attempted to sync but any ...
3
votes
2answers
3k views

How to configure go-ethereum? (Config File)

I setup an exchange with ethereum, I have installed ethereum as documented here. But I can't find config file of the go-ethereum client, in bitcoin core it's ./bitcoin/bitcoin.conf Because i wanted ...
2
votes
1answer
439 views

Setting up a private network with one node per VM with TestRPC?

I wonder if I can set up a private test network with 4 nodes (4 Linux VMs) on the same network with testRPC. TestRPC is really easy to use (create a blockchain, no need of mining etc etc) when ...
5
votes
1answer
859 views

geth: can not resend transaction - transaction not found

I'm trying to resend a transaction unrecognized by network with increased gas price: tx = eth.pendingTransactions[0] eth.resend(tx, web3.toWei(0.5, "szabo")) What I'm getting is: Transaction ...
2
votes
1answer
1k views

Any idea why geth --fast is taking so much CPU *AFTER* sync is done

I'm running geth 1.4.17-stable. Also running Mist 0.8.6. While geth finished fast syncing up a few hours ago, it's still eating away at my laptop's CPU. Note I'm not trying to mine. Is that normal ...
2
votes
0answers
78 views

Multiple arguments and return params

Sorry for a newbie question. I'm designing a smart contract wherein I need to send in many( around 50) arguments to a setter method and return a list of same number of arguments in a getter. So ...
2
votes
1answer
824 views

Access contract by address, without knowing implementation

I want to access and interact with a deployed contract. My restriction: Knowing the API (functions, fields), but not the implementation. I was looking at the Ethereum documentation "Accessing ...
18
votes
1answer
5k views

What is the difference between testRPC and geth?

I wonder what is the difference between testRPC and geth (on private network) because, they both can create: blockchains nodes accounts The "only" difference I see, is that the testRPC has almost ...
9
votes
1answer
2k views

RPC error “invalid or missing value for params” when calling contract constant void functions

My contract has a function defined like this: {"constant":true,"inputs":[],"name":"queryNumEscrows","outputs": [{"name":"","type":"uint256"}],"payable":false,"type":"function"} Having no inputs. Its ...
4
votes
1answer
464 views

All transactions sent from Mist failing

I'm brand new to Ethereum, and come from the Bitcoin world. I installed geth and Mist today (0.8.5, 64-bit builds for Windows), and successfully sent some Ethereum to my Etherbase account from an ...
1
vote
0answers
29 views

How to I update Mist [duplicate]

I would like to update Mist to the latest version. In the github GitHub page i ve found the latest Windows installer but there is no updater. How do I go about updating Mist?
3
votes
1answer
931 views

Deploy a contract from Solidity Browser or geth on an external node(connected into private ethereum blockchain)

I am trying to deploy a Contract from Solidity browser || geth. On my server machine, inside solidity browser || geth I am able to deploy a contract. But from my external node, which is connected into ...
1
vote
1answer
118 views

Need help in setting up ethereum blockchain

Sorry for a newbie question. I am learning etheream and would like to know if it's possible to setup ethereum blockchain where tokens represent database records and not currrency for e.g. user ...
3
votes
2answers
784 views

Using home brew to install ethereum but it keeps returning a make error

I am using home brew to install ethereum but it keeps returning this error. Is there anyway I can fix it?
4
votes
1answer
451 views

web3 api in eth

Since, I am not able to use the go client in the multi node mode due to a bug (Multi node private local ethereum and send transaction), I tried to use the c++ client eth. Tried using the go client ...
6
votes
2answers
3k views

how to make the list of peers permanent on a private network

I have joined a private network and it works fine when I add the peers with admin.addPeer but I have to add the peers every time I launch geth. How can I make the list of peers permanent?
2
votes
1answer
122 views

Clarification on ethereum block number

When we are searching to update the balance on ethereum we got this link Click here. But now in our server the latest block number is above 1900000 but till now we didn't get update the balance. When ...
3
votes
1answer
133 views

atom-ethereum-interface returning different outputs from browser-solidity

I'm working on a proof-of-concept "email server" dapp and am getting different behavior in atom-ethereum-interface vs. browser-solidity I'm running a private blockchain in a Docker container with my ...
2
votes
0answers
83 views

Mist 0.8.5 & Geth 1.5.0

Current Mist is 0.8.5 and it runs geth 1.4.17. How can I initial geth 1.5.0 by Mist 0.8.5 without manually start Geth 1.5.0 first ? It's all to do with instruct geth that chaindata is on an external ...
9
votes
2answers
2k views

Float not allowed in solidity vs decimal places asked for token contract

We know that solidity doesn't support the float values. But here (https://www.ethereum.org/token#understanding-the-code) they accept one input parameter 'decimal places' for calculation purpose. How ...
2
votes
1answer
141 views

Are DAG files needed for non-mining nodes

DAG files are needed for Ethereum proof-of-work system: https://github.com/ethereum/wiki/wiki/Ethash-DAG However are these files necessary for non-mining clients e.g. geth full nodes that do not mine?...
3
votes
1answer
782 views

Account creation in private testnet vs mainnet

When we setup geth private testnet, we define one genesis file. Suppose after mining 100 blocks I want to create one more account. In this case I will update the alloc key of genesis file with new ...
6
votes
1answer
953 views

Geth unable to broadcast pending transactions

Been having issues since the last 2 or 3 days. Unable to get pendingTransactions mined despite Geth getting caught up to the latest block and having 25 connected peers. The transactions were created ...
5
votes
2answers
741 views

How could I update default homesteadBlock value on my private Ethereum blockchain?

I am trying to create my private Ethereum blockchain with homesteadBlock value that I want to assign. As I understand default homesteadBlock value is 1500000. [Q] How could I assign homesteadBlock ...
3
votes
1answer
542 views

Account import differs between eth and geth

I created an account with eth and ended up with a JSON file in the Web3 Storage Definition format. After backing up this JSON file, I am able to delete my .web3 directory and reimport this JSON file ...
1
vote
0answers
133 views

Can EthereumJ connect with geth in my private network?

I0908 10:55:59.650726 p2p/peer.go:301] Peer c944075180d7ede0 172.21.101.100:30303: Starting protocol eth/62 I0908 10:55:59.650903 eth/handler.go:252] Peer c944075180d7ede0 [eth/62]: peer connected [...
5
votes
2answers
186 views

Writing GBytes of data to disk, despite no network activity - what, precisely, is geth doing?

I'm watching geth 1.4.17 on Activity Monitor. Judging by the Network page, it's not doing anything. Rcvd Bytes is 5.9MBytes, and Sent Bytes is 2.6MBytes, and it's been that way for a while now. But ...
1
vote
1answer
238 views

Problems with Geth after installing Parity

I used to run a node on my Mac by simply typing geth console on the cli. However, I had to stop running geth about a month ago when the DOS attacks started. Last week though, I downloaded and ...
8
votes
1answer
561 views

No signer to authorize the transaction with

When trying to make a transaction on a boundContract with geth-api through the library of @karalabe. I am missing a way to get the signer. I only see the interface for signer in the aar but no way to ...
1
vote
0answers
70 views

Are not send transactions from coinbase account

i have a Ethereum-Wallet with 2 accounts. Transactions from first account(Main account (Etherbase)) not sending but incoming transactions working correctly. EtherWallet output: [2016-10-11 10:57:49....
2
votes
1answer
185 views

Is fast sync the reason why my ethereum wallet doesn't show the ether I got back through the DAO withdraw?

On block-explorers like ethersan.io I can see that the DAO withdraw worked and that ether was returned to my address. However my Ethereum Wallet (0.84 - Mac OSX using geth-node) shows my old balance. ...
7
votes
1answer
1k views

How to call Library Function from a Contract? => [error] The contract code couldn't be stored, please check your gas amount. undefined

When I compiled following code at "https://ethereum.github.io/browser-solidity/" it gives me two Web3 deploy code for: var libraryContract = web3.eth.contract(...); //Web3 deploy code var ...
21
votes
0answers
577 views

E/Go: fatal error: thread exhaustion

I am experimenting with the geth-android library with light-client and in-process node from @karalabe. I could successfully sync with the testnet node from @phonikg, unfortunately this one is down now....
3
votes
1answer
924 views

Connect ethereum node on host machine to docker cluster in VM

My setup is as follows: Windows host machine running an Ubuntu VM using virtual box. On the Ubuntu VM i'm running a private ethereum cluster using docker. This is working fine. I'm connecting them ...
1
vote
2answers
2k views

Multi node private local ethereum and send transaction

Have a 3-node local private cluster - Nodes A, B and M (miner). Added M as a peer to both node A and node B. When send a transaction transferring 1 ether from node A to node B - eth.sendTransaction in ...
3
votes
1answer
480 views

Do Geth and Parity nodes have the same txpool?

If I broadcast a transaction using a parity node, will it be more likely to be included in a block if the miner is also using Parity? or do geth miners have an equal chance to include the transaction?...
16
votes
1answer
7k views

What is the difference between a pending transaction and a queued transaction in the geth mempool?

I see the following on the wiki but I dont understand the difference pending: all processable transactions queued: all non-processable transactions
3
votes
1answer
513 views

DDOS attack against Ethereum

Ethereum project has become a victime of Ddos attack, slowing down the transactions and giving priviliges to attackers to mine blocks. So instead correcting bugs in geth or parity is there any robust ...
21
votes
3answers
6k views

What is knownStates?

I am using geth client (VERSION: 1.4.12-stable-421df866) to sync to the Ethereum testnet. To check the status of the sync, I ran web3.eth.syncing in the geth console. This is the output I see: { ...
2
votes
2answers
1k views

geth --testnet error:“could not open database”

I am new to Ethereum. I cannot seem to use the geth cli on the testnet. geth and the GUI (synchronized with the testnet) work, but when I try to to get --testnet, I get: dyn1237-76:eth1 sam$ geth -...
5
votes
1answer
2k views

How could I make Parity connect with my local Ethereum blockchain?

When I run ./parity under /target/release it automatically connects to the public Ethereum blockchain. (It starts syncing with the actual Ethereum blockchain of 900,000 blocks.) I want to connect ...
1
vote
0answers
41 views

'Mined block' icon in Windows cmd

It might be a trivial detail, but whenever I succesfully mined a block the pickaxe symbol is replaced by '▯▯' in Windows 10 cmd. Why is this? And is there a way to fix it?
21
votes
3answers
5k views

Why does ethereum creates a new block,without even a single transaction? [duplicate]

I'm running a private Ethereum blockchain. When I set one of the nodes to mine, that node continuously creates blocks, even if there are no transactions inside of it. What is the purpose of this?
24
votes
6answers
35k views

Insufficient funds for gas * price + value

Sending Address has over 1 Eth in current Balance. Using the Geth console, I can send many transactions of any amount less than .033 eth.sendTransaction({to:'...
1
vote
2answers
3k views

How to check Balance of a specific account (MetaCoin)

I'm fairly new to programing and solidity, still on the learning curve of things here.... So right now I'm trying to check for the balance in Wei of the account I submit into the text field (Account). ...
3
votes
1answer
125 views

“DAO-Fork Check” Error When Running Geth in Terminal

I'm running Geth 1.4.15 (just released),and trying to sync the blockchain. For some reason, I always get this "DAO-fork dropping" error message when these spam attacks are occurring. I wanted to know ...

1
89 90
91
92 93
104