Questions tagged [cpp-ethereum]

The Ethereum C++ client.

69 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
2answers
652 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 ...
4
votes
1answer
443 views

web3 api in eth

Since, I am not able to use the go client in the multi node mode due to a bug (Multi node private local ethereum and send transaction), I tried to use the c++ client eth. Tried using the go client ...
4
votes
1answer
829 views

Is there a way to “clean up” the ethminer installation (ethminer after crashes)?

I'm NOT running Geth or any other wallet on the miners. I have dedicated systems for mining running Ubuntu 15.04, 64 bit desktop with ethminer compiled from cpp-ethereum. Motherboards/Processors range ...
3
votes
2answers
1k views

Invalid address error

I keep getting Error: Invalid address when trying to run the application. My current setup of web3 using infura node is if (typeof web3 !== 'undefined') { web3 = new Web3(web3.currentProvider); } ...
3
votes
0answers
327 views

SSL Support for Communication Between Geth Nodes

We are using private Ethereum network for a multi entity use-case. The problem is that all these entities geth nodes sits behind a firewall which only allows TLS traffic. The node that's broadcasting ...
3
votes
0answers
447 views

How can i confirm transaction in geth from other peer of blockchain?

I have a query , I have create a private blockchain in which one geth node1 is use for transaction taking and other one(node2) is for mining .They are peered with each other and perfectly ...
3
votes
0answers
210 views

c++ ethereum could not open wallet

Created 3 accounts as follows: $ eth account new Couldn't open wallet. Does it exist? Enter a passphrase with which to secure this account: Please confirm the passphrase by entering it again: ...
3
votes
0answers
38 views

Mix Missing on OS X Mavericks

I'm trying to install Mix-IDE on OS X 10.9.5 (Mavericks), but failing. I tried using the binaries for Yosemite from the webthree-umbrella release page, but they crash on startup (pretty predictable). ...
3
votes
0answers
326 views

How can I install Ethereum on the Windows 10 Ubuntu Bash

Windows 10 new preview release includes the Ubuntu Bash. I would like to know if anybody has had some luck installing ethereum using the bash, and can provide details instructions. apt-get install ...
2
votes
1answer
57 views

What is a active wallet vs inactive

In Apr. empower had an airdrop that they said only wallets that had .1 ETH. would get it. Was that the customary requirement in Jan when the crypto blockchain was jammed?. And wasn't that lowered to ....
2
votes
2answers
767 views

Decoding ethereum leveldb keys and values

I've created a simple script to read ethereum data from the leveldb using C++. Basically this testing program would print all keys in leveldb to the console. #include <cassert> #include <...
2
votes
0answers
405 views

Can't see GPU when starting with rc.local (Linux)

I'm mining ethereum on my Linux Mint mining rig with the claymore miner. I can manually launch my miner with the command line but if I try to start the miner with /etc/init.d/rc.local then I get the ...
2
votes
0answers
77 views

Multiple arguments and return params

Sorry for a newbie question. I'm designing a smart contract wherein I need to send in many( around 50) arguments to a setter method and return a list of same number of arguments in a getter. So ...
2
votes
0answers
1k views

Building ethminer on Win7 using CMake & VS2015

I'm trying to build ethminer on a windows box and am Visual Studio 2015 fails. The steps that I take are the following: Download ethminer/cpp-ethereum and install dependencies using the command line ...
2
votes
1answer
62 views

Deploying Network; Using Different PC for different user

I am using MIX IDE in Windows. I have created a new smart contract in Contract.sol, I have 4 Pages of html and there are 4 users. Each html page is controlled by each user. The pages are also ...
2
votes
0answers
87 views

Cannot enter commands into eth 1.2.1 on Windows

When I enter eth console I get this back and am not given a prompt back to give any commands. Also when I go to enter the password, it does not give me a prompt, but typing in my password and hitting ...
2
votes
0answers
389 views

How to initialize private blockchain using flu?

I get the following error when trying to initialize a private bockchain using flu: $ sudo flu console --config ~/ppaconfig.json flu Hinted genesis block's state root hash is incorrect! flu Hinted #...
1
vote
1answer
85 views

(error_10) Please enter a valid data value (Must be hex.)MyEther Wallet

