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.

1
vote
1answer
5 views

ethereum wallet:Your computer's clock is not synced.

i am using geth VRSION: 1.8.20-stable-24d727b6 and ethereum wallet Ethereum-Wallet-linux64-0-9-3 and i am using Ubuntu 18.04.1 LTS and on wallet startup wallet is showing the error message here ...
1
vote
0answers
6 views

Unable to send large transactions on ethereum private chain

I have a small contract pragma solidity ^0.4.17; contract A10test{ mapping(uint=>string) public data; uint public revisionNo=0; function setdata(string _data) public { data[revisionNo] = ...
0
votes
1answer
14 views

How Ethereum consensus validates same transaction from different miners?

In an Ethereum node, my brief understanding regarding transaction flow is below. When a client initiates a transaction, all mining nodes receives this request. Based on gas price, miner choose to ...
0
votes
0answers
5 views

geth : Unable to fully sync to Rinkeby

I am trying to synchronise geth with Rinkeby node but when around 100 or so block left, it keep on dopping the peer and doesnot sync fully with the test net below are the screenshot for the same.
5
votes
0answers
33 views

Will Eth 2.0 be implemented in geth (go-ethereum) or will it run on a new client?

Geth is the official implementation of Ethereum based on the coding language Go. Currently, there are 8 teams that are building Eth 2.0 https://www.coindesk.com/next-gen-buidlers-the-8-teams-working-...
0
votes
1answer
10 views

How to differentiate between different logs in ethclient

I have events like this in my .sol file event userActivated(address owner, address contractAddr); event userDeactivated(address owner, address contractAddr); And I am using ethclient Go module to ...
0
votes
1answer
24 views

Data availability in Ethereum/Hyperledger-fabric (Blockchain)

I have a use-case like there is an admin who creates application and invites several user to use that application. Now, i need to audit trail over the activities done by the user. Users no need to ...
0
votes
1answer
20 views

Can ERC20 tokens be traded on other blockchain based decentralized exchange?

I have a quick question to ask from you. can we trade erc20 tokens on decentralized exchange which is built on custom replica of ethereum blockchain or you can say on a fork of ethereum blockchain. ...
1
vote
2answers
33 views

How eth_getStorageAt works when block option is not “latest”?

For the block parameter of eth_getStorageAt call, we are given 4 options: HEX String - an integer block number String "earliest" for the earliest/genesis block String "latest" - for the latest ...
1
vote
1answer
15 views

Event not visible on Etherscan transaction list

I have a BuyToken event when user send ether to smart contract they will receive tokens based on ether amount. For ex: 1 ETH = 1000 Token. /// This notifies clients about the Buy Token event BuyToken(...
2
votes
1answer
36 views

How do ethereum validate a OLD transaction(say 10k blocks ago) without sync/replay-ing the full node?

When a full node receives a freshly mined new block, it seems straightfoward how we could validate all the transactions contained in the block. As we already the current world state, we could just ...
0
votes
0answers
16 views

PoA clique installation of Puppeth and go-ethereum cluster is unable to successfully authenticate

ERROR[12-11|09:29:16.810] Server not ready for puppeth err="ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain"
0
votes
1answer
28 views

Mineable Tokens? Is it possible? If so, how can I make one? [duplicate]

Just wondering if you could make a ethereum token that is mineable. I saw this link, but don't really know about it and i dont know anything about solidity. Can someone please help me? Thanks, ...
1
vote
1answer
18 views

Boot Node issue

When I create a bootnode, I am not getting the enode. So I used this link for reference to derive it. However, the below is happening. It seems that the bootnode address is 128 bits whereas it is ...
1
vote
1answer
20 views

What are the correct steps to make connection and communication within one Node by creating Private Network in windows?

What are the correct steps to make connection and communication within one Node by creating Private Network in windows? Installation of Geth is done in windows successfully, puppeth is also running. ...
1
vote
0answers
8 views

Geth Clique: can change config params in genesis and still retain the existing blocks?

I have altered my custom Geth private chain Clique PoA, but it seems after I do that I encounter: BAD BLOCK Error: invalid receipt root hash Is it possible to: change the Geth code add a new hard ...
0
votes
0answers
24 views

Why do my ETH and ETC geth nodes perform differently when using web3.py?

I have the same web3.py program running on both ETH and ETC that are connected to their respective geth nodes (that I am hosting). The ETC program has been performing as expected for days with no ...
0
votes
0answers
10 views

When create contract there is no Token Tracker [on hold]

I have no idea what's wrong. I used two different Pc to make contracts but contract allways have no token tracker. This is my adress: 0x1da7ee4676dde2a7fad0799f20d15eb2cbaa2944 I create first ...
1
vote
1answer
24 views

How does Infura deal with Finality

When submitting smart contract calls to infura or subscribing to a contract's events, does infura have it's own finality bound or will I have to implement this in the client?
3
votes
0answers
47 views

Why two contracts got same address?

I've been testing payments for shopping cart on a private chain. I create and deploy contracts to disburse payments among sellers. So if a shopper buys same items again the contracts for two carts ...
0
votes
0answers
22 views

Returned Error: The method personal_signTransaction does not exist/is not available

I'm on Kubuntu 18.04 using Ethereum Wallet 0.11.1. When I try to send an amount of ETH and put in my password or anything in the password prompt I get the following message: Returned Error: The ...
0
votes
0answers
26 views

Can I turn any ethreum address to an account on the node?

I am planning to create an account in my client app using web3,I want to have the privateKey on the app too. is there anyway to propagate this address as an account on an Ethereum node?
0
votes
0answers
13 views

Guys i am having trouble on showing my transaction details from my contracts.And my for loop is also not executing in app.js file [on hold]

pragma solidity^0.4.19; contract Banking { struct Applicants { uint id; bytes32 name; int date; bytes32 fatherName; bytes32 ...
0
votes
1answer
15 views

Issues while sending raw transaction for calling smart contract methods?

let provider_url = "https://ropsten.infura.io/v3/d5bca90ec3084aee8abd468fdf876a11"; this.web3Provider = new Web3.providers.HttpProvider(provider_url); window.web3_ = new Web3(this.web3Provider); ...
0
votes
1answer
11 views

How can I start swarm such that the api's are available from other machines?

I'm running this: swarm \ --bzzaccount $ACCOUNT \ --password .ethereum/.password \ --bzzapi "http://0.0.0.0:8500" \ --lightnode And when I curl from localhost I get a response: $ curl http:/...
0
votes
1answer
14 views

ERC-20 Token Transfer Error (Unable to locate Corresponding Transfer Event Logs), Check with Sender.

I created a contract on ropsten, but whenever i tried sending tokens manually to other wallets, it fails. This is the transaction details: https://ropsten.etherscan.io/tx/...
0
votes
0answers
8 views

Sync finished but get 'No trusted canonical hash trie' error

The node finished sync(fast mode) but // truffle-hdwallet-provider const provider = new HDWalletProvider(mnemonic, node); get 'No trusted canonical hash trie' error Geth Version: 1.8.19-stable
1
vote
1answer
33 views

What's the difference between 'type' and 'callType' in parity trace?

For the parity node, the response for getting the transaction trace contain "callType" and "type" which are all "call". But for geth node we only get 'type':'Call'. So I am confused, whats the ...
1
vote
0answers
18 views

Any company out there offering enterprise-grade support/maintenance for geth?

In strictly regulated enterprises, like banks for instance, often it is required to have support/maintenance for the software in usage. From the Ethereum community I know that Parity Technologies is ...
0
votes
1answer
36 views

ALERT: [ethjs-rpc] rpc error with payload

I am trying to create transaction local blockchain using ganache on When i confirm the transaction i get the error as "{"id":4818399857527,"jsonrpc":"2.0","params":..", please refer screenshot for ...
0
votes
1answer
22 views

Difference between Binary of the Contracts in Hex and contract bytecode?

I use the command "solcjs --bin mycontract.sol" to get the "Binary of the contracts in hex" and it looks like: It can be used as a parameter of evm in geth after the command "evm --code". When I use ...
0
votes
1answer
17 views

PoA private net keeps mining blocks at high rate with no transactions

I am creating a private network based on Clique (PoA) and I have a certain problem with the amount of blocks mined by my two nodes. The number of blocks is very high I quickly reached hundreds of ...
0
votes
3answers
21 views

How to check if geth node is running ,from web3j code

I am connecting to Geth using Web3j plugin. web3j = Web3j.build(new HttpService("http://<ip>:<port>")); // defaults to http://localhost:8545/ However, if the Geth node is not started, ...
0
votes
1answer
27 views

How to gather all addresses of nodes in a private network?

I am currently learning core-development in go-ethereum. I am a little weak with networking, RPC and connections. I am trying to write a function in my own consensus mechanism that gathers all ...
1
vote
0answers
24 views

Where is the bytecode of smart contract stored ? And how to get it executed?

Well, my question is terse but to the point: Where's the bytecode of smart contract stored? And how to get it executed ? From the image and Ethereum Yellow Paper we can see there is codeHash in ...
0
votes
0answers
5 views

How to see the balance and users of a smart contract in front-end with web3.js

I have a contract deployed on the mainnet where you can get a daily percent by investing eth. After achieving 200% the contract deletes your address wallet with the option of starting a fresh ...
1
vote
1answer
21 views

Where does Ethereum node store its variant? [duplicate]

It's known to all that once the smart contract is deployed to the Ethereum network, it won't be modified. But what about the value of a contact's variant? Say a smart contract looks like: ... ...
0
votes
0answers
13 views

How storing data on blockchain works? [closed]

I would like a simple explanation about how data is stored in a blockchain. When I was searching for a definition of a blockchain i says that it is a shared ledger and database that keeps records of ...
0
votes
1answer
22 views

automate geth setup: automate addition of enodeInfo url of other peers

I am trying to setup multiple geth nodes on multiple docker containers. I am using a script that can initialize a genesis json file and start geth. After that, I am doing the following manually (and I ...
1
vote
1answer
44 views

creating a private boot node based on geth

I am trying to create a boot node for my private network, I followed a tutorial which led me to generating a boot.key and run bootnode -nodekey boot.key -verbosity 9 --addr :30301 It is supposed to ...
3
votes
1answer
99 views

Gas costs of the following contract

I'm calculating the gas costs of the following contract: 0x6001600190016007026005016002900460049060016021900560150160030260059007600303600960110a60005260086000f3. Disassembled versions: contract ...
0
votes
0answers
24 views

UnhandledPromiseRejectionWarning: Error: Invalid JSON RPC response: “”

I have created an account using web3 in my private Network which is running at 8545 port, the code is shown below: > var Web3 = require('web3') undefined > var web3 = new Web3('https://...
1
vote
1answer
24 views

Multiple Array[] along with mapping handling

This code is running but when the same user make a bid then the bid is being replaced from the first bid and event is printing twice the same record. i want that one address make a bid and for his ...
0
votes
1answer
18 views

Configuring a new ethereum network, using geth and PoA as consensus

I am trying to create a PoA private network using geth but I didn't find a good guide lines especially with the PoA addition. I couldn't get a definition and examples of the genesis block ...
2
votes
1answer
26 views

What is bzz protocol?

While studying about swarm, I came to know that every Swarm node exposes a local HTTP proxy that implements the BZZ URL schemes. What is BZZ protocol here?
1
vote
0answers
19 views

Error: cannot find module hdwallet-provider - trying to deploy contract to ropsten using infura key [duplicate]

I have reviewed the other posts in the last few days following what seem like forever for get to sync to my local machine - so this is my last try to get it to deploy the petshop contract to ropsten ...
1
vote
1answer
24 views

How the hashing of the block data ensures the data integrity?

In ethereum, as a node controller I can able to access the leveldb. If I try to modify some value directly into the db, the value of the new hash and the next block's parent hash doesn't match right ?...
1
vote
1answer
17 views

How do consensus vulnerabilities occur when parity nodes do not mien?

While familiarizing myself with Ethereum, I found multiple security alerts referring to consensus issues, most notable those that arose because the geth and the parity client handled certain edge ...
0
votes
0answers
12 views

Geth node returns to previous blocks

I have a geth node running since a couple of months ago and I've noticed a couple of times that it is synced correctly and suddenly, it starts syncing from previous blocks (let's say that the latest ...
1
vote
1answer
11 views

Error while generating Mnemonic

I want to generate Mnemonic for creating an account, I was using the following code and I got the error as TypeError: Cannot read property 'entropyToMnemonic' of undefined I am sure I am missing ...