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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

0
votes
1answer
6 views

discover if a binary data contains Ethereum address in it?

Is there a way to guess, with some level of probability , that a 20 byte array is an Ethereum address, besides doing a query against the current StateDB and its history ? I want to discover hidden ...
0
votes
0answers
4 views

Launch more than one node connected to Rinkeby from the same machine (change the port doesnt work)

I would like to know if it is possible to launch more than one node connected to Rinkeby from the same machine through Geth and Mist. In a local testnet, it is possible to do it changing the --port ...
0
votes
1answer
17 views

contract address returning as null value

I am trying to create a factory contract and storing the smart contract address in an array but when I trying to retrieve the value, it always gives null value. Please find the contracts that I have ...
0
votes
1answer
16 views

Connecting to remote node

I have created a node in my laptop. Now I want my friend (from his home) to connect to the node I created. We are part of two different networks. How can these two nodes be connected in ethereum. What ...
-1
votes
0answers
16 views

Serialize transaction [on hold]

I have signed transaction successfully. Now I want to serialize the transaction using Geth.aar Please help me with this.
0
votes
1answer
9 views

How to keep a geth node synchronised on a ubuntu machine?

The requirement is keep a geth node synchronised almost always for a DAPP . The geth node is running on a ubuntu machine. The command being used to expose the geth rpc server is geth --testnet --...
0
votes
0answers
11 views

What is the purpose of non-mining sealer nodes in clique POA private ethereum network with respect to the clique consensus

I did setup a private POA ethereum network with 4 nodes with 3 of them mining . I went on to try a lot of combinations with some miners and sealers and reached to a conclusion that every miner hash to ...
0
votes
1answer
17 views

How to sign the transaction using Geth in android

I'm using Geth.aar library for handling ethereum. I generated the address, gas price, gas estimation, and transaction count. now I want to sign the transaction. Please help who knows the answer.
0
votes
0answers
11 views

Failed to connect to localhost/0:0:0:0:0:0:0:1:8545

When I am doing one transaction with the help of Java web3j library, it's not connecting to localhost(my private network). And giving this error. package com.kaushik.blockchain; import java.math....
0
votes
1answer
17 views

Can't manage to find the good IPC path on window

I'm currently trying to link Mist to my fully-synced GETH node. I managed to do that on Linux but i'm strugling on Window. Here are datas from GETH : INFO [08-13|12:17:23] Allocated cache and file ...
0
votes
0answers
25 views

What are the differences between Microsoft Azure's Ethereum and the normal Ethereum?

What are the extensions of the newly announced Azure Ethereum over Ethereum?
0
votes
0answers
39 views

Private Ethereum blockchain: missing trie node

I deployed a private blockchain with the following steps: Setting the difficulty to a fixed value (see Running a “quick” Ethereum private network for experimentation and testing) and creating the ...
0
votes
1answer
10 views

Questions related to the aftermath of breaking an iterative loop

Loops that do not have a fixed number of iterations, for example, loops that depend on storage values, have to be used carefully: Due to the block gas limit, transactions can only consume a ...
0
votes
1answer
38 views

Can't get contract to contract function calls working

I can't quite seem to figure out an issue preventing contract to contract function calls. I'm feeling fairly confident it's something with how I'm deploying. Preface: I have a Parent and Child ...
-1
votes
0answers
13 views

Investors are hoping ETh [on hold]

how to be used to Ethating the main balance after the lower low price for the current, the first required to determine the direction of the Eth
0
votes
1answer
24 views

Block time and confirmation time

I have been reading in different papers and comments these two concepts and I would like to know the difference between them(if there is, sometimes it is a bit confusing). I understand that the block ...
0
votes
1answer
34 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
29 views

Allow access to private ethereum network from certain IP only

I have a question regarding restriction access to private etehreum network. I created my Private Etehreum network using Geth(for now just only with one node) on the Ubuntu 16.04 virtual machine. And ...
1
vote
0answers
15 views

How to interconversion between privatekey and keystore with password in interactive console

When I execute geth attach attaching a active geth node into a interactive console . I could use keystore and password to sendTransaction . But now I only know the raw privateKey,How to execute ...
0
votes
1answer
17 views

Using the Parity or Geth light client, how can I monitor an address for transactions?

I'd like to use Parity or Geth, in light client mode, to monitor an address for transactions. Essentially, I should be able to check each block for transactions involving a certain address. In the ...
0
votes
1answer
16 views

Ethereum unlock account

Is there any way to unlock the ethereum account when using the infura api. Can only metamask do it? I would not like to use metamask because not every user has it on the browser
0
votes
1answer
18 views

Why I need the genesis file to join a network?

I created a private ethereuem network using geth, and now I want other machine to join my network, I try this command : geth --datadir node1/ --syncmode 'full' --port 30304 --rpc --rpcaddr '...
0
votes
2answers
28 views

How do other nodes handle the accounts of a deleted node?

In Ethereum Blockchain, the accounts created on one node stay with it and are not replicated into other nodes. If that node is deleted and hence is not a part of that network, then what happen to the ...
2
votes
1answer
23 views

duration limit for unlockAccount()

When I use personal.unlockAccount(), there is an option to pass a parameter for duration. What is the maximum duration to which i can unlock the account? I have searched through its documentation. It ...
0
votes
0answers
30 views

How do i make this work on ethereum Mainnet? [on hold]

The code works on testnet. but when i change to mainnet, It refuses to work. How do i achieve this please? var adrressContractRopsten = "0xc3e329ca5380c6b416cf095ed1a662c378a2b630"; var ...
0
votes
1answer
29 views

I need some clarification about cloning Ethereum