im trying to deploy smart contract on Myteherwallet but geting an error while deploying byte code of smart contact which is written in solidity remix IDE I have even tried to change the object byte ...
1
vote
1answer
71 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 ...
1
vote
0answers
53 views

ethereum wallet running a private net 0 peers 0 waiting for blocks

am using geth VRSION: 1.8.20-stable-24d727b6 and ethereum wallet Ethereum-Wallet-linux64-0-9-3 and i am using Ubuntu 18.04.1 LTS in the geth console i started the miner but either is not ...
1
vote
0answers
52 views

Parsing ethereum chaindata using leveldb

I'm new here :) I'm writing a c++ program that parses ethereum chain data. As of present I was able to get the key value pairs by using leveldb::ReadOptions command (as illustrated in the below code) ...
1
vote
1answer
256 views

When do you get eth when mining eth?

I ran Claymore's eth miner for 8 hours and got 200 shares. I set my eth address when I ran the miner, but no eth was deposited to my address. When I restarted the miner the shares were reset to 0. ...
1
vote
0answers
69 views

can erc20 token transaction work on Fast Sync-ed node ? OR it need Full node to transact any token?

I need help regarding couple doubts. Which sync method is good for me. My client is asking me to make an Exchange website. Also ERC20 tokens will get transacted in this exchange. Do I need a full ...
1
vote
1answer
83 views

How to use / see refunded gas in ETH blockchain?

I buy a GAStoken contract which requires say 21000 GAS at 1 Gwei and later when we delete/destroy the contract when the Gwei is around 50. I understand that we will get around 50% refund of GAS at the ...
1
vote
0answers
175 views

How do I get a merkle proof (stateHash) from the merkle patricia trie?

So I understand how a patricia trie works, it's a trie using 0 to f as root nodes, and it also removes empty nodes to make leafs and extensions. What I don't get is how the stateRoot hash is made. ...
1
vote
0answers
133 views

Setting up a server to run a geth node - what hardware would you recommend?

I am planning to run a geth node 24/7 on a server, what hardware specs would you recommend for this? I'd like to download the chain pretty fast and want the block download to be consistently quick. ...
1
vote
1answer
241 views

how to batch send eth or erc20 from multiple address to one address?

How to batch send eth or erc20 from multiple address to one address? How to do it with code? For example, I have 30 eth address. I want to from 30 eth address Transferring to the one account in ...
1
vote
0answers
116 views

Library for create ethereum wallet

I want to create an ethereum wallet that is erc20 compatible on my client side. It should allow user to enter his own password and generate private key, recovery phrases and utc file. I try to ...
1
vote
1answer
26 views

tokens and coins based on ETH

I intend to trade tokens and coins using MyEtherWallet. Is it possible to use MEW to do Tx's between ALL coins and tokens, or is the wallet limit to a specific list?
1
vote
1answer
210 views

web3.admin.addpeers return BigNumber Error

When I using ethconsole to deal with a private chain. I hope it can connects to another node which I get the node information. But the command "web3.admin.addPeer("enode://...@192.168.1.29:30304",...
1
vote
0answers
31 views

Calculating data amount being mined. Server

Does anyone know how to calculate hardware being used by mining activity on a blockchain? I'm curious what the equivalent hardware usage is in a blockchain. I'm looking for a formula of blockchain ...
1
vote
0answers
123 views

Can I use ethminer with just OpenGL

I have created a windows server EC2/GPU instance, downloaded the proper version of ethermine and tried to start mining. It says that it won't work thanks to no OpenCL or CUDa. This is confirmed by ...
1
vote
0answers
181 views

Ethminer install error

I want to start mining in windows server 2008 ( How to Mine Ether and use Ethereum on Windows?) everything is going perfectly except ethminer(step 9) says JSON-RPC problem. Probably couldn't connect. ...
1
vote
1answer
289 views

Tried to send ethereum to contract address, get error in etherscan (gethdebugtrace)

I sent ethereum to a contract address I made and I always get this error: An error occurred during contract execution: exception What is going wrong here? I used the exact same code provided on ...
1
vote
0answers
107 views

Coinbase time limit between transfers

Just wondering if there is a time limit that has to be reached between transfers from Coinbase to MyEtherWallet. Trying to send 0.1 ETH from Coinbase and I get to enter the destination address, the ...
1
vote
0answers
241 views

