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
0answers
5 views

Transactions from multiple addresses to a single address in Ethereum

We are currently in the process of developing a payment plugin for merchants to accept crypto payments. We are currently generating a unique order for every order which is placed in the merchant store....
0
votes
1answer
9 views

Is geth account new and web3.eth.accounts.create the same?

For creating a new account, are these 2 commands the same or different? geth account new and web3.eth.accounts.create.
0
votes
1answer
11 views

Node lags behind 100 blocks, states are finished syncing

I run my geth node with the following command: ./geth --cache 8192 --syncmode full It has been syncing for a long time, and it looks like it has finished syncing: > eth.syncing { currentBlock: ...
0
votes
0answers
20 views

Linux Geth Mining: Stuck at Commit New Mining Work in private blockchain Offline

System information Geth Version: 1.8.20-stable Go Version: go1.11.2 Operating System: linux GOPATH= GOROOT=/home/travis/.gimme/versions/go1.11.2.linux.amd64 Genesis.json { "config": { "chainId": ...
0
votes
1answer
15 views

Unable to sign a message on geth Console

I have two accounts on my geth node . The geth node is syncing with the Ropsten testnet . I executed the following commands personal.unlockAccount(eth.accounts[1],'Test'); The result was true After ...
0
votes
0answers
19 views

2019 SPECS FOR RUNNING GETH FULL NODE

What are the specs for running an ethereum full node in Jan 2019? No fast flags as eth.blocknumber and some other methods needed. PLEASE NEED OFFICIAL ANSWER Thank you! I have a very powerful machine ...
1
vote
0answers
19 views

What filesystem should I use for geth and leveldb?

I used old LGA775 machine for running geth node. Its mobo has older sata 3gb/s (benchmark showed that ssd bottlenecked there) and only 4gb of DDR2, with windows installed. So syncing is a real pain ...
0
votes
0answers
10 views

ETH NODE Sync issue - It first syncs, then slows down and falls behind

Geth server Info: 6 cpus, 18gb mem SSD: 450 GB (42%used) Geth Config is below. So we have been upgrading our server one after the other to hopefully resolve this issue... We are supporting an ...
1
vote
0answers
21 views

Developer related changes to prepare for Ethereum hard fork - Constantinople

I am hosting my own ethereum node using geth and I have some simple dApps which make use of the web3.js library. I went through various documentations related to the hard fork, more specifically this ...
0
votes
1answer
17 views

Why does the Warning about Solidity come up?

# Why does the Warning come up? struct Owner { address owner; string ownerName; string petName; uint ownerprice; string petInfo; string petselltext; ...
0
votes
0answers
15 views

Get tx/s in a local testnet

I am using geth to create my local testnet. How can I get the tx/s in my testnet?
2
votes
0answers
15 views

Is it possible to tell which node broadcast a transaction?

If I host my own node and send my transactions through this node, can somebody see that my address sends transactions through my pseudo-anonymous node? Can someone set up a watcher that tracks all ...
0
votes
0answers
20 views

Balance from ethereum accounts on geth disappears

I have geth private network with 3 accounts A, B and C. each account has 100, 200 and 300 ether balance I connected to this network from Metamask and Transferred the balance of 50 eth from account A ...
1
vote
1answer
19 views

Connect different machines with PoA

i want to connect two different machines in a ethereum private network! I did it before with a normal PoW-Consesus but with PoA created by puppeth i cant see some Peers when i try: admin.peers ...
1
vote
1answer
23 views

Script with web3.eth.getAccounts() never ends

I have a little script just with the following function: const Web3 = require('web3'); var web3Provider = new Web3(new Web3.providers.WebsocketProvider('ws://127.0.0.1:3001')); const web3 = new Web3(...
0
votes
0answers
8 views

Ethereum Logs Geth Cyclic Logs [on hold]

I'm trying to create cyclic logs with GETH. For some reason, after I'm removing/emptying the file, the geth client node does not write the logs back into it. e.g.: geth --datadir $path --syncmode '...
0
votes
1answer
37 views

Transaction fails during smart contract deployment from Remix IDE, while i confirm the transaction from MetaMask

I am able to connect to private ethereum network and able to do the transactions from Metamask, but while deployment of smart contract from remix IDE, it launches MetaMask and i get below error while ...
0
votes
0answers
16 views

Problem peers in a cluster [SOLVED]

I have a cluster with 2 nodes and I would like to create a testnet by connecting them with geth. I am using the following command: Node1: geth --datadir node1 --port 30302 --rpc --rpcport 3003 --...
0
votes
1answer
21 views

Error: Please pass numbers as strings or BigNumber objects to avoid precision errors

let result = await instance.joinQuiz({ from: accounts[1], value: web3.utils.toWei(10, "wei") });
1
vote
1answer
18 views

ParserError: Expected identifier but got 'payable'

function getWinners() public onlyOwner { require (now > endQuiztime, 'Quiz did not end '); require (isReveal, "You didnt reveal Questions"); // calculate winner for each ques based on ...
0
votes
0answers
14 views

how to export that web3.admin api in external java Script code web3.admin api doesn't work in external JavaScript code

I'm trying to interact with a private blockchain from JavaScript code. For that I've provided an RPC address to each node and extended multiple apis using -rpcapi. Now if I'm using geth attach http://...
1
vote
1answer
23 views

GoEthereum getting public key from private key hex formatting

So I am trying to get public key in hex formatting. In some documentation I found the following will give public key from the private key, but it is not formatted correctly as I can see: publicKey := ...
1
vote
1answer
29 views

Solidity- calling function of a deployed contact from within another function

I am trying to call a function of an already deployed contract from within another contract. import "./TutorialToken.sol"; contract Sellers { TutorialToken _tt; constructor(address _f) public ...
2
votes
0answers
16 views

Ropsten Geth node consuming max CPU, RAM and DISK and geth logs show “Failed account unlock attempt”

I have been running a Geth node on Ropsten for the past couple of months and it has been running fine; all my transactions go through and it hasn't been too heavy on the system resources either. I use ...
1
vote
1answer
39 views

What are the benefits of ethereum 'archive' sync mode and who should use it?

We have set up a private Ethereum node for our blockchain application connected to the mainnet. The node runs on a server with 2TB SSD, 4 CPU and 6GB memory. It's been syncing for about a week and is ...
0
votes
2answers
19 views

i am trying to send ether to a list of addresses from backend

Below are few lines from the contract in which I am basically trying to send some ether to an array of addresses. Now, when can run this code in remix solidity by replacing "value" to "msg.value". But ...
0
votes
0answers
28 views

What is use of absolute Path on Json file of a Smart Contract?

What is the use of absolutePath on JSON artifact of a Smart Contract? Does this mean we need the .sol file on the same server where web3.js apis are running? { "absolutePath": "/home/hashcode01/...
1
vote
1answer
30 views

how to upload file into ipfs from node js without uploading files into node js server [on hold]

I need to upload multiple files into ipfs from node js. Flow: file(html,angularJS) --> node.js --> IPFS --> ipfs hash save into DB. I have sent a file from HTML(angularJS) and I got the ...
0
votes
2answers
49 views

How to Test Smart Contracts [closed]

enter link description here I built this contract you could help me test it
1
vote
0answers
32 views

PoA network with half million blocks, sealers stopped

System information Geth Version: 1.8.17-stable Git Commit: 8bbe72075e4e16442c4e28d999edee12e294329e Architecture: amd64 Protocol Versions: [63 62] Network Id: 1 Go Version: go1.10.1 Operating System: ...
0
votes
1answer
36 views

Syncing problem while interacting with multiple nodes

I have private network running on two nodes. First node is aws instance and second is on my own computer with graphics card. Second node is much more powerful. When I create contract on first node(aws ...
2
votes
1answer
30 views

How an Ethereum Node stores data?

How an Ethereum client stores the blockchain data in the disk? I know two of the major Ethereum clients is go-ethereum and parity, so I'm also asking if they store data in a different way or if there ...
0
votes
2answers
18 views

Web3 js APIs Installation Requirements

If I am using Infura Node interact with smart contracts. And I want to build/setup web3 apis on a ubuntu machine on AWS. Do i need to install truffle on that machine or just node.js and web3 is enough?...
0
votes
1answer
15 views

run multiple parity clients in parallel

How can I run multiple parity instances on one machine? With geth it's easy. I just have to set different --port numbers. What's the equivalent for parity? I want to recreate Afris scenario.
0
votes
1answer
36 views

How does Ethereum Smart Contract work on Mobile Client

I want to deploy a smart contract on server and interact with it using mobile client. I'm not familiar with how does that work but after some research, I found something like below: If we compare ...
0
votes
0answers
15 views

Geth blockNumber is zero even if synced [duplicate]

I have installed geth and I'm trying to launch geth console: geth --rinkeby --datadir "D:\eth" console 2>> ./rinkeby.log Which starts as: instance: Geth/v1.8.16-stable-477eb093/windows-amd64/...
0
votes
0answers
22 views

Ethereum synchronization is no longer in progress. I need help

The Ethereum node I have is not syncing. The version of geth I have is as follows. instance: Get/v1.8.20-stable-24d727b6/linux-amd64/go1.10.4 Coinbase: 0xab259c71e470422516a8f9953aaba2ca5a585ae at ...
0
votes
1answer
15 views

CORS Issue when using RPC with 2 docker containers

I currently have a setup with two docker containers. The first container, peerA, has a private ethereum network running a single node. The second container, web-app, has a web application that uses ...
1
vote
0answers
15 views

geth console - web3.isConnected function and not a function?

I am trying to find out if my node is connected. So I attach geth via geth attach in another terminal. But if I run web3.isConnected it returns function(). But when I run it as a function web3....
1
vote
0answers
13 views

Syncing events history for specific addresses, possible?

I am writing software that needs the full history of events but I only need it for a certain contract address, which I would guess is a very common use case for app developers. Is there a way I can ...
0
votes
0answers
22 views

sending ether Transaction failed when executing multiple transaction

I am sending ether to an array of addresses. I am getting the nonce value from eth_getTransactionCount. But problem is that the first transaction is successful but for the rest of the transactions are ...
1
vote
1answer
18 views

is data structures necessary for a blockchain developer?

I want to know if i had to study data structures and algorithms for being a blockchain developer or a smart contract developer
2
votes
1answer
24 views

goethereum getting publicKeyBytes from given public key

Trying to follow this documentation on verifying a signature: https://goethereumbook.org/signature-verify/ Where I am a bit confused is this line: publicKeyBytes := crypto.FromECDSAPub(...
0
votes
0answers
29 views

How to `truffle migrate` to private permissioned network?

I am running a private permissioned network and would like to use Truffle v5.0.1 for deployment. I use it according to the documentation: Compile my project with truffle compile so that the ./build ...
0
votes
0answers
36 views

Hard fork details: peering, propagation, block building

Some questions regarding the upcoming fork and hard forks in general: Will clients running the new version of geth be able to peer with clients running the old version? If they can peer with each ...
1
vote
0answers
21 views

Transaction submitted through Infura, but not from local node

So, I have a Rinkeby fast sync on my server. When I try to interact with my contract and transfer something, geth says "Submitted transaction", but then I can't find it using its hash on etherscan. ...
0
votes
0answers
13 views

geth created no password account , unlock account “wrong password”

I am using geth window x64 1.8 and also i am using api to call EthereumClient PHP create account. I did't pass any "member_id" to set the password. But the address was encrypted. Please Help!!! My ...
0
votes
3answers
30 views

Dynamically create smart contract structure based on user input

I would like to create a smart contract based on user input. User would provide some information/data from the UI, and based on the information provided my smart contract logic would get defined, and ...
1
vote
0answers
22 views

How to interpret 'peer discarded announcement'?

I am having an private ethereum network consisting of 49 geth nodes running in docker containers. All geth nodes are miners. My topology is following: it's a tree with one root and having 48 leaves. I ...
0
votes
1answer
31 views

Private ethereum network account related query

Please help with below queries: how to reset the paraphrase for an account on private ethereum network Is there a way to delete an account on private ethereum network How to enable the etherscan url ...