Stack Exchange Network

Stack Exchange network consists of 175 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
10 views

How can I recover the path to a specific transaction in the tx patricia merkle tree?

I'm working on a project where a non trusted entity is running an ethereum node (either geth or aleth), and has to pass information along to a non networked party. Namely, the non networked party ...
0
votes
1answer
9 views

How can the smart contract auto execute the function in the private chain?

I know currently, we can use the Ethereum Alarm Clock and Aion scheduling system to execute the function automatically, but according to what I know, it only can work in Main Net and Test Net(Rposten)....
1
vote
1answer
8 views

Can ganache-cli connects to another ganache-cli?

Is it possible to create a private network using ganache-cli? Can a ganache-cli running on port 8545 connect to ganache-cli running on port 9545? Can we use ganache-cli as a node? Or it is a ...
0
votes
0answers
4 views

Is there any opensource Ethereum wallet which supports NFC?

Looking for Ethereum wallet with NFC(Near field communication) Support. Please let me know if there is any opensource app.
0
votes
0answers
14 views

How to use 'geth attach' with Infura?

I have a project in Infura and the project ID is 6f...3a. I'm having problem to start geth attach process with Infura. I tried all protocols (http, https, ws and wss) but all failed. Did I miss ...
0
votes
1answer
22 views

CREATE / CREATE2 Verification

Where do I verify whether a contract has been created with CREATE or CREATE2, would I have to disassemble the contract and look for a CREATE2 opcode in the contract creation code?
0
votes
0answers
10 views

how to make geth light node connect to local full node

In my computer i have 1 full node, my full node is running using: geth --syncmode full --ws --wsport 8546. Is there anyway to create a light node to connect to that full node on the same local network ...
1
vote
0answers
13 views

Transaction sent from web3 cannot reached all transaction to network node

I used one node endpoint to interact with the network. While sending a transaction from web3.js 0.20 to ethereum network, transaction per second (TPS) I achieved is only 28 TPS. I have configured the ...
1
vote
0answers
24 views

Smart contract will not deploy to my private blockchain when using Remix IDE

So I'm a complete newbie and trying to deploy my first smart contract to a local Ethereum blockchain. I'm doing this on a Windows machine. I have created a private blockchain using geth, made an ...
0
votes
0answers
16 views

Blockchain-related Research Topic For Thesis [on hold]

So I'm about to start writing my M.Eng. thesis in a month and I would like to angle it towards a challenging topic related to blockchain technology. I'm passionate about security, smart contracts, ...
0
votes
1answer
17 views

Custom miner checks in a private chain?

I have used the ideas from the link [1]How to make miner to mine only when there are Pending Transactions? in my private chain. I have a couple of questions, - How can I add custom code on the miners ...
0
votes
0answers
19 views

are current ethereum opcodes prices in pyethereum updated?

