Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
132 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
1 answer
72 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 ...
3 votes
2 answers
1k 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 ...
1 vote
2 answers
2k 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
0 answers
57 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
2 answers
237 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
1 answer
159 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 ...
1 vote
1 answer
896 views

Automate transactions

Trying to figure out a method to automate transactions within a private testnet. There are several methods I'm aware of, but I'm not sure what would be the most practical. This is for testing purposes ...
0 votes
2 answers
983 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
1 answer
691 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
1 answer
39 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
1 answer
1k 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
1 answer
157 views

How can you deploy a contract using the non-interactive mode?

I have a contract written in remix, but I am trying to deploy it using Geth's non-interactive mode using geth attach ipc:<path> -exec "<contract deploy info>". When I am in interactive ...
2 votes
2 answers
633 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
1 answer
2k 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
3 answers
161 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
0 answers
209 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
0 answers
38 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
1 answer
53 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?
3 votes
1 answer
104 views

Reduce size of .ethash directory

I'm running a private testnet miner on a VPS with only 8 GB of hard drive space. Is there some measure I can take to reduce the size of the .ethash directory?
2 votes
3 answers
852 views

Hi, is Ethereum MIt licensed?

is Ethereum MIt licensed? Can we use it for business purpose?
0 votes
1 answer
71 views

Problem peers in a cluster [SOLVED]

I have a cluster with 2 nodes and I would like to create a testnet by connecting them with geth. I am using the following command: Node1: geth --datadir node1 --port 30302 --rpc --rpcport 3003 --...
1 vote
3 answers
680 views

Network state unknown deploying to testnet

Following this blogpost: https://medium.com/@guccimanepunk/how-to-deploy-a-truffle-contract-to-ropsten-e2fb817870c1 I created an account with geth --testnet account new I requesed Ether into this ...
6 votes
1 answer
809 views

When start geth(Ethereum client) First time,showing message like "generating DAG for epoch ........." mining is taking too much to start

What i have Case 1. following command line without --dev option (take too much time to start to mining) geth --datadir ~/privateBlockChain1 --mine --minerthreads 1 --networkid 1300 --rpcport 8000 -...
2 votes
0 answers
99 views

geth : Unable to fully sync to Rinkeby

I am trying to synchronise geth with Rinkeby node but when around 100 or so block left, it keep on dropping the peer and doesnot sync fully with the test net below are the screenshot for the same.
1 vote
0 answers
74 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 ...
2 votes
2 answers
4k views

Is it possible to run multiple Ganache nodes for private test network?

I wonder if i can create my own private cluster as it can be done with Geth for development & test purposes : https://github.com/ethereum/go-ethereum/wiki/Setting-up-private-network-or-local-...
1 vote
1 answer
842 views

Metamask does not react on delivering gasPrice

I am using following code to generate a new transaction using web3.js & metamask: var web3dictdata = { gasPrice: web3.toHex(10), gasLimit: web3.toHex(210000), to: "...
9 votes
2 answers
2k views

Geth will not start mining in private network!

Will somebody please help me out? I am stuck at this since hours; did the process +3 times, each time deleting the datadir content. Geth still will not start mining!! Specs: Geth 1.8.11, on macOS X ...
0 votes
1 answer
479 views

How to setup Testnet in Windows?

What are the commands for windows power shell to make a testnet. I require steps to set up testnet in private network in Windows OS.
1 vote
0 answers
126 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) ...
2 votes
2 answers
574 views

Identify the block which contains a tx

I am deploying a Smart Contract to a private blockchain. Is it possible to get when your node receives the smart contract? Is it possible to identify the block which contains the smart contract? how?
0 votes
1 answer
374 views

How to limit latest block in Geth

I need some test Ethereum blockchains for development purposes. I need only part of blocks synced for example, blochain synced from 0 to 10'000`th block, because for example Rinkeby synced in archive/...
0 votes
1 answer
58 views

is there any problem if i put GETH/PARITY and webserver in one server?

my website need to use something about ETH,so i have to setup a geth/parity rpc server. is there any problem if i set the geth/parity rpc in my webserver?
0 votes
1 answer
886 views

How long does it take to sync Rinkeby network with geth?

I am syncing the Rinkeby network with geth geth --rinkeby --rpc --rpcapi="personal,eth,network,web3,net" --ipcpath="~/.ethereum/geth.ipc" When I run eth syncing in geth console, it is showing { ...
1 vote
1 answer
568 views

Why is mining not working/very slow in my testnet?

I created a testnet to allow faster smart contract testing (I don't want to use Truffle for now). My genesis file is { "config": { "chainId": 15, "homesteadBlock": 0, "...
5 votes
3 answers
6k views

How store ETH in a smart contract

The question it's How store Ether in a smart contract. In first step, I try transfer the transaction value to the smartcontract address doing something y something like that: function storeETH() ...
0 votes
1 answer
33 views

Spool out result using solidity

Does Solidity have any keyword to spool out results into an external file like .txt or .csv or .dat?
2 votes
2 answers
962 views

Syncing with Mainnet/Ropsten blockchain

If use gethcommand,then the node starts to sync with Ethereum Mainnet by default.If usegeth --testnet --networkid 3 --datadir <testnetdatapath>,then the node will connect to Ropsten. How does ...
0 votes
1 answer
185 views

cpp-ethereum Current block number is 0

I have using eth --private "customChain" --genesis-json genesis.json --db-path data" to create a private chain. and when I into ethconsole it shows: Connecting to node at \\.\pipe\geth.ipc Connection ...
1 vote
1 answer
2k views

Golang binding - call contract method and get its return value or tuple?

Suppose i have contract like: pragma solidity ^0.4.11; contract MyToken { uint256 a; function SimpleGetter() returns(string) { return "something"; } function DoTheGreat(address _to) ...
7 votes
1 answer
4k views

How can I split my Contract up into different smaller ones?

I am learning the Solidity language and I have been experimenting on the Ropsten Testnet, I have tried several things with a contract I created, yet everytime I try to create it, remix solidity IDE ...
1 vote
3 answers
3k views

Fatal: invalid genesis file: hex string has odd length

I want to setup a private testnet. I followed the guide in: http://ethdocs.org/en/latest/network/test-networks.html With the following CustomGenesis.json: { "nonce": "0x0000000000000042", "...
0 votes
1 answer
2k views

How is this possible from only one worker/PC?

So I was clicking around on the Ethermine.org site the other day to check out some folks's ETH performance levels and came across one that has me deeply pondering on how he is doing his mining. I ...
2 votes
1 answer
1k views

Stats API Temporarily Down

I deployed ethereum pool, i can connect and send valid share to pool but always the page show Stats API Temporarily Down my config.json { "threads": 2, "coin": "eth", "name":...
1 vote
1 answer
63 views

Where is the state root being updated in Aleth CPP?

Can someone point me to where the state root is updated after each transaction is executed in the block? This is for Aleth
3 votes
1 answer
1k views

How Do I take a Snapshot and Migrate Token Holders to a new ERC20 Contract?

I want to Migrate my ERC20 Contract to a new Address, How do I do this ?
5 votes
2 answers
8k views

How do you create a new contract instance with an address *and* arguments?

There is the standard way of creating contract instances with the new keyword where you pass arguments like: MyContract mine = new MyContract(arg1, arg2); Then there is another way, like in this ...
1 vote
0 answers
316 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
0 answers
161 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
3 4
5
6 7
11