All Questions

Filter by
Sorted by
Tagged with
5
votes
2answers
946 views

Regtest mode on Ethereum

I'd like to use regtest mode on Ethereum. Does it exist? If so, how can I use it?
4
votes
2answers
5k views

I do mining on testnet, but cannot get ether

I'm doing mining on testnet as following, but I could not get any ether. Did I make any fault? Could you tell me how can I get ether on testnet? $ build/bin/geth --testnet console >miner.start() &...
2
votes
1answer
182 views

Is homestead a hard fork and when will it be activated?

In one of the descriptions it was mentioned that the homestead update contains a new opcode and other changes that are not backward compatible. Thus a hardfork will be required. What is a process of ...
27
votes
4answers
36k views

Can't send transaction — “Exceeds block gas limit” or “Intrinsic gas too low”

I'm trying to send Ether using geth 1.3.5, like this: eth.sendTransaction({from:eth.accounts[0], to:'0x[ADDRESS_HERE]', value: web3.toWei(5, "ether"), gas:21000}); And I'm getting "Exceeds block gas ...
2
votes
1answer
50 views

“AssertionError: Contract code empty” when testing contract above a particular size. How do I fix it?

I'm writing a contract for arbitrary-length integer arithmetic, for use in a larger project. The problem is that once the contract gets above a certain size, the Python ethereum.tester.state()....
4
votes
2answers
1k views

Anatomy of a Geth Wallet File

