Questions tagged [go-ethereum]

Go Ethereum (short: Geth) is a Golang implementation of the Ethereum protocol.

Filter by
Sorted by
Tagged with
1
vote
2answers
27 views

Where are the smart contract accounts stored in geth?

I have a single geth node running a private blockchain with a network ID N and data directory data/. I had deployed a smart contract ContractName on the same and things were working fine. I wanted to ...
1
vote
1answer
33 views

How does NONCE prevent a replay attack in case of knowing NONCE value?

I have a question about a nonce in the Ethereum network. I understand that a nonce helps to prevent a replay attack, but there is one particular part that I don't understand. I have applied my ...
0
votes
0answers
10 views

Geth: How to debug an “invalid sender” error?

I am sending transaction to a private, local, instance of geth. I run geth using ./geth --rinkeby --syncmode fast --rpc --rpcaddr 192.168.229.132 --ipcdisable I am using web3.js to send signed ...
2
votes
0answers
27 views

Does Ethereum support just bilinear pairing calculation not the pairing check?

I need to implement bilinear pairing calculation on my contract. Specifically, I have uploaded some parameters and need other users to calculate the pairing for me and I will pay for them if their ...
0
votes
1answer
25 views

How can we decode transaction and event data shown on blockchain explorer

How can we decode transaction and event data shown on blockchain explorer. I have tried couple of blockchain explorer like (epirus-free, blockscout) but they are showing only encoded values of events ...
0
votes
0answers
17 views

Why is Smart Contract call() method returning NULL in Ethereum Private Blockchain

