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
12 views

Issue trying to mine solo with Geth and ethminer

I am trying to use ethminer in combination with Geth to solo mine with GPU, but ethminer fails to get work. Here is how I do. Geth is running in full sync mode and seems to be properly synchronized ...
1
vote
2answers
12 views

Syncing with Mainnet/Ropsten blockchain

If use gethcommand,then the node starts to sync with Ethereum Mainnet by default.If usegeth --testnet --networkid 3 --datadir <testnetdatapath>,then the node will connect to Ropsten. How does ...
1
vote
1answer
12 views

Starting multiple private network in one computer causes Fatal: Error starting protocol stack: Access is denied

Question: How to fix Fatal: Error starting protocol stack: Access is denied? Here is the steps that I try: geth --datadir block1 init /d/nodes/_ethereum/genesis.json geth --datadir block1 --...
0
votes
1answer
13 views

Access private blockchain from another PC/Laptop?

I have private block chain on my PC.The private blockchain is configured and deployed using geth. I want to connect to that blockchain from another node(my laptop) to access the smart contract ...
1
vote
0answers
11 views

Geth RPC send_transaction error -32000

How do you calculate how much gas to use in a send_transaction? Amount: 0x670479cb5385800, // (decimal: 463949500000000000 wei 0.4639495 eth) Gas price: 0x6ddd00 // (decimal: 7200000 wei) Gas: ...
0
votes
1answer
16 views

Golang binding - call contract method and get its return value or tuple?