I would like, just for learning purpose how to create a new crypto by cloning the Ethereum. I know how to make a clone of BTC and LTC, basically with that chains is enough modify some strings (such ...
0
votes
0answers
26 views

Truffle migrate fails with geth

When I run "truffle migrate" I wait for few seconds than the geth node fall down and I got this truffle error : "Error encountered, bailing. Network state unknown. Review successful transactions ...
-1
votes
0answers
11 views

If Transparency is the whole point of adoption of Ethereum, why are we still obsessed with scalability and reaching impossible TPS?

If Transparency is the whole point of adoption of Ethereum or any other blockchain/DLT solution, why are we still obsessed with scalability and reaching impossible transaction speeds? That way we ...
1
vote
0answers
10 views

creation of Hourglass errored: transaction execution failed

I don't know why I'm getting this error while deploying 2 of my contracts. creation of Hourglass errored: transaction execution failed while code compiles successfully no issues there. ...
0
votes
0answers
10 views

How does geth work around golang import cycles?

I am trying to test individual packages within geth, and I realize that there is ci.go file that can build and test these packages. However, I would like to know how exactly it works because it would ...
0
votes
1answer
13 views

What does this error mean and can someone please provide the answer? It keeps saying Parser error on the burn function

Click Here for the image. ` pragma solidity ^0.4.25; contract owned { address public owner; function owned() public { owner = msg.sender; } modifier onlyOwner { ...
0
votes
0answers
25 views

Dapp new user accounts in ethereum

I create dapp with the ability to register users. I have no ideas on how to do so that the registering user could create a new account in the ethereum network. If I connect to the main network using ...
0
votes
1answer
23 views

How can metamask create account on many networks?

MetaMask is a browser extension that makes possible to have an ethereum account without run a full ethereum node. I want to know how can metamsk create the account from my browser on many testnet ...
1
vote
1answer
19 views

Trouble executing transactions on a private PoA network with blocktime set to 0

I'm trying to run a private PoA(Proof of Authority) network with the blockTime (clique.period in the gensis block) set to 0. I'm testing a truffle contract against this network, and when executing ...
0
votes
0answers
7 views

“Invalid JSON RPC response” using web3.getPastEvent

I am using web3js to query a remote geth node (Geth/v1.8.14-unstable-35fcd2f4/linux-amd64/go1.10.3) for a particular event Ping emitted by a smart contract. myinstance = new web3.eth.Contract(myABI, ...
1
vote
1answer
27 views

Generate Ethereum Address

I have used Geth.aar library for generating ethereum address from 24 word seed. But every time I got new address. I need same address every time. Please help me with this.
1
vote
1answer
25 views

Geth parameter “networkid” vs. Genesis block “chainId” config?

I have set up a private Ethereum network with a custom chainId (for example 67890) specified in the config part of the genesis.json file, did geth init genesis.json, and got the private net up and ...
0
votes
0answers
18 views

How investment logic must be set? [closed]

Does the cost of the tokens can be set per phase? Should they be written in the smart contract?
1
vote
2answers
16 views

Where authorities in PoA are stored?

I am trying to deploy a private ethereum network in my machine using Proof-Of-Authority and geth client. I followed this tutorial but I can't realize where the information about authorities are ...
1
vote
0answers
10 views

Cannot connect to the Web3 provider when rpccorsdomain is on

I am getting the message: Not possible to connect to the Web3 provider. Make sure the provider is running and a connection is open (via IPC or RPC). When I specify: --rpccorsdomain "http://...
0
votes
1answer
17 views

geth gas spending is always bellow 4.7m

According to my knowledge, GETH miners can fit many transactions on a block so long the total gas spend < block gas limit. However, in my lab network (private) when I bumped up miners gas limit ...
0
votes
0answers
9 views

geth: can the massive log file in chaindata dir be truncated? [duplicate]

in chaindata, are thousands of ldb files, and the following: MANIFEST-2116709 LOG 3269428.log Each of these 3 are massive (Gigs), but have been written to just now (so are in use) Can any of these ...
0
votes
0answers
16 views

Storing a particular ERC20 balance value of a smart contract in a global or local variable

how does one go about storing the ERC20 balance value of a contract in a local variable, with the ultimate purpose of using this value for later calculations within the same function? uint256 ...
0
votes
0answers
12 views

Can I know what transactions a pool is mining?

Correct me if I am wrong. A pool select transactions to include in one block, calculates the header, then distribute the jobs to miners. Can I know what transactions the pool includes in each ...
0
votes
0answers
7 views

Transaction from the non-validator node stuck, and doesn't broadcast to sealer nodes

I'm able to deploy a contract through a validator node successfully. But when I deploy it from the non-validator node, it gets stuck, and the transaction doesn't get broadcasted to the validator nodes....
0
votes
0answers
19 views

truffle migrate stop at the first contract

When I tried to run "truffle migrate" with geth (private network), the migration process stop at this point: Running migration: 1_initial_migration.js ...
0
votes
1answer
29 views

truffle migrate cause “Error: insufficient funds for gas * price + value truffle migrate”

When I run "truffle migrate" to deploy contract to geth, I got this error: "Error: insufficient funds for gas * price + value truffle migrate". this is the genesis block of my private chain: { "...
0
votes
0answers
7 views

On which basis(selection criteria) 2 uncles are added in the block in ethereum?

Based on this article, Ethereum rewards a maximum of 2 uncles per block. How does the miners select which uncles should be added in a block?
0
votes
1answer
47 views

How to generate ERC-20/xxx token addresses?

How to generate ERC-20/xxx token addresses, from which I can receive/send corresponding tokens? How can I do this using web3j?
1
vote
1answer
54 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 ...