Questions tagged [go-ethereum]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

DIGIX tokens mapped with physcial gold ids?

If digix tokens are linked to Physical gold, what will happen to this linkage, if user transfers his tokens to other users.
0
votes
0answers
8 views

PoA network confusion resolving using geth

I am planning to move from PoW to PoA consensus (clique) using geth. But I am confused of some of the topics - 1) Empty blocks are created periodically? What is the size of an empty block? 2) Is it ...
0
votes
0answers
16 views

Difference between method id, event id and ABI signature for event

I am confused as to what is the difference between method id, event id and abi signature. I got the abi signature of a token transfer function according to the following web3js function const ...
0
votes
0answers
29 views

Gas required exceedes allowance when invoking a pure function

So, I got a problem when interacting with a smart contract in geth. I have this very simple contract: pragma solidity^0.6.1; contract Simple{ uint256 public number = 1; constructor() public { ...
0
votes
0answers
20 views

smart contract not completed

I was supposed to receive payment through a million money ethereum smart contract. The transaction was made by my downline and it shows on my http://lk.million.money office but it did not show on my ...
0
votes
0answers
7 views

Is there a contradiction between the geth arguments --txpool.accountslots and --txpool.globalslots?

Geth has the arguments --txpool.accountslots and --txpool.globalslots. One guarantees a minimum number of slots for each account, and the other --txpool.accountslots value Minimum number ...
0
votes
0answers
11 views

Geth automining does not fill blocks to maximum

I am running a throughput test on a private geth blockchain. The test sends 500 transactions rapidly and then waits for their confirmations in order to measure transactions per second. However, I've ...
0
votes
0answers
21 views

Calling provable_query via Ethereum-bridge work only the first time

I implemented a contract to call a api via provable and ethereum-bridge on a private ethereum. In the first time, when calling a api, it works fine. However, when tring to call api again, I got an ...
1
vote
1answer
34 views

Is fully synced node required to access ethereum blockchain through geth?

Do i need fully synced node to access ethereum blockchain through geth using web3js? PS. i want to access ethereum blockchain through geth only, not metamask, infura, etc.
0
votes
1answer
23 views

Just synced a node, but want to use docker instead, can I moved synced db into container?

I just synced a node using geth fastsync and it took several days. But I just decided I want to use this computer's resources differently and run my ethereum environment from a docker container I ...
0
votes
1answer
20 views

Running geth - ssh doesn't work

The Ethereum light node is synced by geth, but when we tried to sync it we lost ssh connection. We assumed that while it is syncing it is impossible to connect via ssh to computer. If anyone has any ...
0
votes
2answers
41 views

solc@0.5.15 and web3@1.2.6 Error “Returned values aren't valid, did it run Out of Gas”

I created a simple contract and try to run it on Remix. It worked fine. However, when I deployed and excuted in a private ethereum, I got the error "Returned values aren't valid, did it run Out of Gas?...
0
votes
0answers
22 views

Transaction stuck in pool

All of my transactions was stuck in pool as pending around 2days and not getting broadcast to mainnet. > txpool.status { pending: 4096, queued: 1024 } So I have 2 questions here: Will those ...
1
vote
0answers
27 views

How to find bottleneck in geth sync?

I'm trying to benchmark geth full sync. Here are my current machine specs: Google Cloud 16 vCPU 14 Gb RAM 700 Gb NVMe SSD RAID 0 772k read/258k write IOPS 6+ Gbps network Launching with following ...
1
vote
1answer
28 views

Difference between web3.eth.personal.getAccounts() with web3.eth.getAccounts()

What are the differences between web3.eth.personal.getAccounts() and web3.eth.getAccounts()? environment truffle: v5.1.7 using truffle console.
1
vote
1answer
25 views

use geth in ropsten network invalid transaction v, r, s values [closed]

when I use solc instruction compile following code that get bin & abi: pragma solidity ^0.6.0; contract TestContract{ function multilpy(uint a,uint b) public pure return (uint){ return a*b; ...
2
votes
1answer
53 views

Recover public key from sign generated by AWS Cloud HSM - Golang

I am signing a transaction by using a private key in AWS Cloud HSM. But not able to recover the correct public key from the signature. Every time I try to run ECRecover method, it generates different ...
1
vote
0answers
19 views

How to connect 2 nodes without admin.addPeer()?

So, I started 2 nodes on my private net using geth, with custom genesis file, different port numbers, all how it was supposed to be. In one instance I added the admin.nodeInfo.enode of the other ...
1
vote
1answer
23 views

Geth list all javascript commands inside console [closed]

Need to know every single js console command inside geth like eth.syncing, eth.accounts etc... Can anyone brief into this?
1
vote
1answer
16 views

How to change Ethereum default directory

Im trying to run geth attach on my console , i have already started a node , this is the script that i used : #!/bin/bash geth --identity "miner1" --networkid 42 --datadir "~/Desktop/Tutorials/...
0
votes
2answers
43 views

Measuring deployment time of a group of transactions in a heavy load testing

I am currently trying to perform heavy load testing on a ERC20 token. My plan is to use truffle to test stuff like how long it would take for 500 transfer transactions to be deployed (on a private ...
0
votes
0answers
28 views

Geth automining includes only 1 transaction per block

I am trying to perform a heavy load and scalability tests on a smart contract. However, the test takes a lot of time because only 1 transaction is added per block. I read that this might be due to ...
0
votes
0answers
19 views

Why sendTransaction via RPC is too slow?

I want to make a multi-user eth wallet , use geth as client, when user send a transaction, i submit it to a queue server, then my server get the transaction data from queue and call RPCAPI ...
0
votes
0answers
16 views

Golang list unlocked accounts from node

Wondering how would I access an unlocked account on the node (private geth) in golang. The flow I'm looking for is: 1. user unlocks their account (using personal.unlockAccount for example) 2. my app ...
0
votes
2answers
34 views

how transaction in block-chain is validated

Please explain complete procedure/journey how transaction in block-chain get validated by miners, From broadcast of transaction to become part of new block.
0
votes
0answers
12 views

Create an account and assign it to end-user, and append more information to public-profile

So, I've setup a private ethereum network and plan to use uPort for better user identification for end-users. So basically I have two questions: 1- Is it possible to provision an account and its ...
2
votes
0answers
36 views

How to reduce block time for existing ethreum blockchain network?

I had deployed my private blockchain network back in 2018-08-12 16:12:48 +0600 (1 year, 167 days ago). Since then it is working. At that time the block time was 20-30 seconds which was acceptable for ...
0
votes
0answers
23 views

Script for opening a geth console for a node and running commands in it

I am trying to create a script running a couple of geth nodes, open a console for each of them and run a couple of commands such as admin.addPeer() and miner.start(). I read that i can use --exec to ...
0
votes
1answer
38 views

eth.getBalance(eth.accounts[0]) Shows me 0 balance though my syncing is still Running [duplicate]

I am using geth on windows with 1.9.10 version. I used geth --rinkeby --rpc --rpcapi="personal,eth,network,web3,net" command for launch my geth. I am on the Rinkeby testnet, i already transfer 3 ...
0
votes
0answers
17 views

Contract is not deploying properly on Geth private network using web3j SDK

I am new to Ethereum. I have created private blockchain using Geth on my local and trying to deploy my smart contract using java web3j SDK. I am able to deploy my contract using java and getting ...
0
votes
1answer
36 views

Geth on AWS EC2, rpc call networking

I'm trying to boot up a Geth node on an AWS EC2 instance and for some reason I'm unable to connect to it via a simple RPC call from outside the instance. I've done this successfully with a Parity ...
1
vote
1answer
22 views

bootstrap node vs cmd/bootnode

I am using bootnode as a starting/meeting point for my private POA/clique network. When I start it since one of the latest versions it says: fmt.Println("Note: you're using cmd/bootnode, a developer ...
0
votes
1answer
28 views

How i can exchange the erc20 with ether

i want to make crypto to crypto smart contract where i need to sell erc20 token and on buyer side i need to calculate the price which i have to send to seller and i have a price of token can you ...
0
votes
1answer
23 views

What is nodekey of bootnode command?

My understanding is that bootnode --genkey commands generate private key of node, and bootnode --writeaddress commands generate public key of node. However, why node needs private key and public key?...
0
votes
1answer
47 views

How to Open console In geth 1.9.10

I am currently using geth in windows and 1.9.10LTS version of geth. I have to Open geth console, but when i try to implement geth console or geth attach or geth attach ipc:\\ .\pipe\geth.ipc it doesn'...
0
votes
1answer
24 views

Always raising “Gas required exceeds allowance or always failing transaction” when the condition of require() is not met

I tried to run the following code to check the error message when the condition of require() is not met. pragma solidity ^0.5.16; ... function addUser(string memory name) public returns (int) { ...
3
votes
2answers
157 views

How is authorization handled in smart contracts

I have deployed a Quorum network on Azure Block chain service to be used by specific invited members of a consortium. I have not yet explored the privacy features provided by Quorum on top of Ethereum....
0
votes
0answers
12 views

Can we use geth for production?

Is geth ready and stable to be used for production? Can we install using --fast switch if we will use main net? How many GB will require? I ask becase we are planning to develop a DApp and we ...
1
vote
1answer
22 views

How to send transaction using web3 contract instance from address which is not a node's account

I succeeded creating transaction from node's account(created by ganache) to a contract using web3.js . const contract = new web3.eth.Contract(abi, contractAddress, { from: from, gasPrice: ...
0
votes
1answer
22 views

Why geth switch to full node when starting

I start my geth with --syncmode "fast" but I get this warning: WARN [01-21|14:47:59.148] Switch sync mode from fast sync to full sync And my geth will start with full sync mode with this warning. ...
1
vote
2answers
27 views

Node JS problem Interacting with Ethereum Smart Contract

I'm having only partial success with a Node.js script I wrote that interacts with one of my Ethereum Smart Contracts. Here's what's working: -I'm able to call methods in the Smart Contract from my ...
0
votes
0answers
34 views

Error: gas required exceeds allowance (8000000) or always failing transaction [duplicate]

I deployed a test ERC20 to a private ethereum blockchain. It deployed fine because I can get the transaction receipt, see the logs and everything looks ok as far as I can tell. However, when I try to ...
0
votes
0answers
10 views

Running Geth on Heroku

Wanted to setup a local network with nodes running on heroku. With settings like mine only when pending transactions, and transaction rate being around 10 per minute, what could be the repercussions I ...
0
votes
0answers
29 views

Transactions are failing randomly for multiple reasons when sending them in bulk for a benchmark

I'm trying to benchmark a private blockchain network (3 Vagrant nodes with 2gb of RAM running Geth Clique PoA, on an i7 7th gen Intel Core machine), following this process: A function launch n ...
0
votes
0answers
16 views

Fatal: Failed to read genesis file: open /Ethereum/conf/genesis.json: no such file or directory

I am trying to set up a privatte blockchain on my local system and while setting up the genesis block, I am receiving the following error - Fatal: Failed to read genesis file: open /Ethereum/conf/...
0
votes
0answers
20 views

Rinkeby node unable to sync block

Error log: INFO [01-16|03:24:01.401] Mapped network port proto=tcp extport=2020 intport=2020 interface="UPNP IGDv1-IP1" INFO [01-16|03:24:01.611] Mapped network port ...
0
votes
1answer
23 views

How come Blockchain Voting is decentralised and secure if it's controlled by ethereum network?

I'm building a voting Dapp using ethereum blockchain but I have a doubt. The best thing about blockchain is that it's decentralized, transparent and secure i.e. no middleman or centralized server ...
0
votes
0answers
18 views

Token transfer gas is different in rinkeby and private chain

After set up a private clique chain and issued a ERC20 token contract. I compared token transfer gas between estimated amount by web3.eth.estimateGas() and used gas from transaction log. They are ...
0
votes
0answers
18 views

Transplanting Geth Data

I am wondering if it is possible to transplant a geth node from one computer by overwriting the .Ethereum folder with a full synced node's .Ethereum folder.
2
votes
2answers
44 views

Full Node Bigger Than Online Reports?

I am running a full node and I noticed that the amount of disk space it takes is larger than reports online. I use the command ./geth --syncmode full --rpcapi eth,web3,personal --rpc --rpcaddr 127.0....

1 2 3 4 5 97