Questions tagged [cpp-ethereum]

The Ethereum C++ client.

Filter by
Sorted by
Tagged with
0
votes
1answer
137 views

ethereum mining doubt

I have a laptop with 4 gb of ram,1 tb hdd and i3 processor running windows 10 and intel hd graphics 520,is there any chance i can mine ethereum or litecoin using this setup?if yes please someone tell ...
0
votes
1answer
20 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
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",...
2
votes
2answers
575 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 <...
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
2answers
388 views

geth attach issue between mac and windows

I am running geth on windows machine and try for geth attach in mac. I give below error: Fatal: Failed to start the JavaScript console: api modules: Post http://192.168.0.107:8545: context deadline ...
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
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 ...
0
votes
1answer
379 views

Geth says it's synced, but is about 50 blocks behind everyone else

So I run a small eth mining pool and the eth node says it's synced, but when I compare the block to the ones on other pools we are about 50-100 blocks behind. When I check in geth it says it's fully ...
4
votes
1answer
415 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 ...
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); } ...
0
votes
1answer
252 views

user api to exchange eth token and wallet address creating using code

Is there any API to help exchange ether or tokens online which will help in coding an exchange. For bitcoin one can generate a wallet address, is it possible to generate a wallet address for Ethereum ...
0
votes
1answer
318 views

web3 contract TypeError: 'apply' is not a function

I'm Trying to call the apply function on the contract ABI but I'm getting: TypeError: 'apply' is not a function at :1:1 > myContract { abi: [{ constant: false, inputs: [{...}], ...
-1
votes
2answers
1k views

Error: listen EADDRINUSE :::8545

C:\Users\Kane>testrpc EthereumJS TestRPC v6.0.3 (ganache-core: 2.0.2) C:\Users\Kane\AppData\Roaming\npm\node_modules\ethereumjs-testrpc\build\cli.node.js:74143 ... ... ******Error: listen ...
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 ...
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?
0
votes
1answer
36 views

Where Can Find the Ethereum source code on Proof Of Stake

Looking to find the implementation of Ethereum Proof of Stake Source Code on GitHub.
0
votes
2answers
22 views

No longer have tokens after updating Nano S [closed]

I recently updated my Nano S and was required to reset everything. After udpdating I went to MEW to swap my KIN & I had a ETH Ballance of 0.000 & a KIN ballance of 0.000. I have the address ...
0
votes
1answer
39 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
1answer
27 views

Any QuickBlocks tutorial?

From my understanding QuickBlocks is an api in C++ that provides similar services as etherscan API for the ethereum blockchain. Is there a link or tutorial to use quickkblocks because the example in ...
0
votes
1answer
42 views

Transaction Pending and Dropped

I have a transaction pending from 4 days. I have tried to unlock following this answer: MyEtherWallet is pending and dropping. It looks like it is stuck in a loop for 2 days? Now the current nonce is ...
0
votes
1answer
31 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 ...
0
votes
1answer
23 views

Adding the delta to a token transfer

Let's say I have 5 contributors to a pool of a smart contract. They all contributed 1 ether. The smart contract lost 2 ether, and now I want to transfer back the remaining 3 ether to the 5 ...
1
vote
1answer
47 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
1answer
86 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
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 ...
0
votes
1answer
41 views

strange log message in cpp-ethereum eth-log

I see a strange message in my eth-log: [35m⚙^[[97m ◌ ^[[35m07:26:46 AM.561^[[0m^[[30m|^[[34meth^[ [0m Paying 63 szabo^[[0m from sender for gas ( ^[[34m21000^[ [0m gas at 3 Gwei^[[0m ) (sorry for ...
0
votes
1answer
47 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?
3
votes
2answers
552 views

How many Consensus algorithm does ethereum involve?

I know POW is the Consensus algorithm of ethereum now, and it will be changed to POS. But does ethereum has other Consensus algorithm besides POW and POS? I heard from a man there are other Consensus ...
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 ...
5
votes
2answers
439 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 ...
1
vote
2answers
407 views

Does an ERC-20 token transfer cost more gas than an ETH transfer?

After messing around on the Remix IDE, I realized that initializing a uint (to any value other than 0) costs about 20,000 gas. Because of this, an ERC-20 token transfer to an account with balance 0 ...
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....
1
vote
1answer
150 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 ...
0
votes
2answers
45 views

Cant send ether from one contract to another

I have 2 contract contract A{ uint bidValue; address bidder; function bid() public payable{ bidValue = msg.value; bidder = tx.origin; } } And contract B : import A.sol; ...
0
votes
1answer
42 views

plug our own consensus in any one of ethereum client? [duplicate]

Actually i try to add new consensus and will through modifying some consensus to see its effect on transaction throughput. so what platform should i use that provide me this facility or should i use ...
0
votes
2answers
46 views

Connecting to Ethereum Clients from C application

web3.js is a great library to communicate with client node. I have tried using socket programming from C application to first reach nodejs web app in order to make use of web3.js services to reach a ...
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 ...
1
vote
1answer
319 views

Internal Token Transfer without ETH fee

Need to move all token from one address to another address(Internal) without fees. Could you please help me to solve this?
0
votes
1answer
31 views

How to choose contract address and wallet address

When you start an ICO, to receive a fund from people for your ICO, how do you choose the contract address and your wallet address to receive ETH collected for your ICO? Thank you. And excuse me for my ...
0
votes
1answer
20 views

problem displaying ico

I created an ICO using ropsten (because I did not have an ETH) and when I search for my ICO on https://etherscan.io, I cannot find it. I can only find it here: https://ropsten.etherscan.io. Is it ...
2
votes
1answer
807 views

How to set eth (not geth) data directory?

I could find solutions for geth to set the data directory geth --datadir = ./chaindata What is the eth alternative for the same? Does it make a difference in using geth or eth client? and how to ...
2
votes
2answers
300 views

How to stop cpp-ethereum processes and remove cpp-ethereum and blockchain

Mac OS X, using command line: How do I stop cpp-ethereum? I installed it last night, and it's been running my processor at 100% ever since. I kill the processes ($ kill < PID >) and it just starts ...
-1
votes
1answer
95 views

How to create and manage a referral link on solidity Smart Contract (unique referral link)

I'm building a DApp in solidity where I want give a bonus to the users that wants promote it. My problem is that, to use my Referral system, now I need to insert manually the wallet address of the ...
1
vote
3answers
132 views

how difficult is it to link an address to an account?

Every wallet can generate as many addresses as I want in order to obfuscate the origin and destination of transactions. But each account has exactly one key-pair and it is trivial to get the public ...
0
votes
0answers
57 views

How to upgrade Solidity version in geth or ethereum private blockchain

I have built my private blockchain of ethereum and i'm curious to know that how can i upgrade to new version of solidity within geth so that we also can develop smart contract on newer version as ...
0
votes
0answers
16 views

ropsten eth что делать

I sent eth 2.62(NETWORK ETH) ON the eth ropsten wallet address 0xe2fcd50EfdD674C26f894aB5ad71fEcB14b7cDA4(BUT NETWORK ETH (myetherwallet.com)NOT ropsten eth). How to transfer to the wallet Eht ...
1
vote
1answer
36 views

How to save/reload the fake blockchain in Mix

I'd like to save the state of the fake blockchain and to reload it on Mix startup. Any hints?
2
votes
3answers
297 views

Hi, is Ethereum MIt licensed?

is Ethereum MIt licensed? Can we use it for business purpose?
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 ...