Questions tagged [go-ethereum]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

What is the client version?

I am using Infura and web3.py. When I connect to Infura the web3 object has a clientVersion property that reads this from JSON RPC "Geth/v1.8.15-omnibus-255989da/linux-amd64/go1.10.1" Can someone ...
0
votes
0answers
39 views

Address not appending to array

I'm new to Ethereum and I communicate with my Solidity using Go language. I have a contract that allows user to join the lottery by adding the user's address to the array of addresses, but it's only ...
0
votes
0answers
12 views

My parity node constantly gets requests from 0x0

I ran my parity node (stable version) with this command on a docker: /bin/parity --chain=kovan \ --jsonrpc-interface all \ --jsonrpc-hosts all \ --light \ --force-sealing \ --auto-update=all \ --min-...
3
votes
1answer
35 views

Difference between Puppeth and Ganache

I am trying to set up a local blockchain and started to read about Puppeth to manage the blockchain and also read about Ganache (this one I already tested a bunch of stuff), but never heard about a ...
1
vote
0answers
26 views

how can I get the account locked information via python web3?

There is a command personal.listWallets in geth cli to get the account locked/unlocked status such as below: > personal.listWallets[1] { accounts: [{ address: "...
1
vote
0answers
9 views

Get key for coinbase account in go-ethereum SimulatedBackend

What's the best way to 1) pre-fund 2) get a signing key for the coinbase account in the go-ethereum Simulated Back-end? Right now the simulated back-end coinbase account seems to default to 0x0 but I'...
0
votes
0answers
32 views

blockchain solidity tracking system

I am trying to make a code in solidity to add items to a blockchain which contains items and their tracking history (like when trace your order online for an item) (which at first are located in "...
0
votes
1answer
38 views

Erc-20 Token Send Transaction

I want some Information about Erc-20 Transactions. I want to transfer Erc-20Token from first wallet to a second wallet, I have Privet Key, But I want to transfer with Api, So How can I transfer the ...
0
votes
0answers
10 views

Privatenet Blocktime

I want to run some experiments on my private net where I can try faster and slow Block times - I know on clique you can set it to: Clique: &CliqueConfig{ Period: 15, But I don't see ...
0
votes
1answer
27 views

Ethereum Petabyte Storage Problem

As the need of blockchain systems grows so will be the storage issues and the cost of handling such large amounts of data. Is ethereum capable of handling petabyte storage or is it upto an ...
0
votes
0answers
153 views

Geth console stuck at Smartcard socket not found, disabling

My node is running well in the last month. But somehow I restart the node and currently couldn't start probably, keep stuck at smartcart socket not found: INFO [11-15|21:22:32.178] Maximum peer count ...
0
votes
2answers
40 views

Not able to get deployed address of smart contract

Error: connect ECONNREFUSED /home/sanya/.ethereum/geth.ipc at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1106:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: '...
0
votes
1answer
27 views

How to setup ethereum to work on gpus for complex smart contract execution?

Basically the question is to apply some gpu intensive tasks like machine learning algorithms etc using smart contracts, is this possible using any of the available ethereum clients like geth or parity ...
4
votes
0answers
52 views

what is the difference between non-executable transactions and executable transactions?

In geth doc I found this : --txpool.globalslots value Maximum number of executable transaction slots for all accounts (default: 4096) --txpool.accountqueue value Maximum number ...
1
vote
1answer
12 views

Many-2-Many ERC721 Pattern?

I'm looking to build a smart contract with a function which is able to generate a unique and limited amount of ERC721 tokens based on an input string. I also want to be able to look up all the tokens ...
1
vote
1answer
1k views

Fatal: Failed to write genesis block: unsupported fork ordering: eip150Block not enabled, but eip155Block enabled at 0 genesis block

I am attempting to launch a private geth chain with the following command: geth --datadir=./test-private-blockchain/ init genesis.json I am receiving the following error: Fatal: Failed to write ...
0
votes
1answer
17 views

ERC-721 - How to avoid that an updatable tokenURI becomes a vulnerability for token trust?

I understand that one can use the tokenURI field to add the address for an endpoint that returns meta data for the given token. Let's imagine we create a unique asset with tokenId = "1" tokenURI = "...
0
votes
1answer
43 views

eth_getBlockByNumber returning undefined

I have some JavaScript that's connecting to a private ethereum network via JSON-RPC. I am trying to extract the transaction hash of the blocks but am unable to do so. // BlockNumber clientNodeOne....
1
vote
1answer
18 views

eth_getStorageAt params names

I am calling geth rpc method eth_getStorageAt using json-rpc-cpp libarary. I need to know the parameters' names for the method. I can find parameters' names for eth_sendTransaction from here, which ...
0
votes
0answers
46 views

Invalid transaction v,r,s values while deploying contract on POA network

I'm trying to create a private POA network. I've generated Genesis file using Puppeth. Then while deploying Smart Contract on Remix using the accounts created, I'm getting the following error: ...
1
vote
0answers
16 views

IPFS file uploading issue [closed]

I just installed IPFS version 0.4.22 on my Mac. When I try to upload/add a file in TERMINAL - using the following command: ipfs add myLogo.jpg I get this error: Error: ipfs repo needs migration ...
0
votes
0answers
11 views

How to get “Internal” transactions in etherscan? [duplicate]

How to get "Internal" transactions in etherscan? now,I can use a third-party interface example: https://api.etherscan.io/api?module=account&action=txlist&address=...
0
votes
0answers
42 views

How much more it will take for Ethereum wallet to Sync - 2019

I has been a week when I tried to Sync Ethereum on SSD VPS. Here are the details - Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): ...
0
votes
0answers
9 views

How to run a private geth node on Android?

I want to run a private geth node in using AndroidStudio. How should I go about it? What to do after writing the genesis.json file? I am completely new to DApp in mobile phones. Kindly help. Thank ...
0
votes
1answer
30 views

Does Geth provide a private or public network?

I'm new to the Blockchain world, lacking experience and I'm looking for some assistance. I'm just syncing with ethereum network by using Geth and rinkeby network. by using this command: geth --...
0
votes
0answers
31 views

web3.eth.subscribe('newBlockHeaders'): Cannot read property 'id' of undefined

I have this error when using web3.eth.subscribe('newBlockHeaders', (error, blockHeaders) => {...}) I put try/catch everywhere I could, but I still have this: UnhandledPromiseRejectionWarning: ...
0
votes
0answers
12 views

Size of disk in one node is higher than other nodes in private ethereum

I have 4 nodes private ethereum. After work 2 years, 1 node suddently has over 80% disk of usage and the rest of nodes only 50 disk of usuage. Please explain for me, what's happen?
0
votes
1answer
58 views

Why admin.addPeer() command did not add parity client for private chain with Docker?

I would like to set up private chain which both geth and parity clients running on the same network. here is a sample repository with docker-compose file: https://github.com/user48736353001/devnet ...
0
votes
2answers
14 views

Connect dApp hosted on cloud with Geth running locally

I've my dApp running on AWS and Geth running locally. How am I supposed to connect my hosted dApp with the Geth? I'm connecting my web3(using web3.py) using my computer's(Windows OS) IP address. ...
0
votes
1answer
36 views

How to get the pending transactions in the whole network from ethereum?

I would like to get the pending transactions in the whole network of ethereum. For example, the transaction '0xabcdefg' is right now pending in the pool, waiting to be mined by miners, after 12 ...
0
votes
0answers
25 views

Geth Private Network on restart of geth server account balance and all previous transactions are cleared [duplicate]

I first run the geth init command with the following genesis content: { "config": { "chainID": 937, "homesteadBlock": 0, "eip155Block": 0, "eip158Block": 0 }, "alloc": { "acc1": { ...
1
vote
2answers
57 views

How to know if transaction is failed due to insufficient balance?

I want to know if it is possible to know from "error" object returned by geth that the error it was due to insufficient balance (something to compare with) I have a js code like that: mycontract....
0
votes
1answer
41 views

Calling contract from contract not working

below are very simple setup of one contract calling another contract and I somehow can't get it to work. Contract C1 pragma solidity ^0.5.0; contract C1 { int public x = 1; function setX(...
0
votes
0answers
38 views

Incompatibility issue of solidity 0.5.12 (or perhaps ^0.5) with web3 js v1.2.2 or with Geth v1.9?

Is there any incompatibility issue of solidity 0.5.12 (or perhaps ^0.5) with web3 js v1.2.2 or with Geth v1.9? Because a contract in v0.4.24 works perfectly with given web3 version and Geth version, ...
1
vote
1answer
16 views

What are the minimum requirements for Geth server only for API calls?

I want to run a platform based on Ethereum and PHP to let our customers to sell/buy Ethereum based currencies online, and we have not any plan to mine the blockchain. In this regard, please help me to ...
0
votes
1answer
22 views

Not possible to connect to the Web3 provider

I have a problem connecting my url to my quorum node. I already make sure the node has an account, I run it without problem but I have that error enter image description here enter image ...
0
votes
0answers
30 views

Geth mining stuck: Commit new mining work on Ubuntu instance

I have an Ubuntu instance running on aws ec2. I'm currently using Ubuntu server ec2 instance with the configuration as: 1 vCPU, 2.5 GHz, Intel Xeon Family, 1 GiB memory. I'm running my Geth on this ...
0
votes
0answers
124 views

Returned error: gas required exceeds allowance (91135865401031) or always failing transaction

I am trying to deploy smart contract on private network and do transactions via nodejs script. This is my genesis block: { "config": { "chainId": 16, "homesteadBlock": 0, "...
0
votes
0answers
20 views

What must I do for withdrawal from vesting contract?

I created my token and my token's codes are same with Matic token's codes. Also my vesting contract code is same with Matic token(https://etherscan.io/address/...
0
votes
1answer
28 views

Memory Utilization Pattern Solidity?

I was wondering what is the most efficient way (and why), to use variables in memory for function calls with regards to A and B? A) Like this: function checkBalance() public view returns (uint256) ...
0
votes
0answers
33 views

How to limit queued transactions in terms of waiting time and number?

I am trying to limit queued transactions in terms of waiting time (using --txpool.lifetime ) and in terms of number (using --txpool.globalqueue) but nothing works, I am using PoA with geth, I want to ...
0
votes
1answer
49 views

smart contract is too smart: different bahaviors of smart contract on different version of geth or solidity

recently I am learning how to deploy and call smart contract on ethereum. I am working on a very simple contract as follows: pragma solidity >=0.4.24 <0.6.0; contract TestContract{ uint ...
0
votes
0answers
10 views

How my local txpool is updated?

I have a few question about txpool update. I think for the best reward, miners will select the highest gas price transaction first. So maybe txpool is sorted to select transactions as soon as ...
0
votes
1answer
45 views

geth subscribe newHeads not working

I run geth with this command geth --syncmode "fast" --cache 2048 --datadir /data/ethereum --ws --wsaddr 0.0.0.0 --wsorigins '*' --wsapi 'web3,eth,net,db,personal' --rpc --rpcaddr 0.0.0.0 then i ...
1
vote
0answers
11 views

what --txpool.lifetime is exactly used for?

I want to know what --txpool.lifetime is used for ? and how can we set the value of it ?
0
votes
1answer
53 views

Can we remove queued transaction in geth pool (PoA)?

Is there a way to limit time of queued transaction or remove them ? I am using PoA network (Geth)
0
votes
2answers
34 views

Does reverted transactions considered as mined transactions?

I want to know if a reverted transaction is considered as mined one ? this is mean nonce should be incremented
1
vote
0answers
20 views

How can we increase block gasLimit without reinitialiting the genesis block? [duplicate]

Is it possible to increase block gas limit without reinitializing the blockchain ?
0
votes
2answers
32 views

Is there a way to create double-spending transactions and submit them to different nodes?

I'm trying to create two transactions with the same nonce and send those transactions to two different nodes. Such as: const Web3 = require('web3'); const web3_1 = new Web3(rpcURL1); // node 1 const ...
2
votes
1answer
19 views

What makes a transaction not mined and stay in txpool?

What Makes a transaction in txPool not mined ?