Suppose i have contract like: pragma solidity ^0.4.11; contract MyToken { uint256 a; function SimpleGetter() returns(string) { return "something"; } function DoTheGreat(address _to) ...
1
vote
1answer
11 views

CUDA device Quadro K620 has insufficient GPU memory

I am new to Ethereum and wanted to clarify whether mining is possible if the graphics card has below the required amount of stated memory and it is part of a mining pool? I use ethminer and the ...
0
votes
1answer
30 views

Converting int to default block parameter

I am using Infura and web3j to query the Ethereum blockchain. My aim is to get information about certain blocks so i'm using the function web3.eth.getBlockByNumber, however it gives me incompatible ...
0
votes
1answer
15 views

How do I check the Ethereum balance and unique transactions count of a Smart Contract over a period of time?

Basically I want to be able to track smart contracts balance and unique transactions over a period of time such as , last 24hours, last hour and so. What would be the best approach into doing this? ...
0
votes
0answers
11 views

web3j unsubscribe not closing thread - Java

Web3j unsubscribe function is unsubscribing the events from listening but the thread is running and not destroying in java.
0
votes
1answer
18 views

Lightest node capable of returning transaction information from RPC managed wallet?

I tried to run a Geth light node, but it seems I can not retrieve transaction information from the RPC server. I'm not sure whether that's a limitation of the light node, or rather me not retrieving ...
0
votes
0answers
9 views

How do Light client retrieve old Tries?

Looking at https://github.com/ethereum/go-ethereum/blob/b7bbe66b19fb19b95053977586e619a40478a7d8/les/fetcher.go#L37 It seems if a Light client is trying to retrieve a Trie which is part of a block ...
0
votes
0answers
7 views

Security Tools for Geth [on hold]

I have one question, Exist some tool to determine if my blockchain created with Geth is secure? or how can i prove it? Ty, for all the responses.
1
vote
0answers
8 views

Wallet files in a Dapp

I am developing an application from the truffle webpack and I have created my own wallet, adding my account to a json file: $.getJSON('../wallet.json', function(data) { var password = "xxx"; ...
1
vote
1answer
23 views

Can't call a function in a contract, returning something from another contract

I use private geth + web3js (in truffle this works good) Here is an example worked as expected: the first contract: pragma solidity ^0.4.24; import "./Second.sol"; contract First { Second ...
1
vote
0answers
16 views

Total number of state entries

I am syncing my ethereum blockchain using the default syncmode. I want to know how many total state entries are there because currently the highest block is 6544578 and the number of pulled states i.e....
0
votes
0answers
7 views

ppa package and enode ip

i follow ethe main website and install go ether through ppa repository now i can only find a bin file in usr folder for ubuntu! is this only this for that package? when i run these two instruction ...
0
votes
1answer
24 views

Geth ecrecover function returning '0x'

can someone help me with this ecrecover issue? The code below is a truffle test. The recoverSigner function just calls ecrecover, but the return is always '0x'. Recovering with ethereumjs-util works ...
0
votes
0answers
9 views

Fatal: Unable to attach to remote geth: dial unix /home/deus/.ethereum/geth.ipc: connect: connection refused

I am getting this error. Geth is already running. Please help.
0
votes
1answer
15 views

How to understand output of debug.trace

I have created a Private Ethereum network and I have deployed a contract in it.. Now I am trying to post a transaction in that contract but I m getting error that transaction has been reverted by EVM ...
3
votes
2answers
24 views

Transaction ordering in proof of authority

How do nodes decide on the order to execute transactions in a blockchain? In decentralized computation the order of transactions is a big deal. For many smart contracts, the sooner a transaction is ...
1
vote
0answers
13 views

What happens if a Rinkeby node makes a bad block?

On the geth Rinkeby testnet, how does the rest of the testnet respond if a Rinkeby node makes a bad block, or a block that contains: No transactions Transactions that may have been included in a ...
0
votes
0answers
15 views

how to setup hybrid PoW+PoS or PoA private network (geth)

I am aware about PoW and PoA setups of ethereum private networks but would like to know if anyone could help or point me the direction how to setup a hybrid PoW + PoS or PoA ethereum based blockchain. ...
0
votes
0answers
13 views

Invoking the smart contract [duplicate]

how can i tell the EVM that only a few accounts in the network can invoke my smart contract.. for example in voting solidity code i want only a few accounts of my network to cast their vote.
0
votes
0answers
16 views

Issue with setting up web3 js connection with multiple ethereum nodes

I have setup an Ethereum network with 2 nodes - A and B. I deployed a contract on both the nodes. What the contract does - mapping(uint=>string) Record; function addRecord(uint id, string ...
0
votes
1answer
15 views

Deploying using Truffle unbox

The following code is taken from truffle unbox initContract: function() { $.getJSON("adding.json", function(addingdappfrontend) { App.contracts.Add = TruffleContract(...
1
vote
2answers
65 views

Constantinople fork: my local Ropsten is not on the same branch of Etherscan

With the Constantinople fork few days ago (Oct 2018) my local ropsten node is not the same as Etherscan. I have geth 1.8.3-stable my node: block hash of 4248333 is 0xb24b6a6... ropsten....
0
votes
1answer
14 views

Truffle test error: deducts the amount from the allowance

What i did first was watching at Dapp university tutorials, I manage to watch all 14 videos and run it with Ganache. But since everything is doing good at local, I created my own private network. Then....
0
votes
0answers
19 views

new blocks not appended at the end of chain after restart

I run a private testnet with Geth v1.8.17. At the moment only one node is connected and is constantly mining. Most blocks are empty but some contain transactions. After I let the miner run for a few ...
0
votes
0answers
12 views

what does memory[0x00:0x00] means?

I see a pseudocode : memory[temp3:temp3 + 0x00] = address(temp0).call.gas(!temp4 * 0x08fc).value(temp4)(memory[temp3:temp3 + 0x00]); what is the memory[temp3:temp3 + 0x00] means? I just know like ...
1
vote
1answer
27 views

Deployed Smart contract methods are not updating the value when restart the geth instance.Why?

Started Geth using following command geth --identity "testpvtnode" --rpc --rpcport "8545" --rpccorsdomain "*" --datadir <pvtnetdatapath> --port "30303" --rpcapi db,eth,net,web3,personal --...
0
votes
0answers
13 views

changes in web3.js file is not impact in make geth

I would like to customize the ethereum private network. I would like to have one option that is eth.getBlockCount similar to eth.getBalance. I modified the web3.js file inside deps folder of ethereum ...
0
votes
1answer
13 views

Is it available to have an application that is managed by single Entity?

If For example Entity A wants to build a smart contract that manage a group of devices. But since each device uses pseudonym and he may change it later, is there any way to build the contract such ...
0
votes
1answer
24 views

Ethereum web3 filter not found

I have a bug listed in many places: Error: filter not found when using a filter with web3. from https://blockone.thomsonreuters.com/docs/ It's important to note that, if you're using web3's watch ...
1
vote
0answers
11 views

Not able to Get the response from the function call from Node Js Service Using Web3@1.0.0-beta.36

I am deploying two contracts A and B using Web3(1.0) and solc. My Solidity file looks something like this: pragma solidity ^0.4.21; contract A { uint public value; constructor(uint newValue) ...
0
votes
0answers
15 views

How to restrict what contracts can be called within a Geth PoA network?

We would like to bootstrap a geth-based cluster. There are two things we're unclear on how to achieve: Parity allows to have dynamic Validator Sets - eg to close the "split-brain" gap between smart-...
0
votes
1answer
20 views

How to use infura with web3 to talk to remote ropsten node?

I understand we need mnemonic as we did use it in deploying contract with truffle so as to be able to send ether from our ropsten account private keys. I could not find a way use the same in my server....
0
votes
1answer
18 views

How to View All Properties and Attributes of a Token

I am new to Ethereum and have done the basics like go to Etherscan to view token contracts, but I'm curious to find a way to learn more about a specific token. The one I'm interested in is PumaPay. In ...
0
votes
0answers
16 views

Geth: automatization of addPeer

I have a private PoA network with 3 geth nodes, i connect them using addPeer and create p2p network, each node is connected with the rest of them Now i want to create a bigger network, with 20 nodes, ...
2
votes
1answer
30 views

Isolating the EVM and calling contracts functions

For a project of mine I would like to run a standalone new EVM with precise specifications. After having instantiated and set up the vm, I have a deployed a test contract using the vm « Create » ...
0
votes
1answer
50 views

How to interface with a deployed Ethereum smart contract?

I want to create an interface to interact with my smart contract. I have got an example from the following link. Counter Before implementing my contract, I have tried to use the given example.But it ...
0
votes
0answers
16 views

How can I implement Multisig functionality using Golang? [duplicate]

I found some code to implement for Multisig using Solidity, but I wanna use only Golang. Is it possible?
1
vote
1answer
40 views

Get time when the transaction was included in your node

Is there any way to obtain the time when you have received a transaction? I would like to know when is a Smart contract included in my node. (local testnet)
0
votes
1answer
19 views

how to get previous transaction history for a particular address web3js1.0.0 [duplicate]

web3.eth.getPastLogs({ fromBlock : 3150168, toBlock : 3153168, address: "0xAD08C190Ed643ec60afBbAEB2E284F616F3C3b43", topics: [topics] }) .then(result=>{}) .catch(error=>{}) how ...
0
votes
1answer
28 views

How to retrieve transactions' info such as gaslimit and gasprice from Etherscan?

This link shows the latest 500k transactions, and by clicking each one it opens a page with its info including gaslimit, gasprice, usedgas etc. https://etherscan.io/txs How can i retrieve the ...
1
vote
1answer
24 views

How to view and access the smart contract deployed by some other node in the Private Network?

If First node in the private blockchain deploys the contract and second node in the network wants to request data from that contract, then how the second node will send request to the smart contract?
0
votes
0answers
19 views

Issues with Ethereum private network (with mining and gas limit)

I setup a private Ethereum node, but still see issues: Mining almost always does not work.I keep getting messages - "Generating DAG in progress" and saw a msg: INFO [10-12|09:07:59.735] Block ...
0
votes
1answer
12 views

Geth Contract Deployment Error : Contract transaction couldn't be found after 50 blocks

I have created a private blockchain and tried to deploy a simple contract on blockchain. But the deployment throws the following error - Error sending/minig the transaction: { "message": "...
0
votes
0answers
39 views

Geth known states - October 2018

I'm in the lengthy process of syncing a full Geth 1.8.15 archive node. As expected it's taking a long time, I admit the host machine is weak but I think it can handle the task with a 115Mb/s read ...
0
votes
2answers
24 views

why geth.log too large

geth.log is 84.73GB, so that mobile phone complains no disk space left. Would the geth.log be mandatory to generate?