All Questions

6,719 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
21
votes
0answers
487 views

E/Go: fatal error: thread exhaustion

I am experimenting with the geth-android library with light-client and in-process node from @karalabe. I could successfully sync with the testnet node from @phonikg, unfortunately this one is down now....
13
votes
1answer
761 views

Trying to compile example code from pyethapp tutorial

I am trying to follow this example: https://github.com/ethereum/pyethapp/wiki/The_Console However, at the point where I should compile the code, I get an error: In [34]: print c contract NameReg{ ...
9
votes
0answers
907 views

What are the average transaction propagation times in Ethereum for reaching 50% and 95% of nodes?

What are the average transaction propagation times in Ethereum for reaching 50% and 95% of nodes? That is, once a transaction is generated on a given node, how long does it take on average to reach 50%...
9
votes
1answer
566 views

Filtering on events of the entire blockchain not possible in testrpc via truffle

A contract I wrote has an event in its constructor. Since I want to find it back in the logs it doesn't seem possible to start listening to the latest block. Because the event is already 'fired' ...
9
votes
1answer
306 views

Geth 1.4.10 — faild enc handshake: EOF

Geth suddenly stopped working for me - when I run it on verbosity level 5 I get repeating error messages like the following: dyn dial conn 120.27.122.174:30303 faild enc handshake: EOF Any thoughts ...
9
votes
0answers
387 views

Peermanager is unable to connect to nodes

I'm following this guide and am trying to create a private network with its own block chain and peers. I managed to install docker following this guide (I'm using a debian 8 jessie virtual machine) ...
8
votes
1answer
60 views

What will happen to legacy smart contracts when Ethereum 2.0 is released?

Most importantly, ERC20 and ERC721 tokens. Will they be migrated to the new chain? Will migration only be optionally possible for contracts with an owner? What about contracts which rely on proof of ...
8
votes
0answers
232 views

What happened in the Ropsten hardfork from Byzantium to Constantinople?

What were the consensus issues during the Constantinople hardfork in the Ropsten testnet? One noted consensus issue is: geth and parity have been in noticeable disagreement regarding block ...
8
votes
0answers
980 views

web3 websocket connection prevents node process from exiting

I have a node js process that creates a web3 websocket connection, like so: web3 = new Web3('ws://localhost:7545') When the process completes, it does not exit, but rather hangs forever with no ...
8
votes
0answers
229 views

How to start geth for whisper only without blockchain stuff?

I'm writing a chat app on top of Whisper; the app is supposed to manage the lifecycle of the Ethereum node. One way to build to is to use wnode in the background & communicate with it using ...
8
votes
1answer
248 views

Plasma chain with ERC721 tokens as miner reward?

Hello ladies and gents, Crypto Kitties got me thinking, and I was wondering if it would be possible to host a PoW (or even PoS) Plasma chain, in which the tokens rewarded to participants are non-...
8
votes
2answers
306 views

Is there the opposite function for evm_increaseTime?

I'm using the following function in my JS tests (with truffle) to move forward in time to test time dependent functions: const timeTravel = function (time) { return new Promise((resolve, reject) =&...
8
votes
2answers
682 views

TestRPC and Metamask: hanging on pending transactions

I'm using Remix and connecting to Testrpc via Metamask. I can successfully launch contracts to testrpc, but then it hangs on the subsequent calls that Remix makes to the public methods (Remix says "9 ...
8
votes
1answer
352 views

getting started with geth and ENS commands: Error: invalid address

I'm starting from square zero, sorry. I'm just trying to get a javascript console up and running so that I can learn more about ENS: http://docs.ens.domains/en/latest/userguide.html#resolving I've ...
8
votes
1answer
2k views

Error: etherbase address must be explicitly specified

When I make a RPC to geth running remotely, I cannot get the account list / balance of the account. It also says that the coinbase is not set. But as far as I know, isnt the coinbase supposed to be ...
8
votes
2answers
410 views

Error: “message”:“function \”Ballot\“ arguments must include \”proposalNames\“”}

I am trying below code to write Voting Contract referring to Solidity documentation pdf. Code compiles without error but I am getting below error while deploying. writing Ballot to app\meta\Ballot\...
8
votes
2answers
605 views

How to create a secure, production ready private chain?

