Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [go-ethereum]

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

14
votes
3answers
22k views

How to set up a Private network and connect peers in geth?

I am trying to setup a private network and trying to connect peers. Currently I'm trying it on my laptop and desktop (both of them are connected to different internet). I run the below command in ...
0
votes
1answer
12 views

timed commitment using ethereum blockchain

I read this paper: https://eprint.iacr.org/2013/784.pdf that introduces the idea of Bitcoin-based time commitment scheme. In which if the commiter does not open his commitment before a specific time ...
0
votes
1answer
6 views

Ethers in a light node

Since a light node makes transactions from a connected full node, does a light node need ethers to make transactions or it uses the ethers from the full node?
2
votes
3answers
179 views

Hi, is Ethereum MIt licensed?

is Ethereum MIt licensed? Can we use it for business purpose?
0
votes
0answers
9 views

Can I use a WebSocket client for multiple abigen watchers?

I have question about abigen and websocket. My code is in Go. I'm sending a bunch of transactions using abigen and I'm using abigen to watch each of the transaction and do something when it's mined. ...
1
vote
1answer
15 views

Zero knowledge contingent payment on etherum?

I know that bitcoin supports Zero knowledge contingent payment (ZKCP) , can etherum support such ZKCP Payment ?
0
votes
0answers
35 views

Estimate gas limit without eth_estimateGas method

