All Questions

Filter by
Sorted by
Tagged with
4
votes
1answer
136 views

How to work with inherited contracts in EthereumJ?

In EthereumJ, I have two contracts i deployed them individually,first one was deployed but for the second i got error as in that i was calling function of first one and example i have second is first ,...
0
votes
1answer
96 views

Is Gas Model really sustainable? [closed]

I'm running some mini contracts within our team and every time someone was bothered by the gas setting, or "intrinsic gas not enough", etc. Of course, I understand it's necessary to add gas into the ...
1
vote
0answers
62 views

Creating add transaction and seal block from mix localhost on button click

When we open mix we have 3 windows. The first shows contract, the second shows the front end and the third shows the blocks and transaction while we create a new block or approve transaction. How can ...
8
votes
5answers
12k views

What is the cause of the error: Expected import directive or contract definition

I'm working on the tutorial at https://www.ethereum.org/dao and I'm getting the following error: 1:5: Error- Expected import directive or contract definition. function owned() { ^ When I get ...
4
votes
1answer
301 views

Does my wallet software need to be running to get Ether payments?

I was wondering what happens if someone made a payment to me whilst my wallet software (for example Mist) was not running on my computer? Will the payment be lost or will it show once I start the ...
8
votes
3answers
9k views

I am having trouble doing the initial sync of Ethereum-Wallet, what can I do to troubleshoot?

I am trying to sync Ethereum-Wallet (aka Mist) for the first time. Unfortunately, it is taking a really long time (days) and I was told that this should only take a couple hours. What can I do to ...
5
votes
1answer
7k views

ethminer never seems to mine - repeated DAG generation

I've installed geth and ethminer to get started mining. I've got an Ubuntu 16.04 box with a couple Nvidia TitanX cards. When I fire up ethminer like so... ethminer --no-precompute -G --opencl-...
18
votes
4answers
35k views

How can I find my `chaindata` folder?

Someone referred me to the chaindata folder to troubleshoot a problem I am having with Ethereum-Wallet/Mist. How can I find it?
2
votes
1answer
84 views

Problem with mist Wallet 0.7.6 (Beta 20) “vulnerability release”

After updating to Wallet 0.7.6 (Beta 20), running mist start syncing mainnet from the beginning, which is very bad, because syncing ~1,7MBlocks took me 4 days last time ... Is that due to the "...
9
votes
2answers
5k views

Solidity functions - private visibility

Is the following function parameter (string name) only visible to the owner contract itself? function myFunction(string name) private returns (bool) { return true; } So nobody can read / see ...
1
vote
1answer
87 views

How do I retrieve the event data related to the creation and transfer of The DAO tokens?

How do I retrieve the data related to the creation and transfer of The DAO tokens? This data will be useful to trace the movements in The DAO balances.
14
votes
1answer
3k views

What are the attributes of the `msg` object and how can I list them?

I know msg.sender exists, it gives the address of the sender. What other attributes are there and how can I list them / where are they defined?
2
votes
0answers
666 views

Tracking contracts and transactions associated with an account address

The base set up is a geth based private test-net and a mist wallet is interfacing the node on a local host machine. A few contracts have been deployed through the wallet from 2 different accounts on ...
1
vote
0answers
259 views

Ethereum Wallet Version 0.7.6 Couldn't connect to node

Hello, Sometimes Ethereum Wallet gets this error when I want to start up. I have Windows 7 x64. What is the problem? Thanks
8
votes
1answer
2k views

What is the 'root' of a transaction receipt?

web3.eth.getTransactionReceipt returns an object with a root property and is currently undocumented in the wiki. Result: { ... "root": "...
2
votes
1answer
1k views

Parity on Windows 64bit Questions

Today I downloaded Parity for Windows. Start it with parity --author 0x9999999999999 --rpc --rpcaddr 192.x.x.1 --rpcport 8545. Then I have started ethminer ethminer -G -F 192.x.x.1:8545 When I go ...
11
votes
1answer
4k views

Structure of a transaction receipt

What does it mean line by line? Result: { "blockHash": "0xe6b110c9167d9aabeb13b02a7b9358d879426474a79170403d67da33a391dbdc", "blockNumber": 665, "contractAddress": null, "...
3
votes
1answer
97 views

Can I buy the gas within the contract code? [duplicate]

The contract contains ether. Can I buy the gas within the contract code?
17
votes
2answers
12k views

In geth, `eth.syncing` gives `false` even when blocks are imported

I issue eth.syncing and get false even when at the same time blocks are imported. Is this correct behaviour? Using geth version 1.4.6
5
votes
3answers
5k views

Build an application with Truffle + React + Redux

I'm looking for some examples about how to build a Dapp with Truffle + React + Redux. I'm able to only find this old tutorial https://www.youtube.com/watch?v=GPP6uAq15d8. Does anyone have some other ...
10
votes
2answers
5k views

Manually execute transactions using testrpc and truffle

I started doing a bit of work in the geth console: geth --dev console but have moved to developing using truffle. To debug in the geth console, I'm used to executing the following: eth....
18
votes
2answers
4k views

Can I use the same private key for Ethereum and Bitcoin?

Both Bitcoin and Ethereum private keys are usually a 256-bit number, isn't it possible to use the same private key for both Bitcoin wallets and Ethereum accounts? For instance, the Bitcoin wiki ...
21
votes
1answer
2k views

Are events permanently stored and reliably available to contracts in the future?

I've seen this forum post about using Ethereum as an event store: Events in Solidity, using blockchain as eventstore. However, it doesn't seem conclusive. For instance it says: I confirmed with ...
3
votes
1answer
135 views

Stack to deep workaround for object “ instantiation ”

I'm have an object with around 25 fields in it. int idOfObjectTracker; mapping (uint => object)listofobjects; struct object { string _1; string _2; ... string _25; } i'm trying to " modifiy ...
3
votes
1answer
1k views

How Geth and Parity knows the global gas limit?

As said in Péter Szilágyi post DAO Wars: Your voice on the soft-fork dilemma: Miners supporting the DAO soft-fork can do so by starting Geth 1.4.8 with --dao-soft-fork. This will cause the block ...
3
votes
1answer
182 views

How to check if a mining pool runs the forking client or not? [The DAO]

As Geth and Parity forking version are out, the switch to a soft fork related to The DAO is said to happend on block 1800000 if block gas limit is below or equal to 4M. We can see global gas limit on ...
4
votes
0answers
69 views

How can I link the serpent compiler to geth?

geth offers the function eth.compile.serpent. However, when I try to provide some source to the compiler, it returns The method eth_compileSerpent does not exist/is not available. I wonder: How can ...
4
votes
1answer
123 views

Is the DAO incident being investigated by law enforcement?

In current discussions about the DAO incident many people are using words like "theft" and "crime", while others say all transactions were stictly in accordance to a (maybe grossly unfair but) valid ...
0
votes
0answers
19 views

Can I run an online forum on Ethereum [duplicate]

This question is related to my previous question: can I run an online forum on Ethereum, or a stand of free books on a given topic? Could these be considered blockapps? Thanks.
7
votes
1answer
4k views

Executing custom JavaScript Snippets through Non-Interactive console (geth --exec)

I have a JavaScript snippet to get the latest transaction to/from an account. After starting the geth instance, I did this in the interactive JS console: jsFunction is a function in filename.js &...
0
votes
1answer
59 views

Ethereum and bullying and possible coersion to delete by third parties [closed]

I am new to Ethereum. I want to use Ethereum to allow the voice of a number of oppressed groups I have knowledge of to be: voiced spread accessible from anywhere and unhidden anonymously contributed ...
7
votes
1answer
8k views

How to convert a uint256 type integer into a bytes32?

Since both types, uint256's and bytes32's space are 2^256. How to map an uint256 type integer into bytes32 type in Solidity ?
7
votes
2answers
2k views

getTransactionCount with 'pending' not working?

Sending Ethereum transactions requires incrementing the nonce properly. In a typical application, there can be concurrent and/or consecutive requests to transfer from the same address. Most solutions ...
4
votes
1answer
395 views

Out of gas in subcontract

If I send ether from contractB to contractA, then get error "out of gas". Increase the amount of gas does not help. In "VM Trace Transaction" http://testnet.etherscan.io/vmtrace?txhash=...
4
votes
1answer
350 views

Contract code not executing from web3, works from Mist

I seem to be having a problem w/ contract code not executing when called from web3 (works when called from mist). The Eth goes to the contract, so I know it is making the call at least. I am calling ...
5
votes
1answer
1k views

How to import Oraclize module?

I am trying to follow an Oraclize example, with this source code and compile it using Mist: /* Kraken-based ETH/XBT price ticker This contract keeps in storage an updated ETH/XBT price, ...
15
votes
4answers
4k views

How do I transfer balance to another address? w/o syncing with network

I have a single ethereum address that has ether in it from 2015 when I was playing around with Geth and the CLI. I have removed the blockchain and associated homebrew files from my computer. How can I ...
3
votes
0answers
709 views

Can you make HTTP calls with Solidity? [duplicate]

I want to create a very close to random number generator for a smart contract which I would like to do HTTP calls to webservices to do. Is that able to be done with Solidity? I am just digging into ...
2
votes
2answers
2k views

How do I remove account(s) from the mist?

Running 0.7.5 Version on Mac. Don't see any possibility to remove accounts. They are test ones, with zero balance.
3
votes
1answer
77 views

MIX IDE on MacOS El Capitan. How To Install, step by step please?

So I've been scouring the web trying to find a way to install MIX IDE and start developing dapps. But wherever I look, the steps seem to be outdated or contradict another site's steps. Now I'm very ...
39
votes
8answers
23k views

Where are my keys and chain data located if I am using Parity?

Switched from geth to Parity and wondering where my information now is. Thanks.
18
votes
3answers
5k views

send VS call - differences and when to use and when not to use

Can somebody please explain the differences between using a send and call for contracts and when to use and not use these different methods? For example : msg.sender.send(number); msg.sender....
1
vote
0answers
25 views

Why are some drivers better than others? [duplicate]

I noticed that most people prefer NVIDIA 347.52 drivers, and AMD 15.12 drivers. I understand that the hashrate improves, but does anyone know what really changes how good the driver is at hashing?
4
votes
1answer
116 views

Did the spamming counter-attack on The DAO attack work to slow down the attacks?

This question was asked in the comment section of What does TheDAO counter-attack by spamming actually do? (suggested by Stephan Tual). Background links: The attacks used a recursive call ...
7
votes
1answer
652 views

How much would 51% attack cost?

I was thinking about situation where for example NSA would want to gain control over significant portion of Ethereum network. How much would it cost to for example create mining pool that would be ...
5
votes
1answer
465 views

Solidity compiler doesn't work in the Javascript Console

I'm using Geth 1.4.5-stable along with Solc version 0.3.5-0 both on Linux. It is run on a Digital Ocean server. I have a fully synced testnet chain and I'm trying to compile contracts from within the ...
7
votes
1answer
144 views

Is a suiciding contract susceptible to re-entrancy?

If my contract calls suicide() referencing a contract as the recipient of funds, and that recipient contract default function calls back into my contract, will the call succeed? contract A { ...
3
votes
1answer
892 views

What are those multiple transactions in the transaction pool?

I am running geth. Via txpool.content.pending I am looking at the transactions that my node currently sees. It gives me a bunch of transactions by their transaction hash (I think), in the below ...
1
vote
1answer
248 views

Are contract confirmations essentially executed for free?

Reading this question and this one, it's not clear to me whether the full nodes execute contract code for free. From my understanding, the client has to pay an amount of ether prior to making a ...
1
vote
1answer
455 views

Ethereum network transaction confirmation coverage

Roughly, how many miners have to confirm the authenticity of a transaction in order for it to be added to the block chain?

15 30 50 per page
1
536 537
538
539 540
580