Questions tagged [cpp-ethereum]

The Ethereum C++ client.

66 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
2answers
442 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
416 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
2answers
1k views

How can I get MHash value when ethminer doesn't provide one?

In order to set up the ethminer I need the MHash value. I'm testing CPU, so I ran: ethminer -M and I got a weird output: Trial 1... 0 Trial 2... 0 Trial 3... 0 Trial 4... DAG 17:33:59.896|miner0 ...
4
votes
1answer
814 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
285 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
427 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
201 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
37 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
319 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
2answers
576 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
397 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
75 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
52 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
85 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
386 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
0answers
43 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
49 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
87 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
1answer
48 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 ....
1
vote
0answers
57 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
55 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
140 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
123 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
151 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
104 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
22 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
185 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
30 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
94 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
179 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
275 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
103 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
238 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
251 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
102 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
29 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
125 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
124 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
31 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
57 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
21 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 ...
0
votes
0answers
18 views

Sending multipe ETH transactions through an API?

Is there any Ether wallet management software or some kind of API service other than BitGo that I can use to send queued Ethereum transactions, rebroadcast them automatically if they are out of gas, ...
0
votes
1answer
40 views

Get ETH and Token Balances of Wallet address

How do I get a simple and fast balance of ETH and all Token owned/stored within a wallet address? I have seen similar question and the closer answer was in this demo: http://wbobeirne.com/eth-...
0
votes
0answers
35 views

Need to help in adding bigendian support for Keccak256.cpp

Need help in making the keccakf function based on endiness in https://github.com/ethereum/solidity/blob/develop/libdevcore/Keccak256.cpp. I have gone through similar functionality at https://github....
0
votes
1answer
48 views

How can I parse internal transactions with light node?

is that possible to receive all transactions from new block with light node and parse all and even internal transactions with the help of its api?
0
votes
0answers
45 views

What is the m_seal fields in the block header used for?

Can someone please explain what these extra fields in the block header are and what are they for? Edit: Oh, I just understood myself -- mixHash and nonse are stored here. But why is this data ...