I'm looking for more information or resources on how to run a private chain with ethereum with multiple nodes that would work in production and would only be accessible to my users/network. I know ...
7
votes
0answers
151 views

Quorum: Extending list of participants that can access private transactions post transaction creation?

According to the Quorum roadmap (which is over a year old now) the team at JPM was planning to add a feature whereby additional parties could be given rights to view private transactions after those ...
7
votes
1answer
497 views

Truffle unbox drizzle not working properly

truffle version = 4.1.4 truffle unbox drizzle truffle compile truffle migrate npm run build npm run start this gets me this error: Truffle Drizzle-box fails with TypeError: (0 , _drizzle....
7
votes
0answers
205 views

Error importing transaction: Transaction(InvalidChainId) in Private POA

Problem I am trying to send some transactions to my private chain, and all transactions are getting failed. I am receiving this error: Error importing transaction: Transaction(InvalidChainId) ...
7
votes
1answer
313 views

eth.gasPrice is returning less value than expected

As mentioned in documentation eth.gasPrice returns the current gas price. The gas price is determined by the x latest blocks median gas price. I was relying on this method to estimate current gas ...
7
votes
2answers
2k views

Conversion of address to string in Solidity

The Solution given in Convert address to string did not help. Motive: To convert an address to string type so that I can use it as a parameter to a function for which string type is necessary. Code ...
7
votes
1answer
1k views

Adding Wallet using web3.eth.accounts.wallet.add

On web3 0.20.1, I am using Infura to deploy a contract to Rinkeby. This probably requires me to add a wallet to web3.accounts to provide the gas needed. When I ran the following nodejs code, Web3 = ...
7
votes
1answer
573 views

Parity Error: Account not found for the current chain (Kovan)

I am having problem starting Parity with a account that I created using Metamask. This account 0x76Eb17471A5fb78EF6768254D1dAEc528ec6b5a8 has received multiple ETH from Kovan faucets. Running the ...
7
votes
1answer
761 views

Deploy contract in web3j quorum problem

I'm trying to deploy a smart contract (7 nodes sample from Quorum) using web3j. It fails at get() to get the contract wrapper object. If I check the logs, a new transaction will show up, but if I call ...
7
votes
1answer
413 views

Submitted transaction not propagated to all nodes

I have a private ethereum blockchain network running set up in 3 nodes using geth. If i submit a transaction(smart contract function call) to one node and go to another node and type in eth....
7
votes
0answers
2k views

Why is Geth's “fast” sync now the default, whereas before it wasn't?

As of version 1.6.0, the default method used by Geth for syncing the chaindata is "fast": The default sync mode is --syncmode=fast, for full sync please use --syncmode=full. Previously, the ...
7
votes
0answers
483 views

Installing go-ethereum nodes using docker swarm?

Has anybody installed and configured go-ethereum nodes using dockerswarm ? Appreciate if anybody could share any docs or relevant information.
7
votes
1answer
692 views

Problem with start() in web3-provider-engine

While trying to connect to a provider(infura) I get the above error below is the full stack trace: bundle.js:54318 Uncaught TypeError: this.provider.sendAsync is not a function at Web3Subprovider....
7
votes
2answers
1k views

Windows curl error with JSON-RPC

Using Windows, when I started Geth with: geth --rpc --rpcaddr 192.168.1.9 --rpcport 8545 --rpcapi "eth,net,web3,personal" --datadir C:\Users\BulldogBud\AppData\Roaming\Ethereum\testnet\chaindata --...
7
votes
0answers
345 views

testrpc 2.0.0 - cannot find module 'memdown'

Trying to get testrpc (2.0.0) working on an ubuntu virtualbox, and getting this error when I run it: mowliv@u4:~$ testrpc module.js:341 throw err; ^ Error: Cannot find module 'memdown' ...
6
votes
1answer
353 views

creation ERC721 error: Transaction failed, invalid address,

I would like to learn how ERC721 token works. I found some sample contracts online and tried to use remix and Ethereum Wallet to deploy the contract. The compile was fine but failed in the creation. ...
6
votes
1answer
443 views

How to use Nodejs/Javascript and LevelUp to read Blocks from local geth database files (.ldb)?

Here's what I've been able to get going to far. I can open the blockchain database but I can't seem to create a valid blockchain object (nor call the blockchain.getBlock() function successfully). I'...
6
votes
2answers
599 views

Parity-like Solution for using Ledger Nano Anywhere

I'm looking for a "Parity-like" solution so that I'm able to use my Ledger Nano on any Ethereum-powered website that doesn't support a Nano natively (something like Radar Relay). I know I can do this ...
6
votes
4answers
3k views

“Mock compiler : Source not found” Error in Remix online IDE

I haven't been able to compile any solidity code because of this error. How do I solve this problem?
6
votes
2answers
983 views

Smart contract erc20 code snippet to prevent buyer token transfers

I´m going to start a token pre-sale and I want to be able to send the tokens to the buyer but prevent the buyer to send tokens to another wallet. I tried the following in my ERC20 smart contract but ...
6
votes
0answers
136 views

EthereumJ IO Error Too many open files

While using EthereumJ: SocketException or leveldb.DBException are thrown: leveldb.DBException: IO error: /data/bitgo/database/state/549361.ldb: Too many open files
6
votes
1answer
2k views

Mist error: “unable to connect to socket:timeout”

In mist wallet i am getting an error of unable to connect to socket and couldn't compile source code.Do help me where i am doing the mistake.
6
votes
1answer
638 views

Block header structure change under Proof of Stake?

The yellow paper describes the below block header structure: This includes difficulty, beneficiary, mixHash and nonce values. Presumably these will be redundant under Proof-of-Stake. How will the ...
6
votes
3answers
2k views

Sync done but latest block number 0

I am running geth 1.8.0 I have been running the node for over 24 hours > eth.syncing false > eth.getBlock("latest").number 0 Is this a valid state? Why is the number 0 even though syncing is ...
5
votes
0answers
38 views

String Input of three numbers (comma seperated) doesn't work in Remix

So when I try to put in three numbers as a String in a usual setter-method, it doesn't work. Does anybody know why? function test(string memory x) public view returns(string memory){ return x; }...
5
votes
1answer
28 views

Will block numbers be sequential on a sharded blockchain

When Ethereum shards (assuming it does) will the block numbers across the multiple shards be unique? I doubt it (I don't think the shards can have sequential block numbers and be independent of the ...
5
votes
1answer
173 views

How to change Geth PoA Clique block sealing time?

I have used puppeth to generate genesis file in which I set sealing time to 30 seconds. I have set up one miner. Now, I want to change the sealing time to 5 seconds. How can I do that on same ...
5
votes
1answer
70 views

Ethereum client implementation

I think to better my understanding of the EVM and underlying file system, I want to read through one or more ethereum client implementations and potentially build a client myself. So far I've been ...
5
votes
2answers
361 views

Geth: bootnode tool and --nodiscover

In Geth, if I use the --nodiscover option, my node won't be discovered by default from other nodes. Conversely, with bootnode tool implemented in geth, first I have to generate a key, then I have to ...
5
votes
0answers
174 views

Geth vs Parity Transaction propagation (1 / sqrt(n))

Is there a reason that geth propagates new txs to all peers but parity only propagates txs to 1/sqrt(n) (on average) peers? I see a comment in geth to the effect of //FIXME include this again: peers = ...
5
votes
1answer
440 views

Connecting to remote Geth client from AWS hosted server via web3 needs fix

There is a general problem that is affecting most everyone who tries to initialize AWS hosted servers with a remote Geth instance. It would be great to have documentation to address a fix or at least ...
5
votes
1answer
271 views

Accessing custom JavaScript functions via RPC API on Geth

Geth allows me to define & load my own custom JavaScript functions with --preload flag or require() on Geth console. But is there way to access my functions via RPC interface? Like : curl -H "...
5
votes
2answers
2k views

How to test on Rinkeby?

I'm currently trying to test my contract code on Rinkeby. If I'm not mistaken, I need to run a full Rinkeby node on my hard drive right? I did geth --rinkeby but it's taking a long time to sync. Am I ...
5
votes
1answer
394 views

Signatures differ in web3js and web3j

I'm using web3J version 3.0.0-alpha4 and hit following problem. When I sign the same raw message (it's simply string like "TEST" for now) I get different signatures using web3js i web3j. The signature ...

15 30 50 per page