Ethereum Solo Mining - Adding additional miners to the rig

I am new to mining and have setup my test mining setup in EC2. I know that this is not profitable but doing to understand how this works. I have 2 EC2 instances where in the first instance, I am ...
1
vote
0answers
255 views

Possibly corrupted DAG file

I've started mining on Ubuntu 16.04 using AMD-GPU PRO driver and this miner: https://github.com/ethereum/cpp-ethereum/ Video card is a RX480 with 8GB stock. I'm getting a lot of bad shares, like 10%...
1
vote
0answers
108 views

What is a sealer and what is the difference between Ethhash, NoProof and BasicAuthority sealers?

Default sealer in cpp-ethereum is NoProof: https://github.com/ethereum/cpp-ethereum/blob/43bae2c78e2a968ef4eb37bec2da4d9b85fa2392/libethcore/ChainOperationParams.h#L73 But I don't understand what is ...
1
vote
0answers
4k views

When I try to mine ethereum I get JSON-RPC error

I am new at ethereum mining and I am trying to solo mine. I already installed geth and now I am trying to mine. When I go to ethereum software folder and type ethminer -G, it gives me the following ...
1
vote
0answers
34 views

How to change the compiler the mix-ide uses?

I have build the mix-ide from source, is there a way to change the solidity compiler it uses? I have tried to simply replace the solidity folder in the webumbrella directory with a new version but ...
1
vote
0answers
126 views

listen-ip is going for default

listen ip option in cpp-ethereum always takes default address 0.0.0.0 not the one we specify. I give the following command $./eth --upnp off --listen-ip 127.0.0.1 output is cpp-ethereum, a C++ ...
1
vote
0answers
1k views

cpp-ethereum cmake error with json and curl

I got the following error when I do cmake on cpp-ethereum. I have libjson-rpc-cpp, curl. Even then I am getting the following error: -- Found jsoncpp: /usr/lib/x86_64-linux-gnu/libjsoncpp.so -- ...
1
vote
0answers
133 views

Need OpenCL library for cpp-ethereum on Alpine

I am trying to build cpp-ethereum on Alpine, and I quickly discovered that I don't have quite the same set of libraries available via apk that I have on Ubuntu via apt-get. I have built leveldb, ...
1
vote
0answers
32 views

finding an address in a sharded ethereum

In the future, Ethereum shall be a network of blockchains, all joined by a common root. This will allow for performance improvements in addition to the use of the proof of stake consensus. Having a ...
1
vote
0answers
58 views

What do the progress bars on the Alethzero “blockchain download” window mean?

I'm exploring Alethzero. What do the progress bars in the "blockchain download" window mean? I'm seeing this: I'm assuming this relates to the progress in dowloading the blockchain but I can't work ...
0
votes
1answer
47 views

Solidity Smart Contract withdrawal ETH with amount from contract address does not work

I have below smart contract and a test program to test transfer ETH out of contract address, but contract’s ETH balance not changed. I tested withdrawAmount(uint256 amount) but the assertion error ...
0
votes
1answer
32 views

Ethereum stores its own data, how to synchronize the data to other nodes in the future

I use smart contracts in Ethereum to store some string data, how to synchronize these stored string data to other nodes. As far as I know, these string data are stored in the node's leveldb database, ...
0
votes
1answer
12 views

Error encountered during contract execution [Reverted] Problem with Contract

I've sent the transaction - https://ropsten.etherscan.io/tx/0xbecb36319d806edc3617abcbeb1f95e7215cb205dc180088f225c1addd82086f to the contract address and it got reverted. Could someone explain me ...
0
votes
0answers
22 views

Write Secret Shared Data onto Ethereum

What would be an approach to do the following: 1) Secret Share data provided from a file 2) Publish the secret shared data onto an Ethereum instance (aleth/geth) 3) Be able to retrieve and ...
0
votes
0answers
9 views

ethminer application is not working on linux centos 7 for FPGA card

I have installed new xilinx FPGA card on linux centos 7 for ETH mining. Note: [bitstream, drivers have been installed]. The ethminer application throwing below error, ethminer 0.18.0-rc.0 Build: ...