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
votes
0answers
3 views

how much structure variable does solidity support?

Error: "UnimplementedFeatureError: Variable inaccessible, too deep inside stack" code: contract create{ struct s{ string s1; string s2; string s3; string s4; string s5; ...
0
votes
0answers
3 views

Connect to private chain remotely using JSONRPC

I started a private chain using below command geth --datadir "~/privatechain/node1" --networkid 1234 --port 11111 --nodiscover console --rpc --rpcport 8545 --rpcaddr 127.0.0.1 --rpccorsdomain "*" --...
0
votes
0answers
14 views

What are blockchain interview quesetions? [on hold]

What are some best blockchain, ethereum and smart contract interview question that I must know ?
1
vote
1answer
14 views

What is deployed smart contract address in solidity?

In remix IDE when we deployed the contract there is address on it. What is that address and what that address is used for? Like Ethereum account address is use for transaction and identify the user ...
0
votes
1answer
19 views

Does nonce same for all node?

Suppose in blockchain network we have 5 nodes and we have new transaction done by first node of network, so now rest of 4 node will mine the transaction to commit it in blockchain network, will the ...
0
votes
1answer
15 views

How merkle tree is used to verify transaction in blockchain

May any one give example how merkle tree is used in blockchain to verify the transaction? I confused because validation of data in ethereum is done through the proof of work where you find the nonce(...
0
votes
1answer
12 views

Geth expose eth.call only via --rpcapi

Need a way to open Geth publicly, but don't want to expose all eth methods. Need only eth.call. Using --rpcapi eth will expose all eth methods. How to expose only particular one?
0
votes
1answer
16 views

Miner address is all zero in block

I sent a transaction in clique POA private chain and get the block via transaction hash. Why is the miner address for this transaction all zero? step 1: send a transaction > eth.sendTransaction({...
1
vote
3answers
35 views

How data is secured on ethereum network?

Blockchain is distributed decentralized database and same data is present on every node on network so now anybody on the network can see my data, so how it is secured over blockchain network?
0
votes
0answers
18 views

How to prepare for blockchain interview?

I am learning blockchain and want to pursue my career on blockchain, so what will be the best way to do that? What certification I must do and what think I should cover? appreciate all your career ...
0
votes
0answers
9 views

Private chain access mode

I set up a private chain with 4 nodes.Two nodes are sealer, the others are normal ones. To send a transaction, need to attach one node and then send it. I think in this way, only one node is used to ...
0
votes
1answer
18 views

What happen when I format my blockchain setup PC? [on hold]

Suppose I have ethereum blockchain network setup in my PC and when I format my PC how I will recover my data? Normal in client server architecture my data doesn't depend on my PC whether I format or ...
0
votes
0answers
17 views

How use vscode to debug geth with breakpoints interactively?

I set up vscode enviroment and launch a node with launch.json: { "name": "Launch geth main", "type": "go", "request": "launch", "mode": "debug", ...
0
votes
1answer
41 views

The method eth_sendTransaction does not exist/is not available on infura

Im trying to send transaction to simple greeter contract with web3.js on infura node.while doing soo, Im getting this error. throw errors.InvalidResponse(result); ^ Error: The method ...
0
votes
1answer
20 views

signing transactions with web3.js

Im trying to create a node.js based dapp that interacts with ropsten ethereum network via infura node.here we need sign transaction with web3.js. but the code showing error from the contract side. ...
0
votes
0answers
8 views

clique 2 nodes stuck mining after outage for one of them

i have setup a network of 3 nodes, with 2 of them being sealers (clique) and a third one acting as a proxy. I know there should be an odd number of nodes to avoid split brain scenarios, but the goal ...
0
votes
1answer
42 views

Sending transaction with web3.js

I'm trying to use web3.js with infura.io to interact with my smartcontract. here is my simple greeter contract code pragma solidity ^0.5.7; contract greeter{ string greeting; function greet(...
1
vote
1answer
76 views

How to trim a string in solidity?

I have a function where one of its arguments is a string. How would I check the string for leading and trailing whitespaces and remove those characters? If i get something like this: " " => ""...
0
votes
1answer
24 views

Deploying contract using byteCode

In that example you can see, how to deploy a new contract having just ABI and ByteCode (uses for copy and deploy contracts from mainnet to your testnet for example). /****** Deploying new contract ...
1
vote
1answer
14 views

How to develop a new module in go-etherum like eth, admin, etc

For instance, the module is named "mymodule". It can be used in geth console and web3 like mymodule.funcA(),web3.mymodule.funcA(), Thanks
1
vote
1answer
28 views

Parity 2.2.7 doesn't recognize “registrar” or “eip150Transition” in the genesis file

I am trying to run a Parity client and sync it with a Geth private blockchain. I was able to do it at first, but after adding "constantinopleBlock", "byzantiumBlock" and "petersburgBlock" to the ...
0
votes
0answers
13 views

How to stop the update check for the mist in ubuntu

i'm deploying my private chain in Ubuntu16.04, everything works fine, and i can connect to the node by the command mist --rpc /geth.ipc,but when i have to connect the private chain and mist offline, ...
0
votes
0answers
19 views

How can I store the hash of a set of data in the ethereum and make the chain validated always?

I am working on a University Management System and I want to develop the system using Centralized Database like Mysql and to keep the data safe I want to use blockchain to store the hash of the data ...
0
votes
2answers
26 views

Load accounts to truffle

I'm using truffle v5.0.14 to handle my contracts. All was well while developing with ganache, but when I wanted to deploy to the real network (a private one) I have problems with the account. The ...
0
votes
0answers
19 views

Send transactions from any address (account) to a private ethreum network (PoA)

I am trying to send a transaction to a private Ethereum network (PoA) using an arbitrary address. However, the network is not accepting transactions from that address. Are there any method to unlock ...
0
votes
0answers
43 views

How to decode SHA256 hash value and retrieve data in Solidity

I am working on a project in solidity where i am encode a string to SHA256 hash value, and now i want to decode SHA256 hash value and retrieve the actual data. please help hoe to do it. Below is the ...
0
votes
0answers
19 views

Store data on ethereum blockchain from a text file

I have a simple smart contract running over a local Ethereum node. It has two functions: one for sending data and another for retrieving it back. I have a text file and want to send data from it to ...
1
vote
0answers
16 views

Geth Dump Has Been Running For A Week

For my project I want to dump the full state data of all Eth wallets/balances. I have a fully synced Geth node with all state data (over 2TB). I started a block dump geth dump 7300000 --datadir "/...
1
vote
0answers
11 views

“--ethstats” flag question

I want to set up POA privatate chain with two nodes and monitor the system usding eth-netstats. I saw the description about this flag: --ethstats value Reporting URL of a ethstats service (nodename:...
1
vote
0answers
13 views

Access tools remotely

I've got nodes running on VMs on Azure etc. Upon which I deploy stuff like blockchain explorers. The thing is that all these tools run client side via js, and they call the rpc endpoint via http://...
1
vote
0answers
20 views

ERC20 Token support for metamask website payment

I have the following code working in my site to accept ethereum payments in my website via metamask.... <!DOCTYPE html> <html> <head> <script src="https://cdnjs.cloudflare.com/...
0
votes
0answers
14 views

What are the similar network status monitor software similar to eth-netstats?

I'm trying to set up a network status monitor&management system on my private eth chain. For eth-netstats,how to customize the status items as wanted? I also want to investigate some similar ...
1
vote
1answer
41 views

How to calculate circulating supply for geth private network? [closed]

SUBJ. I have geth private network with custom reward progression and looking for a way to calculate circulating supply.
0
votes
0answers
26 views

“ SyntaxError: Unexpected end of JSON input” while interacting with smart contract using node instance

Im trying to interact with my smart contract using web3js. when i run js file using node instance i.e. node myfile.js Im getting error like undefined 1 SyntaxError: Unexpected end of JSON input ...
0
votes
1answer
21 views

Ethereum receipts blockid and hashes

Preface: The question relates to the relationship between the content of the Ethereum's receipts and the hash of the block header. Problem description: I wonder, in Ethereum, blockid is based on the ...
0
votes
1answer
18 views

Staking of coins

I have a question on staking of coins. Suppose there are 10000 tokens in a user wallet, and he wants to put 5000 tokens on staking for a certain time period (i.e That 5000 tokens should go to an ...
0
votes
0answers
22 views

How can I create an Ethereum blockchain fully with the change of the name geth wallet? [on hold]

How can I create an Ethereum blockchain fully with the change of the name of geth wallet? I have already created a private blockchain, but I don’t know what to do next, in order to own a full-fledged ...
0
votes
0answers
14 views

Service to show number of state entries for syncing?

When syncing a node it would be helpful to know (an estimate of) the number of state entries in the current state to assess how long it takes to finish syncing a node. Is there a website, service or ...
0
votes
0answers
14 views

Getting Started with Hosting a Beacon Node & Validator Client using Geth in a Cloud Provider

I am considering hosting a private Beacon Node & Validator Client with the 32 ETH requirement. I am able to build geth locally and feel I know enough to want to venture and offer my own node on ...
0
votes
1answer
20 views

Viewing transaction events by using web3 on geth console

According to https://web3py.readthedocs.io/en/stable/contracts.html#web3.contract.ContractEvents.myEvent web3 allows to extract the pertinent logs from a transaction receipt: tx_hash = contract....
0
votes
0answers
16 views

Deploy contract in geth, call contract functions using go, no errors and Variable has no value. However test in remix sucessfully

My contract in remix runs ok, and I use truffle to deploy the contract successfully. When I call a contract function to assign values to mapping through the contract address using go, both geth ...
0
votes
0answers
25 views

Posted byu/johnthemiler 5 hours ago Ethereum Wallet / Mist 0.11.1 Checksum error right after installation [duplicate]

You might be getting this question a lot, but I tried googling first and nothing works. I am trying to set up an Ethereum Wallet locally, but everytime I run the client I get the Checksum error, and ...
0
votes
0answers
22 views

Geth - blockchain remains on genesis block, miner node doesn't mine

When attempting setup a local private PoW blockchain, an issue is arising where instead of mining new blocks, Geth instead hangs on the first attempt to 'commit new mining work'. Between the two geth ...
0
votes
0answers
15 views

Mirroring public Ethereum blockchain to a private chain

I am working on tokenised securities space. Our plan is to run tokenised securities on a public Ethereum blockchain. There is an operational risk that public blockchain becomes unavailable and ...
0
votes
0answers
28 views

Is Geth v1.8.27 incompatible with Solidity 0.5.0?

I set up a private chain using geth v1.8.27, then deployed an erc20 contract in solidity 0.5.0 complied using the 0.5.7+commit.6da8b019 version of compiler. After the transaction was mined, I tried to ...
0
votes
0answers
24 views

Unable to interact with Smart Contract using Ethereum node Javascript console

I deployed a smart contract and to interact with that I've written Javascript. When I use loadScript('requestor.js') in my geth console I'm getting the following error Line 236 in my code is ...
2
votes
0answers
22 views

Does Geth store trace data for later calls (after full-sync with pruning + reexec)?

The wisdom is that having a full node is enough to reconstruct all past information the archive nodes keeps readily constructured, hence available faster. I was reading the Geth IceBerg 1.8 release ...
1
vote
1answer
26 views

Static difficulty in 1.8.27 for local network

I am having trouble getting geth 1.8.27 to have a static difficulty on a private network. I followed the instructions from here. But when I test it, the difficulty still increases. I tried again, ...
2
votes
1answer
22 views

GUI miners for Private Ethereum Blockchain

I have setup a multinode private Ethereum blockchain with geth. I am using geth miner (miner.start(thread) at geth console) for mining blocks but my other nodes users want to use GUI miner instead of ...
0
votes
0answers
17 views

AttributeError: 'list' object has no attribute 'buildTransaction'

Im trying to send a transaction to contract function with web3.py on ropsten testnet. while doing so, Im getting this error. AttributeError: 'list' object has no attribute 'buildTransaction' here ...