Just want to make sure I can fully recover a geth wallet. There are many parts to a typical wallet file: {"address":"ethaddress", "Crypto":{"cipher":"..aes","ciphertext... So basically theres the : ...
1
vote
2answers
85 views

Homestead and Frontier Wallet Compatibility

If you have the json file and you can check the balance via etherscan or etherchain or via web3/geth it's on the "live frontier net". Why are there so many people questioning wallet compatibility ...
5
votes
2answers
1k views

With the rising Ether price to $9, doesn't this mean gas costs more?

With the increase in the ether price, doesn't gas cost more, hence higher price to execute a contract? What is the current gas price today to execute a typical contract or send a transaction?
3
votes
1answer
631 views

returning a fixed size 2D array to web3.js

I would like to return a 2D array from solidity code and look at it with web3.js this is the solidity function: uint8 [10][10][100][100] public blocks; function getBlock(uint x, uint y) returns (...
5
votes
2answers
3k views

How to update Geth to Homestead (1.3.4)?

How can u update geth to Homestead version? Found this github link, but there is nothing specified about installation.
8
votes
2answers
1k views

Some characters in Ether addresses have changed to capitals after upgrading Mist

I recently upgraded Mist from 0.3.9 to 0.5.0. I have noticed that the capitalisation of some of the characters in my public address have changed. Is this normal?
4
votes
1answer
2k views

Enums in Solidity

Enum's are not working in solc? Just tried to compile demo contract from gihub documentation : contract test { enum ActionChoices { GoLeft, GoRight, GoStraight, SitStill }; function test() { ...
3
votes
0answers
828 views

Tutorial on Ethereum wallet, create your token: strange behaviour

I've followed the tutorial here using ethereum-wallet (mist) 0.5.0. I'm running geth on a custom network launched as: geth --datadir ~/ethprivatechain/testing/01/ --networkid 42371325 --nodiscover --...
4
votes
1answer
8k views

How to install Solidity on Windows?

I've been following the tutorial at https://www.ethereum.org/greeter , but when it gets to the point of installing Solidity, it is apparently no longer maintained on chocolatey so that step doesn't ...
6
votes
1answer
2k views

Simple contract on private network is never mined

I'm trying to run the crowdsale example from the Frontier docs on a private network and local blockchain. I can create the contract, but do not seem to be able to mine it. You can see a gist of the ...
3
votes
1answer
372 views

Do ethereum contracts stay active if it has to wait for a condition to happen? How is the TIME element factored into smart contracts? [duplicate]

I haven't written any contract yet, but would like to know if this is something that can be done. Lets say I write a smart contract to pay someone if his ethereum address goes below a certain amount ...
3
votes
0answers
127 views

MIX issues on Windows

I've been involved with Ethereum for few months and am getting really excited about the functionalities it offers. Actually I'm trying to develop some contracts and deploy on the blockchain. I use ...
10
votes
1answer
2k views

Using web3, how can you get the tx cost and data/payload for a given transaction?

Using web3, how can you get the Tx cost and data/payload for a given transaction? getTransaction(tx#) returns everything but those 2 values. This information seems to be available via blockchain ...
2
votes
2answers
307 views

Mist password not working. Is there a way to open a new account?

I have a mac. How do I delete mist and re-download it + blockchain so I can start fresh? My original password is not working (only 1 eth in it so not worried about loss). If it needs to be deleted ...
6
votes
2answers
2k views

How should we benchmark transaction per sec?

I'd like to compare the transaction speed of private Ethereum(ex. PoA), Eris and HydraChain. How should we benchmark them?
16
votes
2answers
9k views

What is the 'this' keyword in Solidity?

What is the specification of the 'this' keyword in Solidity? How does it work? Sample code from Solidity Features · ethereum/wiki Wiki contract Helper { function getBalance() returns (uint bal) { ...
3
votes
2answers
138 views

How can an account with a direct ICAP address be created?

In order for an Ethereum account to be able to have an IBAN-compatible "direct" ICAP address, its raw address must have zeroes in the most-significant 6 bits. In other words it must fit in 154 bits. ...
2
votes
1answer
2k views

Can older motherboards be the reason for the drop of mining speed?

I have set up this small rig but I'm getting only half of the mining speed that these cards are able to generate. I checked these cards one by one on other boards and they tend to give ~21MH/s. But ...
1
vote
1answer
249 views

Alethone Hashing but no wei added

Alethone finished synchronizations, the clircles were all full grey and green, then it started hashing showing numbers around 20. However, nothing is added and it shows zero wei. I did that for a ...
19
votes
4answers
13k views

workflow on signing a string with private key, followed by signature verification with public key

I know this question has been asked and answered, but while trying to get everything to work, I've come across some problems. This is what I'm trying to do: 1. take a target string 'Schoolbus' 2. ...
16
votes
2answers
8k views

Geth - How to clear queued transactions?

When typing txpool on Geth I get: { status: { pending: 15, queued: 714 }, getStatus: function() } I don't even know why there are 714 queued transactions when there should be none. I ...
13
votes
2answers
6k views

How to validate a private key?

I could not find any library that, given an hex value, returns true if the given string is a valid ether private key. Any hints?
4
votes
1answer
571 views

Is there a BIP38 equivalent for Ethereum private keys?

What is the best practice to encrypt an Ethereum private key? For example, Bitcoin has BIP38.
4
votes
3answers
13k views

Add existing wallet to geth with address and password

A few months ago I mined some Ethereum. I do not have the .json file anymore. But I do have the address and the password. Currently I'm running Geth (for the past 12 hours) but I'm not able to put in ...
2
votes
1answer
7k views

How to sell ETH for USD or EUR?

What is the process to get Dollar or Euro from Ether to my bank account? The easiest is to sell ETH into BTC on Poloniex, then I transfer my BTC to Kraken and on Kraken I sell BTC into Euro and the ...
1
vote
0answers
113 views

Where to check total circulation of ETH, creation of ETH and supply of ETH? [duplicate]

Where can I check stats on how many ETH will there be created (what is the limit), how it will reduce in its creation, what are the caps (if any). I understand that there isn't limited amount like in ...
3
votes
1answer
552 views

How to access ethaddress.org funds if the private key is blurred out?

Tried out the paperwallet and sent 1 ether to the address on the screen as a test. After that I noticed the private key on it is blurred out. I generated another and found the same thing on the ...
2
votes
1answer
2k views

Why does the transaction exceed block gas limit? [closed]

When I try sending ether to another account, I keep getting the message "Exceeds block gas limit". I changed the gas amount from 5,000 to 100,000 but nothing else happened. Why does the transaction ...
2
votes
1answer
883 views

Getting TX hash back but transactions not showing on blockchain?

So I upgraded geth yesterday to 1.3.4. I've been trying to send ETH to my Poloniex wallet, and every time I attempt a deposit my terminal returns a TX hash, but this hash never shows up in the block ...
1
vote
1answer
2k views

Should I run multiple instances of qtminer for multiple GPUs?

I am using qtminer from ethpool for mining with a single card. I want to add extra cards to the rig, should I start a new instance of qtminer for every card or should I start a single instance of ...
4
votes
2answers
3k views

How to upload and download files to the blockchain?

I want to create smart contract which can upload and download file from blockchain. Is that possible? If so, how?
7
votes
3answers
4k views

Is Trezor compatible with Ethereum

Can I use the Trezor hardware wallet for cold storage of ETH?
1
vote
1answer
564 views

Is there something like bitcore for Ethereum?

In Bitcoin there is a library named Bitcore. It helps abstract away a number of details, including using direct RPC commands. Is there something like Bitcore for Ethereum? Or do I need to use JSON-...
1
vote
2answers
2k views

On Mist, can I create a .json file wallet protected by a password (or not) just like ethereumwallet?

Wll basically tht is the question on the latest Mist version, can I create a .json file wallet protected by a password (or not) just like I did using ethereumwallet.com?
2
votes
1answer
521 views

How to find unique entries in mappings?

Is it possible to write a function that compares a list of strings or numbers, or both, and determines which items in the list are uniques? could someone provide sample code of how that would be done ...
4
votes
2answers
798 views

Possible to run Geth offline?

I'm trying to start Geth from an offline machine. An answer in a related question seems to indicate this is possible. However, running the command $ geth hangs at Starting Server. Trying to attach an ...
4
votes
3answers
1k views

Is there a way to transfer my ETH from a cold storage to a hot storage without compromising it?

At first I wanted to use myetherwallet.com but now I am afraid the code may be hacked / corrupted some day. The cold storage solution seems safer to store ETH in the long run. While I understand how ...
3
votes
1answer
1k views

How do I release 25 ether from a Wallet Contract I accidentally created a few months back?

When I first started with Mist, I sent 25 ether to a Wallet Contract. It showed up on Mist for a few weeks and disappeared. I see the transaction here: 0x7de54cbb5ab805bfbb96014f415799712d5ada35 ...
7
votes
1answer
3k views

Is there a downloadable Ethereum bootstrap?

I am trying to synchronize a full node, and this is going very slowly, the progress alternates between bursts of high CPU usage (which is fine, it is heavy but importing), and long times with nothing ...
22
votes
3answers
13k views

What does the Web3 “BigNumber not a base 16 number Error” mean

Is there a known problem with parsing events containing strings in Truffle/Web3? I'm using truffle with the following simple contract contract Board { string foo; event Shout(); event ...
6
votes
3answers
3k views

Why does mist throw 'Uncaught invalid address'?

I'm trying to make a web page that gets a message from a simple "hello world" smart contract. Unfortunately, it isn't working. I'm seeing this in the Mist console. Uncaught invalid address v ...
4
votes
1answer
80 views

Risk assessment - account confidentiality when signing transactions

When creating cold storage setups, I've seen various users describe running a private Ethereum chain for the purpose of confirming access to their generated accounts. I'd like to verify access to ...
4
votes
2answers
784 views

Can't get oraclize to work

I have tried running programs with oraclize on the ethereum testnet (Morden). My program fails to compile due to import "dev.oraclize.it/api.sol" error. I have therefore tried to manually download ...
5
votes
1answer
11k views

How can I calculate the average time to mine a block?

How can I calculate the average time to mine a block knowing the current global hashrate? My first gues is very simple: (global_hashrate / my_hashrate) * 15 [s]. So in my case (850 000 H/s) it will ...
8
votes
2answers
3k views

How can I get notification from geth when I receive ether?

I'd like to get notification from geth when my account receives ether. I'm thinking to type api command eth_getBalance in every minute, in order to check if my account receive ether or not. However, I ...

15 30 50 per page