I am not an expert in opcodes for Ethereum, but i am wondering if their prices here [https://github.com/ethereum/pyethereum/blob/develop/ethereum/opcodes.py] are updated as the latest version used by ...
1
vote
1answer
41 views

Empty value (0x) returned from contract web3j

I'm trying to deploy a very simple contract on Windows 10, using Web3j 4.2.0. I've created an account using Mist. I've set up one local ethereum node (using geth) on my machine and I'm able to deploy ...
1
vote
1answer
16 views

reverse crowd sale possibility

Is it possible to do a reverse crowd sale? e.g. send tokens to a smart contract to get ether back. Or would this require to load the contract with WETH or something in advance?
5
votes
1answer
26 views

What is WETH and why can't we just use ETH?

can someone explain why we need WETH? what's the purpose of WETH, can't we just use plain ETH? it's not like it removes the tx fees or something. Hopefully someone can shed light on the concept.
0
votes
0answers
36 views

ETH wallet error

I want to download the ETH wallet and make light synchronization on my PC. I downloaded ethereum wallet, but after launch, the Checksum mismatch in downloaded node crashes! MD5: 308 ... Please install ...
1
vote
2answers
26 views

Decentralized Exchange on Ethereum?

Is a decentralized exchange basically a smart contract that includes all the exchange functionality? Where is the engine?
0
votes
1answer
24 views

web3.js - cannot interact with smart contract

I want to write a simple js script. I follow many tutorial available from Youtube, forums and website but i seem that i cannot interact from the smart contract. i can interact it from remix. btw the ...
1
vote
2answers
20 views

Constructor should be payable error on adding money

pragma solidity ^0.4.17; contract supplyChain { address public state; uint public unitCost = 10; uint public totalAmount = 0; function supplyChain() payable public{ state = ...
0
votes
0answers
24 views

How to create an ethereum private network with proof of authtority without gas cost or gas price zero?

I want to create a private network but I don't need to use ether or gas, only I want to run smart contracts and the blockchain using ethereum technology. I find this tutorial Private proof of ...
0
votes
0answers
17 views

Facing issue in starting geth client

I am using geth client(private network). When I try to start my network it shows "segmentation fault". Can you guide how to solve this issues? go-ethereum/build/bin/geth --mine --nodiscover --...
0
votes
1answer
28 views

invalid opcode “0x1c” during smart contract method execution

I have written a smart contract to test event from java project using web3j I have prepared the web3j wrapper java class using solc compiler version "0.5.7+commit.6da8b019.Linux.g++" I am using a ...
-2
votes
0answers
14 views

I'm unable to use web3 here? [closed]

ethereumJS = require('web3') [Function: Web3] ethereumJS = require('web3') [Function: Web3] ethereumJS = require('web3') [Function: Web3]
0
votes
1answer
17 views

Truffle Ropsten Deployment Issues

I just made some updates to my contracts and tried to redeploy them - but I'm getting this message, over and over again. Its not even attempting any of the migrations - it just goes right to this ...
1
vote
1answer
26 views

Ethereum Game design idea

Is it possible to write emacs dunnet game in solidity? Not that there is any reason for the game to be on a blockchain, it is for a class assignment. I tried 2048 game. But it seems to have some ...
0
votes
1answer
12 views

Parity - Permission Denied, Cannot write version file

I am trying to run a Parity daemon. Here is my shell command: sudo parity --db-path . --port=20000 --ws-port=20001 --jsonrpc-port=20002 --jsonrpc-apis web3,parity,parity_accounts,personal,eth daemon ...
0
votes
1answer
22 views

How to retrieve “contract creation transaction” info for a particular contract using Etherscan API?

Assume i have the address of a contract, and now i would like to retrieve the information for its creation transaction. I used getCode(), but return bytecode for the contract, which is different. If i ...
1
vote
1answer
39 views

Error set address/adding data, error: “gas required exceeds allowance or always failing transaction and the function doesn't work”

I'm trying to do a data access control system with smart contract. I have 3 entity: Client: who can get data and set address of Oracle Oracle: who can add data and have getData() function RBAC: Role ...
1
vote
4answers
25 views

Sync status of ethereum node

I have a four node setup and have get method in smartcontract to get the status of certain application. Currently the api invocation is happening at any node ( any of four nodes). For example if one ...
0
votes
1answer
21 views

Issue when trying to start a private chain on aws

I am getting this error since today. Till yesterday everything was working fine but now when i use the same command to start a node im getting this weird error "flag provided but not defined: -...
2
votes
0answers
19 views

Ethereum - Exporting Accounts/Balances from full node

I have a Ethereum full node that I will be using to take a snapshot for an airdrop for a project I am working on. The node is running and syncing. The issue currently is that there doesn't seem to ...
0
votes
1answer
17 views

Soldity RNG threat comparison between Tron and Ethereum

Would a function such as the following: function random(bytes32 seed) internal returns (uint) { nonce++; return uint(keccak256(abi.encodePacked(now, msg.sender.balance, nonce, block.coinbase, ...
3
votes
1answer
158 views

Error: account unlock with HTTP access is forbidden when unlock an account in Geth console

personal.unlockAccount(eth.accounts[0],"") Error: account unlock with HTTP access is forbidden I run Geth in a Docker container and use docker exec -it bootstrap geth --datadir=~/.ethereum/...
0
votes
0answers
9 views

When enabling Clique consensus, I get status 0x0 Transaction mined but execution failed

When enabling Clique consensus and try to deploy a contract using Remix, I obtain this error; status: 0x0 Transaction mined but execution failed Any idea? FYI, I am creating a private network ...
3
votes
0answers
64 views

VM revert on Scalar Multiplication in pre-compiled contracts

I tried to build a wrapper around the precompiled contracts as follows: https://gist.github.com/AlexXiong97/9c24bbd4541323a61fa63100860a5f89 If you paste it into Remix and deploy it, inputting any (...
0
votes
0answers
12 views

Can't catchup with Mainnet

16GB Linux, 512 GB SSD, mainly started for RPC purposes only. No mining activity. geth --datadir ./data --syncmode fast console --rpc --rpcport 8545 --rpcaddr "0.0.0.0" --rpccorsdomain "*" --rpcapi "...
1
vote
0answers
22 views

How to sign transactions offline via geth for a specific chain?

Is there a way to sign a transaction to be accepted on a specific chain? In other words, if I want to sign an offline transaction via geth, say 0.5 eth from external address A to external address B, ...
0
votes
0answers
5 views

How to connect Geth Ethereum node to DApp Status [on hold]

I want to connect the Status Dapp to raspberry pi through geth ethereum node. Is there a way? Can anyone explain the process step by step? Thank you!
0
votes
0answers
13 views

Geth: admin.peers is empty array (another one!)

I have initialized two nodes on my local machine (Mac OSX) using the same genesis.json file. Node 1 started with: geth --datadir $ethereum_home/test --nodiscover --networkid 1234 --rpc --rpcaddr "...
0
votes
0answers
12 views

in what file and location using the algorithm Keccak1600 when checking the hash of the blockchain

help to find a file in Geth for ETH mining? https://github.com/ethereum/go-ethereum 1.In which places (go files) Sha-3 header is checked during mining. 2.in what file and location using the algorithm ...
0
votes
1answer
21 views

deploying simple contract on quorum 7nodes example

I am trying to deploy contract with privateFor tag in migration and for set function same as shown in truffle quorum 7node example. started nodes with these commands ./raft-init.sh ./raft-start.sh ...
0
votes
1answer
18 views

Find word in string solidity

How is it possible to look for if a certain word is part of a string in solidity? let's say someone upload a string to a smart contract, this string must contain the word "solidity" to be accepted by ...
1
vote
1answer
7 views

How do I list the running nodes with geth?

Is there a way to list the all nodes on my computer with geth command line, and maybe even see some status for them? (I'm new to go-ethereum, apologies if this is a noob question, but I cannot quite ...
0
votes
0answers
27 views

How to send a value from interface to smart contract function

I have the below contract to create document details: pragma solidity ^0.5.0; contract Documents { struct Document { uint256 creationDate; uint32 documentCreationTimestamp; ...
-2
votes
0answers
17 views

hello!! help me please start open-etereum-pool with progpow miner!

i have working pool standart dagger-hashimoto! find block with ethminer 18 version. but my genesis file after 100 block change algoritm on the progpow: { "config": { "chainId": 55555, "...
0
votes
0answers
6 views

Is there an RPC command to get the block header (or just the hash) directly from a light client?

I'm not sure if this is possible, but I would like to use a geth light client to make sure that my parity node is on the same chain as geth (in case one of the two implementations introduces a bug ...
0
votes
0answers
7 views

Quorum Geth block chain data uses multiple files for storing chain data or only one file(000002.ldb ) whatever is chain size

If blockchain size grows, does quorum adds more files to /geth/chaindata/ folder or number of files remain same. If i have to check the size of etherum/geth folder, can i enumerate all files and get ...
0
votes
1answer
14 views

RPC 's SendRawTransaction(increased nonce) many times ,only the first transaction in block

I am using infura node (rinkeby), php. There are 3 transactions I signed with custom nonce (like the solution here) then broadcasted them by sendRawTransaction and succeeded. After above I get 3 ...
0
votes
1answer
18 views

Use Ledger Wallet as etherbase for mining on private network

I would like to use my ledger as the wallet that will validate blocks on a private network with a geth client. I can have access to my ledger account from geth. But i can't start the mining process. ...
0
votes
0answers
16 views

Unable to Synchronize raspberry pi node my private network

I have created a private network with 3 nodes - two nodes in computer and one in raspberry pi I connected computer and raspberry pi to same network through LAN computer ip: 192.168.122.1 pi ip ...