This is where I am calling the contract function certify_find (hash, callback) { contract.methods.findDocHash(hash).call( function (error, result) { if (error) { console.log("Returned ERROR ...
0
votes
0answers
13 views

Ethreum representation in OSI Layer

I need urgent support with Ethereum Networking. A potential enterprise client is asking about the networking of Ethereum Node Peering. We have given them a lot of information about RLPx protocol and ...
0
votes
0answers
26 views

Remix IDE Ethereum is blank page on local host

After installing Remix IDE, it shows blank page! I use these command lines to install remix IDE: sudo apt install build-essential sudo npm install -g node-gyp npm install remix-ide -g remix-ide ...
0
votes
0answers
33 views

Filter Not Found Exception Thrown randomly with TransactionFlowable

Web3J version - 5.0.0 Geth version - 1.9.14 -Stable Ubuntu 18.04 - 64-bit 32GB RAM 1.9 TB HDD Geth fully synced and running JDK - 1.8 Spring - 1.5 I have two subscription ...
0
votes
0answers
12 views

How to extract the block sealer identity from the extraData hexbytes (which is renamed proofOfAuthorityData) in web3.py?

Question is in the tittle. I use a local network with PoA clique and middleware w3 = Web3(IPCProvider('~/mygethnode/geth.ipc')) w3.middleware_onion.inject(geth_poa_middleware, layer=0) And then ...
0
votes
1answer
47 views

[question deleted because not relevant] [closed]

[question deleted because not relevant anymore]
2
votes
1answer
37 views

What is the network layer in which RLPx is used for peering in Ethereum

We had a question from our client as such they need to know in which Network layer is the RLPx protocol being used for the peering process I have got to know that peering process happens using RLPx ...
2
votes
0answers
25 views

How to run instrumented EVM in go

I'm working on a project where I would like to catch internal transactions and figure out the stack trace. For this reason, I have been trying to define an EVM log collector as recommended here. ...
0
votes
0answers
17 views

web3j version 4.5.16 is not generating payable function properly

I am using web3j 4.5.16 version to generate my wrapper. For a payable function it is generating the following. // With out input argument to enter weiValue public RemoteFunctionCall<...
0
votes
0answers
21 views

How to filter an indexed event parameter using web3j?

I am planning to use ethereum logs as a data storage on my private blockchain. I have defined event in my contract like this: event logDomainFilter(uint128 indexed _campaignId, uint128 indexed ...
0
votes
0answers
26 views

MetaMask - RPC Error: Error: [ethjs-rpc] rpc error with payload [obejct Object

I am trying to sign transactions using certify_send() function to a smart contract deployed to my private ethereum blockchain but I keep getting this error after I approve in MetaMask MetaMask - RPC ...
0
votes
0answers
12 views

Signed recently, waiting for others

If I have one signer node designated on my genesis block and start it up, can I have an unlimited number of regular nodes? Will the signer node sign for all of them, or does the network have to have a ...
0
votes
1answer
17 views

One account, multiple nodes?

In a private ethereum network, can I have 1 account running in multiple nodes? That is, that multiple nodes refer to the same account?
0
votes
0answers
9 views

How can we write the geth cache data on to the disk?

Recently we ran into an issue where all the nodes of our ethereum consortium network are crashed at once, as all are in same data center. In this crash, we lost the cached data of geth and so as a ...
0
votes
0answers
28 views

why web3.eth.getBlockNumber().then(console.log) returns 0

I have build a Ethereum Full Node in Ubuntu 18.04. geth is running through the following command: nohup geth --rpcaddr 127.0.0.1 -rpcport 8545 --rpc -rpcapi "wb3,admin,eth,personal,net" --ws --wsaddr ...
0
votes
0answers
11 views

Plans to migrate go-ethereum to rust-ethereum?

Is anyone planning to migrate go-ethereum to rust-ethereum? Rust with all its features such as zero-cost abstractions, safe memory management, fearless concurrency really outshines Go. Nathan Aw (...
0
votes
0answers
22 views

geth full node taking forever to sync

For three days I've been trying to sync a full node. Syncing the last two days has taken about six hours a day. At this rate I won't be able to sync it. It's behind "age=3y8mo5d". This is the ...
0
votes
0answers
34 views

personal.sendTransaction not broadcasting? (geth)

I'm trying to use the personal.sendTransaction() method and it returns a valid txid, but looks like it never gets broadcasted to the network. (Can't pick it up on etherscan or any ETH explorers) I've ...
1
vote
2answers
31 views

Which operations can change ethereum address balance?

I am writing a program that would monitor changes in balance of a set of ethereum addresses. I did the same for UTXO based coins, and the logic was pretty simple. All of the changes were directly ...
0
votes
0answers
10 views

Lightweight Ethereum client for Android and IOS

Are there any available Lightweight version of Geth or Parity client on Android or IOS in order to avoid using Infura service when accessing blockchain form a mobile app?
0
votes
0answers
23 views

[Geth v1.9.13]some of our nodes are not synced

System information Geth version: v1.9.13 OS & Version: Amazon Linux2 behaviour I am running node for 7days on mainnet, however, it's still syncing. Previously, our node could complete sync ...
1
vote
0answers
22 views

Geth transaction pending on Ropsten testnet that will not send

On a Raspbian linux system I have been using geth --testnet --syncmode light to sync the Blockchain in one terminal and running geth --testnet attach in the other, but when the Blockchain is synced I ...
0
votes
1answer
55 views

Could not find a declaration file for module 'solc''

I have installed solc without any errors or warning, but when i am trying to run node compile.js command in cmd then i am getting following error On checking the code, i found that "const solc = ...
0
votes
1answer
11 views

How to check the bootnodes configured in my node

Sorry if it's a very basic question, but I can't find it. I'm configuring a regular node in a private quorum network using geth. The node is not synchronizing and I'd like to check the bootnodes ...
3
votes
1answer
29 views

Ethereum Signing using HSM

I tried signing a Message using the SHA256withECDSA algorithm . It gives a different signed(r,s) output everytime. When i try to recover the address using the ecrevover method .it gives me a different ...
0
votes
1answer
14 views

Populating struct throws error

Hi I am trying to run this code in remix. It deploys successfully but whenever I add a Customer using the addCustomer function, it shows this message "transact to MyContract.addCustomer pending ...". ...
0
votes
0answers
12 views

Require function does not work in geth

I have a smart contract that uses require to validate the parameters inside some functions and I have noticed that geth 1.9.13 and 1.9.14 do not enforce the condition in require. I could reproduce the ...
0
votes
0answers
13 views

How to unlock eth account using web3?

Hi I'm trying to unlock an account using web3 but it returns empty error. When I use cli it returns true > personal.unlockAccount(eth.accounts[0]) Unlock account ...
0
votes
1answer
16 views

Scalability of private chain with 0 block time

What could be some issues in scalability if a block time of 0 is set to a private ethereum blockchain? If I set it to zero, blocks will only be added to the blockchain every time there's a single ...
1
vote
1answer
12 views

Connecting to a data directory in a different machine

I have set up a ethereum private network and the data directory configured in the same machine. Is there anyway to create the data directory in a separate machine and connect the geth to that. The ...
0
votes
1answer
22 views

Add a new user using smart contract

I am trying to make a smart contract which can add /delete and modify users in the smart contract. I have just written the code for adding the user but I am getting an error saying "revert The ...
1
vote
0answers
12 views

Cannot query contract methods after upgrading to geth 1.9

We have been running a geth 1.8 based private PoA chain for a long time. We are trying to upgrade it to geth 1.9. After changing the command line arguments to reflect the new API and remove ...
0
votes
1answer
37 views

eth.coinbase gives the wallet address which is not exist in the system

I'm facing a strange issue, when I execute eth.coinbase command on Geth, it gives me wallet address which is not present in the key directory. But that isn't in the genesis file I'm not sure how ...
0
votes
0answers
16 views

sending transaction giving an error of “unknown account” after some time interval in Geth

I have review kinda same questions on this site, however, the issue in my case is different hence I'm asking. I have setup three nodes for the private chain, and it's working fine. I can send ...
0
votes
1answer
22 views

how to send one transaction from multiples seed wallets? [duplicate]

I would like to know if there is posible to group 3 wallet balances derived from a seed phrase and send one tx. Example : The user received 1 ETH to address A, 1 ETH on address B, ETH on address C. ...
1
vote
1answer
38 views

derivation path for ethereum?

how are you doing! I would like to know what happens if from a ethereum seed I derive a wallet using BIP49, BIP84 derivation path and then send ethereum from another wallet which is BIP32 or BIP44, ...
2
votes
0answers
38 views

Why does Ethereum use JSON-RPC and not gRPC?

I am fairly new to networking protocols especially JSON-RPC and gRPC as they are not nearly as common in web development as REST. I was reading around and seems like gRPC generally performs better. So ...
0
votes
1answer
20 views

Storing and retrieving data from a transaction

I have a private blockchain using PoA and would like to store data in the data field of a transaction. To my understanding, the data field has a 32-byte limit and needs to be hex encoded. Is this ...
0
votes
0answers
24 views

loadScript returns undefined

I am using Ubuntu 20.04 for creating a private ethereum blockchain using geth. I am required to load the "Simple.abi" script present inside home/contract. But when I give the file-path in the ...
1
vote
0answers
30 views

go-ethereum: Return data from contract function

I have a smart contract written in solidity. I deployed the contract to my Ganache network and I can interact with it via go-ethereum using stubs generated by abigen. My function returns a uint256, ...
0
votes
1answer
35 views

problem help me gas * price + value

I've seen many topics, but I've yet not solved my problem. Please, help me! var EthereumTx=require('ethereumjs-tx').Transaction const Web3=require('web3') const web3 = new Web3('https://rinkeby....
0
votes
0answers
13 views

can sign derived wallet transactions with main's wallet private key of seed phrase?

I would like to sign a transaction from a wallet which is derived from a seed, and sign it, with it's parent first address and private key derived from the seed, can I sign any tx of any derived ...
2
votes
1answer
33 views

What you mean by Off-Chain in Ethereum Blockchain? can i use geth as off-chain in DApp?

I have read several articles of off-chain definition and come to know that they are use for scale the ethereum blockchain. but my question is what is actually mean by off-chain word in ethereum ...
0
votes
1answer
40 views

How to connect to my private ethereum network using web3?

I have setup my own private eth network. I wanted to connect to this. So first I have run geth --datadir ./tolotolo --networkid 1115 --port 30304 console 2>>myEth.log It generated geth.ipc ...
2
votes
0answers
25 views

How to determine the uniqueness of an internal transaction

How to determine the uniqueness of an internal transaction Example is this transaction: https://rinkeby.etherscan.io/tx/0xc756517a69239bddffe3e0cb07eba98d3ad0fae1b44fc936a0119dbaf7008942#internal ...