POA Network (Ethereum Like) blockchain has eth_estimateGas to estimate gas limit but this method does not work in POA Network Sokol (Testnet) blockchain. When i call this method it gives response: { ...
0
votes
3answers
22 views

Integration of smart contact with frontend using web3js [on hold]

I had been long searching methods fro integration my smart contract with my frontend. Then I came across web3.js but couldn't find any specific method is to how this system is working.
1
vote
1answer
15 views

Solidity/Truffle - Suddenly getting TypeError on Migration file

Suddenly getting an error when doing a truffle compile --reset - even though I didn't make any code changes on my Migrations.sol file. TypeError: Name has to refer to a struct, enum or contract. ...
3
votes
1answer
157 views

Calling a contract method on a specific block number using Go

Using the go-ethereum library, I'm able to call contract methods using the generated Go bindings: balance, err := wallet.Balance(&bind.CallOpts{ Pending: false, From: sender, ...
0
votes
1answer
6 views

POA chain: intrinsic gas too low, contract deployment

I'm trying to deploy my smart contract to a private proof of authority chain with geth, but i always get the following error message intrinsic gas too low This is the JSON RPC request i'm sending. ...
0
votes
1answer
144 views

Private Ethereum blockchain does not sync last 65 block

I've successfully create a private Ethereum network, I've two machines on the same local network, the first one is where I've created the chain, the second should be a new peer that should sync with ...
0
votes
1answer
142 views

Why did this transaction not win? Same block, higher gas?

I'm trying to understand why this transaction failed, even though it's in the same block as this other transaction, both trying to do the same trade and this one has higher gas than the other - yet ...
0
votes
1answer
167 views

Ethereum Event log

is it possible to watch the events of any ethereum transaction? like for erc20 token. when we make any transaction of erc20 on the blockchain event get trigger. is same is possible for ETH transaction....
0
votes
1answer
16 views

How to use soliditySha3 in web3py

I have tested soliditySha3 function with web3js. var msg = web3Infura.utils.soliditySha3("transferPreSigned", mainContractAddress, recepientAddress, tokenAmountWei, transferFee, randomNounce); I ...
17
votes
5answers
23k 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 ...
1
vote
1answer
147 views

Exceeds block gas limit error to call view functions

With solidity view function, you can specific the amount of gas to use. My understand is since it is not a state changing transaction, all the gas cost is not charged for, and the client should be ...
0
votes
1answer
141 views

slow syncing Ethereum blockchain

I used VM in Azure(1TB SSD, 16GB RAM,Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz). Install geth.exe Run geth --fast --datadir F:\Ethereum in cmd blockchain still downloading it's almost more than 5 ...
2
votes
1answer
144 views

How many Consensus algorithm does ethereum involve?

I know POW is the Consensus algorithm of ethereum now, and it will be changed to POS. But does ethereum has other Consensus algorithm besides POW and POS? I heard from a man there are other Consensus ...
0
votes
1answer
150 views

How to access Mist transaction logs?

I have a private blockchain deployed on one machine and Mist & Ethereum Wallet on another machine. Both the machines are connected through RPC. I have made a simple smart contract which adds two ...
0
votes
1answer
19 views

Problem peers in a cluster [SOLVED]

I have a cluster with 2 nodes and I would like to create a testnet by connecting them with geth. I am using the following command: Node1: geth --datadir node1 --port 30302 --rpc --rpcport 3003 --...
0
votes
1answer
18 views

How do we extract the content of a hash manifest generated by swarm after a download?

As far I know, whenever we upload a file or a directory using: swarm up File we get back a hash that is the manifest containing the uploaded file. However, I am not sure I do understand how to ...
0
votes
1answer
146 views

Why does the transaction stay in queue from more than 240 second

I am running quorum nodes via the Quorum-maker script, and when trying to call functions from my already deployed smart contract, I get this error : Transaction ...
0
votes
0answers
5 views

mining with 2 Radeon RX580 and an msi tomahawk B350 on ubuntu [on hold]

does anyone have exerience with multiple GPU Radeon RX580 and an msi tomahawk B350 motherboard? I can't get both GPU RX580 to function.. :(
0
votes
1answer
158 views

Posting data from raspberry pi on blockchain and retrieving it back

I am new to blockchain technology. I just want to know if it is possible to post the data from raspberry pi on blockchain (ethereum) and retrieve the posted data for viewing. My question is if its ...
0
votes
1answer
176 views

When launching a GETH node to Ropsten do I have to define the --bootnodes flag?

These commands work for me I was just wondering if there is a way not to hardcode the enode addresses into the shell script. Here is what I am using and its working: geth --testnet --syncmode "fast" -...
1
vote
1answer
148 views

How to configure extraData field in genesis file

I am in the process of setting up a private, permissioned Quorum blockchain with Istanbul consensus for simple use cases. When I specify the number of validators when generating the genesis file it ...
0
votes
0answers
12 views

Transfering funds from a contract address to a list of winners [on hold]

I'm building a competition dapp where user has to pay to the contract to participate and I want to send the collected funds to 3 winners. How can I do so in a smart contract.Help
0
votes
1answer
165 views

Simple single-node geth test network not mining

I have set up a test node with geth as described here. I followed the instructions exactly, except: I created a second account with personal.newAccount("password") and so use miner.setEtherbase(...
1
vote
1answer
41 views

How to fetch values from double mapping?

I have a structure data with double mapping for storing and fetching details. Here is the code : struct data { uint a; uint b; } mapping(address => mapping(bytes11 => data[])) ...
0
votes
1answer
165 views

Error while calling function in smart contract using nodejs?

I have deployed a contract in private blockchain using mist wallet. When I try to call the function in the smart contract using web3 api it through the below error /home/karthikeyan/Desktop/n2/...
3
votes
1answer
173 views

getTransactionByHash function is not available in the go-ethereum package

In have downloaded go-ethereum package and made the private network. I am able to make changes in the code as per my requirement and it is also working fine. However, ethereum_js.go file has the ...
0
votes
1answer
144 views

Chain ID set to 1(provided 15) while creating private net using Geth

[{ "difficulty" : "0x20000", "extraData" : "", "gasLimit" : "0x8000000", "alloc": {}, "config": { "chainId": 15, "homesteadBlock": 0, "eip155Block": 0, "...
0
votes
0answers
7 views

If I want to run ETH Net stats on HTTPS server. What steps should I follow? And What changes are needed in ETH NET stats app.js file? [on hold]

I already include the self-signed certificates in the app.js file of ETH stats net. I can see the dashboard but the values are not changing. It's showing zero and no process is happening. I am not ...
1
vote
1answer
25 views

Geth v1.8.21 slow syncing on archival node

Geth Version v1.8.21+bionic - stable Machine - 16GB Ram, SSD, i7 processor I'm currently in the process of syncing a full archival node on Geth. Up until recently the chain was syncing fine, around ...
0
votes
1answer
14 views

Connecting Metamask to geth

In here it's said we need to run below command line to let Metamask connect to geth: geth --rpc --rpccorsdomain="chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn" I'm running a private ...
1
vote
4answers
1k views

How do I get all my wallet balance

How do I get all my wallet balance? I already have a very large number of wallet addresses, and I need to know the balance.and I want to know the number of addresses
0
votes
1answer
178 views

How can I transfer etherbase status to another account within mist?

After importing a wallet from JAXX to Mist, I wish to have the JAXX account having Etherbase status, instead of the default Geth one. However, I see no visual indications on how to do this within Mist....
1
vote
1answer
171 views

Pending transactions are not mined

Preconditions I'm running a private network with Geth, having custom smart contracts deployed by Truffle and a simple frontend which using Metamask as a provider to connect the network. Versions ...
6
votes
2answers
163 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
152 views

Bootstrap node and its permission

If we want to connect to regular node then we have to go through bootstrap node ? What in the case of private chain ?
0
votes
1answer
160 views

Use injected metamask inside of an ionic app

Ive seen this topic mentioned on the ethers of stack exchange before and mostly these questions go unanswered but being that ionic is basically a fancy webview I am wondering if anyone has managed to ...
0
votes
2answers
29 views

Use private ethereum blockchain for storing data [on hold]

I am new in ethereum blockchain technologies. I have some question that Is possible to use ethereum blockchain to store data (Like MySQL)..??? If yes... (for first question) have any documentation ...
1
vote
2answers
30 views

Is it possible for multiple geth processes to share chain data?

I would like to know if it is at all possible to have multiple geth processes share the same chain data. I currently have multiple nodes (for a private chain) connected to the same file system via ...
1
vote
1answer
158 views

transaction validation in ethereum

Can someone suggest me a tutorial or explain how to verify ethereum transactions in a non financial use case of blockchain. For example, I am using blockchain to distribute access tokens for my IoT ...
1
vote
1answer
29 views

What do I do about my Ether since the 2019 Constantinople upgrade has been postponed?

With the last minute postponement of the 2019 Constantinople upgrade. What do I do about my stored Ether? And what software do I need to upgrade to if I am running Geth or Parity?
4
votes
1answer
159 views

Contract storage not changing on calling function

contract SimpleStorage { mapping(bytes32 => string) storedData; function set(bytes32 key, string value) { storedData[key] = value; } function get(bytes32 key) constant ...
0
votes
4answers
406 views

how much does using ethereum services cost

Lets say im creating my own cryptocurrency and my own blockchain on ethereum, what would be the basic costs for setting all this up if i am developing on Ethereum
0
votes
1answer
150 views

Sent SALT tokens to Cindicator (CND) contract address by mistake

I sent SALT tokens to Cindicator (CND) contract address by mistake. Is it possible to recover the tokens. Below is the transaction hash ...
1
vote
1answer
150 views

What is the point of having stateRoot rather executing every transaction?

EVM is a deterministic meaning that if any two(or more) nodes receive identical transactions in the same order(which is what blockchain is for), they will arrive at the same state independently. And ...