All Questions

7,517 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
21
votes
0answers
564 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
793 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
2answers
496 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\...
9
votes
1answer
373 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
405 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
0answers
479 views

Running a geth light client, how do I resolve the error: “No trusted canonical hash trie”?

I've been running a geth light client to deploy smart contracts through Truffle Migrations to mainnet. I'm getting: "Error: No trusted canonical hash trie". Any help in what this entails and how to ...
8
votes
1answer
269 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
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 = ...
8
votes
2answers
803 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
423 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
2answers
752 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
173 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
602 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
245 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
395 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
680 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
852 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
507 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
3k 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
498 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
2answers
2k 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
350 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' ...
7
votes
1answer
701 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 ...
7
votes
4answers
3k 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 ...
6
votes
0answers
33 views

Can we avoid the protocol overhead of JSON-RPC and directly connect to GETH through some interface?

I want to build a middleware that adds additional data to JSON RPC responses. This middleware would sit on the same hardware or machine as the GETH node. The traditional approach would be to simply ...
6
votes
0answers
51 views

How to Measure and Manage Witness Size

In https://ethresear.ch/t/the-eth1-eth2-transition, Vitalik wrote: If you are a developer, you can eliminate the largest part of disruption from gas cost changes by proactively making sure you ...
6
votes
0answers
64 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; }...
6
votes
2answers
654 views

How to exchange ETH to DAI with web3 and node.js

I looking for solution how to convert eth to dai with web3 api. something like https://kyber.network/swap/eth_knc (I can send eth to specyfic contract adress and I receive back DAI to the same ...
6
votes
2answers
90 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 ...
6
votes
1answer
384 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
548 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
611 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
1k 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
1answer
2k views

Etherscan: Effectively paginate `Event Logs` result

I am using Etherscan API for various Ethereum details. I need to find out the tokens transferred from a token original contract (let's say A) address to a particular address(let's say B). For this ...
6
votes
1answer
728 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....
6
votes
0answers
142 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.
5
votes
0answers
33 views

Not able to use DAI's permit() function

I'm having trouble testing the permit() functionality from the DAI contract. I've read the documentation and a couple of other resources, although, I got the contract code and deployed myself a copy ...
5
votes
0answers
104 views

How do I redirect my .eth domain with eth.link?

Let's say I want to redirect somewebsite.eth.link to www.otherdomainiown.com. http://spacex.eth.link/ does this and the redirect works on chrome. However, I don't see an A record and I do see IPFS ...
5
votes
2answers
88 views

Is there an ethereum android wallet where I don't have to manually add in tokens I have and just auto detects it?

Using coinomi or even metamask on chrome is quite annoying as I need to manually add in tokens I have in my account and it doesn't auto show up. Is there an android or desktop ethereum wallet that ...
5
votes
2answers
257 views

Native mobile Dapp - Sign transactions with user wallet

I'm starting a new project that involves a mobile Dapp and I have a question regarding signing transactions. Every mobile Dapp post that I read about offered two solutions: Use a Dapp browser, such ...
5
votes
0answers
166 views

What is the position of Whisper and Swarm in the Ethereum 2.0 Roadmap

Back in 2015, Ethereum vision was to be a "World Computer" relying on three main complementary technologies: Ethereum for decentralized Logic Swarm for decentralized Storage Whisper for decentralized ...
5
votes
0answers
799 views

Problem with multiple event listeners, duplicated event triggers

In my app i have multiple listeners (watchers) on different events of same contract. Nothing complicated. let songAddedEvent = instance.SongAdded({}, { fromBlock: 'latest', toBlock: '...
5
votes
1answer
46 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
679 views

Bootnode public address

I am trying to deploy an small private Ethereum network using geth. I have a server running geth configured as a miner in my local network. In the other side I have a droplet in DigitalOcean that I ...
5
votes
1answer
345 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
148 views

Receive deployed contract address by transaction hash with JSON-RPC request

I want to receive deployed contract address by transaction hash. Transcation example - 0x996a683acd59a2ad17461f76ce0f387a89a5ac257ec5d667556219c6acc7f45a. As you can see this contract was deployed by ...
5
votes
2answers
553 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 ...

15 30 50 per page
1
2 3 4 5
151