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.

0
votes
0answers
7 views

Solidity/Truffle - Suddenly getting TypeError on Migration file

Suddenly getting an error when doing a truffle compile --reset - even though I didn't make any code changes on my Migrations.sol file. TypeError: Name has to refer to a struct, enum or contract. ...
0
votes
0answers
4 views

mining with 2 Radeon RX580 and an msi tomahawk B350 on ubuntu

does anyone have exerience with multiple GPU Radeon RX580 and an msi tomahawk B350 motherboard? I can't get both GPU RX580 to function.. :(
0
votes
0answers
12 views

Transfering funds from a contract address to a list of winners [on hold]

I'm building a competition dapp where user has to pay to the contract to participate and I want to send the collected funds to 3 winners. How can I do so in a smart contract.Help
0
votes
1answer
15 views

How do we extract the content of a hash manifest generated by swarm after a download?

As far I know, whenever we upload a file or a directory using: swarm up File we get back a hash that is the manifest containing the uploaded file. However, I am not sure I do understand how to ...
0
votes
0answers
5 views

If I want to run ETH Net stats on HTTPS server. What steps should I follow? And What changes are needed in ETH NET stats app.js file?

I already include the self-signed certificates in the app.js file of ETH stats net. I can see the dashboard but the values are not changing. It's showing zero and no process is happening. I am not ...
0
votes
1answer
12 views

Connecting Metamask to geth

In here it's said we need to run below command line to let Metamask connect to geth: geth --rpc --rpccorsdomain="chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn" I'm running a private ...
1
vote
1answer
19 views

Geth v1.8.21 slow syncing on archival node

Geth Version v1.8.21+bionic - stable Machine - 16GB Ram, SSD, i7 processor I'm currently in the process of syncing a full archival node on Geth. Up until recently the chain was syncing fine, around ...
0
votes
2answers
19 views

Integration of smart contact with frontend using web3js

I had been long searching methods fro integration my smart contract with my frontend. Then I came across web3.js but couldn't find any specific method is to how this system is working.
1
vote
1answer
28 views

What do I do about my Ether since the 2019 Constantinople upgrade has been postponed?

With the last minute postponement of the 2019 Constantinople upgrade. What do I do about my stored Ether? And what software do I need to upgrade to if I am running Geth or Parity?
0
votes
2answers
22 views

Use private ethereum blockchain for storing data [on hold]

I am new in ethereum blockchain technologies. I have some question that Is possible to use ethereum blockchain to store data (Like MySQL)..??? If yes... (for first question) have any documentation ...
0
votes
0answers
26 views

How to prevent DDOS in ethereum using PoA?

Using clique, how to prevent DDOS attack? Is there a way to set a whitelist of nodes which can send transactions, and blacklist all the others?
0
votes
0answers
12 views

What is the role of the Geth ipc socket in a web3.js connection?

I started Geth as a root and try to run node.js with the rights of the group www-data. When node connects to Geth all is fine but transactions throw ... (node:27824) UnhandledPromiseRejectionWarning: ...
0
votes
0answers
17 views

How do I collect addresses submitted by users for an ERC20 token airdrop? [on hold]

I'm planning on conducting an airdrop for 30,000 to 50,000 people, the site is ready, the executive summary, the whitepaper, the budget is set and the only thing i need to know is how to save the ...
1
vote
0answers
30 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
15 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
15 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
23 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
30 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
24 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
11 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
26 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
18 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
24 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
24 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
24 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 [closed]

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
40 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
1answer
19 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
25 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
22 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
15 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
24 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
31 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
26 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
44 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
34 views

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

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 ...
1
vote
0answers
36 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
31 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
16 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
37 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 ...