Questions tagged [geth]

Go implementation of command line tools for Ethereum blockchain

Go implementation of command line tools will allow you to connect your server to or run your application on the Ethereum blockchain

Ethereum CLI: https://www.ethereum.org/cli

Github: https://github.com/ethereum/go-ethereum/wiki/geth

237 questions
0
votes
1 answer

Unlock account present in genesis.json for sending ether

I want to sent ether from first account to another. For this i need to unlock the account. For unlocking the account i need password, which i don't…
Amit Kumar
  • 31
  • 2
  • 6
0
votes
1 answer

Geth gives empty answer for ANY chain data query

I'm running geth on an extra machine in my office. It is all synced and should be a full node. However, when I attach to the console and issue queries, the rely is always "0". Can't get balance of any accounts or any contract info. However I…
Bob Dobbs
  • 43
  • 4
0
votes
2 answers

geth states eth_submitHashrate while mining with Claymore on Windows 10 with 2 GPU's

I am aiming on GPU-mining Ethereum on a Windows 10 PC with 2 Radeon RX590. geth version is 1.9.9-stable-01744997 cmd call to start geth: geth --rpc --syncmode "fast" --cache 4096 --etherbase [ADR] --datadir "[MyDataDir]" --mine --minerthreads…
user3440145
  • 793
  • 10
  • 34
0
votes
1 answer

Cannot access member 'match' of undefined in geth

I am testing with rinkiby in ethereum geth environment (using light node.). By building the contract with solidity, the contract has been deployed correctly. If I try to access a function in that instance, I got a "match" error. I don't use "match"…
spritecodej
  • 459
  • 1
  • 4
  • 13
0
votes
1 answer

Geth getting 0 tether on local getBalance()

I face the problem of getting a balance of erc-20 on local accounts. > eth.accounts ["0x6c197808a849b9157422ed33d821e8e6e29ad8f8", "0x6e062dc98a5e4d7e494cb8c4b4d8cf40e8a4d958"] > eth.coinbase "0x6c197808a849b9157422ed33d821e8e6e29ad8f8" >…
0
votes
1 answer

Geth (go-ethereum) uses 100% CPU during mining even with 1 thread is specified

Steps to reproduce: Run geth with parameters --mine --minerthreads "1" or --mine --minerthreads 1 Expected behaviour: Only 1 thread is used. Actual behaviour: All CPU threads (8) are used with a 100% load. System information: Geth version: 1.9.6 OS…
0
votes
0 answers

Error: gas required exceeds allowance or always failing transaction - web3js

I get the following error when I try to deploy a smartcontract using web3js. But if I deploy the same contract using Truffle or geth console, deployment succeeds. Error: gas required exceeds allowance or always failing transaction Smart Contract…
No8
  • 77
  • 1
  • 9
0
votes
1 answer

Private ethereum blockchain mining on a Raspberry Pi - is it possible?

I am trying to write a private ethereum blockchain lab for both the college class I teach and a MeetUp group at the financial services firm where I work during the day. Using ethereum and geth on RPi 3B+. Can mining be performed on a Pi’s running…
C0ntr07
  • 51
  • 1
  • 1
  • 9
0
votes
1 answer

Where are internal transactions recorded on the blockchain?

Lets say I have the following contract. contract sendEther { function sendEther() payable { address to = ; to.send(this.balance); } } If address1 deploys this contract with 100 ether. This contract deployment…
harmanw
  • 147
  • 1
  • 4
0
votes
1 answer

A probleme when trying to lauch the node

I am trying to build a quorum node from scratch and I have folowed this tutorial: https://github.com/jpmorganchase/quorum/wiki/From-Scratch When i try to execute the node using this command: PRIVATE_CONFIG=ignore nohup geth --datadir new-node-1…
MS B
  • 199
  • 3
  • 14
0
votes
1 answer

How to run remote wss/http geth node?

I want to run my own remote node for my application. Can I run a node that would be accessible via the wss and http protocol at the same time? Something like this? geth --rpc --rpcaddr "MY IP" --ws --wsaddr "MY IP" console
0
votes
1 answer

How to extract data from "RemoteCall" return type function in java/kotlin?

I'm trying to read balance of an address from erc20 token contract using web3j. I've already generated java equivalent contract file. In this file, A function is returning RemoteCall type of object. Now, how to parse this output so that I can simply…
Satan
  • 3
  • 2
0
votes
1 answer

Saving extra data in ethereum smartcontract transaction

I have not a lot experience with ethereum and this problem very hard for me. I have project in php laravel, which must send project's internal coins to user and with this transaction I must save extra data about user's job, for which there is a…
Ssmarty
  • 11
0
votes
2 answers

Does own node run faster than Infura?

Will I feel the big difference if I will raise own node on a powerful server with good internet 100Mbps+ ??? Did someone experiment with the speed of own node and Infura?
0
votes
1 answer

functions of deployed contract only return 0

[solidity] I deployed a simple smart-contract to a private ethereum network, All the functions return only zero, even one thar explictely "return 170" what may be wrong? pragma solidity ^0.5.6; contract Test { uint256 myNumber = 70; …