All Questions

Filter by
Sorted by
Tagged with
5
votes
1answer
674 views

Can you solo mine directly to an address you don't have the private key for?

Is it possible to solo mine directly to an address you don't have the private key for. I would like to directly mine into my exchange address. Thank you
5
votes
2answers
693 views

Calling specific functions within a contract using pyethereum

I've been going through this tutorial and got to the part where the contract is being sent to the block chain: pyethtool applytx $genesis $tx which should give the output: {“result”: “...
5
votes
1answer
1k views

Accessing the last function parameter from msg.data

I have a fallback (unnamed) function in my contract and I know that the last parameter (or first, does not matter) passed is always an uint. Is it possible to somehow access it though the msg.data?
19
votes
2answers
5k views

What is the zero value for a string?

How to verify that a string, or an enum with only string properties, is initialised or not, inside of a mapping? According to the docs, it means checking that the element of the mapping is at its 0-...
8
votes
1answer
325 views

Can you (as a node) manually choose what block to bet on in Casper?

Ethereum plans to move to the Casper proof of stake algorithm in a future version of the network. However, as nodes are betting on which block will be produced next, does that mean (as a node) you can ...
6
votes
2answers
285 views

Checking values of variables before storing them

It is common practice in programming to have some validity / integrity checking of data before storing it in a database. For instance, before storing something which is supposed to be an URI, you ...
9
votes
3answers
2k views

Create new contract via .call()

If _tois left empty, and bytecode is a new contract, should _to.call(bytecode) create a new contract ? Or is it so that when a _to address is included in the transaction then the EVM processes it as a ...
2
votes
1answer
66 views

I brought DAO tokens via Kryptokit ..I now find out the best way is to use mist - please help [closed]

I have ethereum installed. Opened terminal and mist28 running in the background. Kryptokit wallet is open in the browser and I have it backed up. I have looked and this seems to be possible. Can ...
8
votes
1answer
1k views

Following token tutorial on ethereum.org, get error message "No data is deployed on the contract address"

I'm simply copying the full coin code found in this tutorial to deploy a contract on the testnet using mist, but I get the error message "No data is deployed on the contract address". The contract ...
4
votes
3answers
666 views

Can a contract know sender's address creation date?

My contract should have a function that reads the creation date of the sender address. Possible?
6
votes
1answer
2k views

with Web3.js, display sendTransaction data field from function call

From js, I typically call a function with something like this: theFunction=someAbi.at(0x1234...); theFunction.someMethod(param1, param2, param3, {"from": 0x111222..., "to": 0x1234..., "value":...
3
votes
1answer
160 views

How to create modifers for permissioned access

I have a citizenship persona contract which acts as a personal identity file which is under the control of the user. Personas can make other personas in the system into trustees or allies. As part of ...
5
votes
2answers
1k views

Optimizing storage for an array of addresses

When possible, does Solidity optimize a storage array of address? For example, does address[8] take up 5 storage slots (160 bytes), or 8 storage slots? contract C { address[8] arr; } If 8 slots ...
8
votes
1answer
3k views

Is there a dynamic pruning in geth --fast?

Once i've downloaded the blockchain with geth --fast , is there a dynamic pruning on the up-comings blocks, or will I archive all the blocks from where I stand?
8
votes
1answer
398 views

Does more ether = more voting power in Casper?

Ethereum plans to move to the Casper proof of stake algorithm in a future version of the network. However, as nodes are betting on which block will be produced next, does that mean the more ether you ...
3
votes
1answer
930 views

Invalid jump destination error when attempting to transfer The DAO tokens

I transfered DAO tokens from a Mist wallet to another address and got this error: The following error(s) were encountered : [323] invalid jump destination (PUSH1) 2 The TxHash is ...
7
votes
1answer
3k views

geth: view all current contracts on a private testnet?

How can I query a list of all current contracts with geth? Is there a way to see the contracts' class names?
11
votes
1answer
6k views

Geth: what does "commit new work on block" exactly mean?

First intuition was that it signals that there are transactions to be mined, but even without a tx on a private net sometimes I see it three times per block I0604 10:00:49.877830 miner/worker.go:337] ...
2
votes
1answer
39 views

When is Mist 0.7.5 estimated time of arrival?

When is Mist 0.7.5 estimated time of arrival? Just that. Please don't say two weeks.
1
vote
0answers
67 views

B2B Payments through Blockchain Technology [closed]

what does it take for a large enterprise to shift from regular bank payments methods to Ethereum payments. How will it impact their supplies?
4
votes
2answers
302 views

How to add original account (address) to new mining rig

I think I have some basic misunderstanding of how this all works. I setup a mining rig on one pc, and created an address. Say I get another mining rig. I do not want to create a new address, I want ...
3
votes
1answer
43 views

Calling a function doesn't take effect if I update two mappings

I'm testing a very simple example contract MyNewTest { Student[] students; mapping (string => uint) nametonumber; mapping (uint => string) numbertoname; uint counter; struct Student { ...
4
votes
1answer
104 views

How to have a private function in Serpent?

I've been reading this tutorial on contracts and implementing them in Serpent and on the bottom of page 13: Any time we reference a function within the contract, we must call it from self (a ...
2
votes
3answers
262 views

How are end-users meant to build trust towards smart contracts (and their originators)?

One of the benefits commonly associated with Ethereum is that it allows end-users to interact directly with smart contracts and thereby removing the need for trusted-third-parties. In cases where: ...
3
votes
1answer
99 views

Does Go Ethereum have User service hooks like Pyethapp?

Pyethapp provides a simple hook to allow developers to plug-in user services that can intercept blocks and even create mini oracles in Python. Does Go Ethereum have something similar?
7
votes
1answer
594 views

How can I list The DAO proposals and vote from the command line?

Are there any command line tools to vote on The DAO proposals? I would like to: List the open proposals Check whether I have already voted on these proposals Check my voting history Vote on the ...
3
votes
1answer
42 views

Could you run Ethereum to behave like a faster Bitcoin?

Without Smart Contracts. Would that system scale better and have less technical hustles than Bitcoin itself?
5
votes
1answer
454 views

What is the fundamental value of Ethereum according to state of the art economic theory?

For example professional investor apply the Capital Asset Pricing Model (CAPM) to determine the intrinsic value of an equity. What would be the result of such a financial analysis?
2
votes
2answers
223 views

How can we address the security issues related to the executing of malicious codes?

Assume a malicious code exists in a contract (either written intentionally or not). Is there any mechanism to prevent such codes from being executed? Is it even possible to do the monitoring?
3
votes
2answers
321 views

Understanding diff bomb script results

I've been using this difficulty bomb script, but when I run it... it shows not too accurate predictions. I'm interested on the predictions about how would be the behaviour of the diff bomb since block ...
7
votes
2answers
3k views

How can I use "eth_sendTransaction" to invoke a contract and get logs?

I have deployed: contract test { function multiply(uint a) returns(uint d) { return a * 7; } } I can call the contract with "eth_call" : mpsp@ubuntu-slave2:~$ ...
5
votes
2answers
6k views

How to transfer DAO from MyEtherWallet to Kraken? (DAOs transfer method)

Related: Transfer DAO's from Myetherwallet to Kraken How to withdraw Ether from The DAO? MyEtherWallet screenshot: The balance is low because all Ether was invested in DAO. Here is the Kraken ...
6
votes
2answers
252 views

Is supplying new ETH prohibitive with Casper or an economic decision?

It has been said that the creation of new ETH will be discontinued with Caspar and PoS. Is there a fundamental reason why this is necessary, rooted in the protocol or is this a deliberate decision by ...
5
votes
2answers
812 views

Is it possible to prevent nodes from mining on a private blockchain?

Is it possible to prevent mining on a closed block chain, in a sense that only a set of addresses are allowed to perform transactions but are not allowed to mine? Mining should always be done by a ...
1
vote
1answer
80 views

Is there any other way to implement the blockchain synchronization less time consuming?

If we implement another way of synchronizing the blockchain, for example distribute it on several nodes and make groups of nodes handle the whole copy of blockchain instead of single nodes, (in order ...
2
votes
2answers
920 views

How can I use ln -s to to make a symlink to the Geth chaindata on an external SD card?

How can I use ln -s to to make a symlink to the Geth chaindata on an external SD card? I download the Geth chaindata to an external SD card to relieve the internal hard drive from the hard work. ...
2
votes
2answers
272 views

What's the deal with GAS in Ethereum? [duplicate]

What benefits exactly we get from using gas in the network and why do we need it?
3
votes
0answers
30 views

No event after a struct push in solidity [duplicate]

I am testing a contract with Truffle, which code is : Contribution[] public contributions; struct Contribution { address participantAddress; string name; uint timestamp; uint amount;...
5
votes
2answers
385 views

Can the stalker attack in TheDAO be stopped?

https://github.com/slockit/dao/wiki/Why-The-Stalker-attack-is-a-non-issue#a-way-to-guarantee-you-get-your-eth says: Assuming the attacker also voted yes in all of the new Curator Proposals, in ...
5
votes
2answers
4k views

Error: account is locked. Attempting to send ether from one account to another, Local Node on Private Blockchain

What is the correct process to unlock an account? I was able to do this successfully in the geth console(see this post for more details on what I've tried Why does account show 0 balance, after ...
5
votes
2answers
325 views

Is it possible to time a transaction such that it is the last in a block?

Is there some method to create a transaction and make sure that it is the last in that block? If not, how close can you get to being last? The reason I ask is that the following page depends on that ...
5
votes
1answer
1k views

Why does account show 0 balance, after seemingly successful transaction in geth console?

It seems I've made a successful transaction from account[0] to account1. Why does account1 still have a 0 balance? > var sender = eth.accounts[0]; undefined > sender "...
2
votes
1answer
223 views

Error: common: unmarshalJSON failed: hash must be exactly 32 bytes(…)?

I have a simple meteor app that is running on a local node on a private chain. I am attempting to send some ether from one test account to another, and I get the following error, from inside the getR()...
9
votes
2answers
5k views

Is JSON-RPC error behavior documented?

Running geth, it's easy to see what its implementation of JSON-RPC does on errors: $ curl -X POST --data '{"jsonrpc":"2.0","method":"eth_compileSolidity","params":["contract test { function multiply(...
2
votes
1answer
159 views

Ethereum network topolgy in private and main nets

I was wondering, what do the peers the ethereum client connects to, do? Do they store the blockchain, fragments of it, or point to other nodes that store it? From a topology perspective, how does the ...
4
votes
2answers
686 views

What property makes Proof of Stake easier to apply in permissioned blockchains?

There are a number of efforts driving towards the transition from the current proof-of-work towards proof-of-stake (more info here). Meanwhile proof-of-stake is already in use in some permissioned ...
6
votes
3answers
2k views

Does deploying a contract mean it will overwrite the last instance?

I must have missed something about deploying contracts, but to be sure: I'm using Truffle, Does deploying a contract mean it will overwrite the last instance? Since I see that it gets a new address ...
6
votes
1answer
879 views

Can you execute a contract twice in one block? [duplicate]

If you call a contract with two different tx from different account, can they be executed and mined in the same block? If yes how do you guarantee order and concurrency integrity like deadlocks?
3
votes
1answer
231 views

Solidity Smart contracts vs Human contracts

A few things that I can't seem to clarify about writing solidity contracts: Is it possible to write a contract that embodies a human readable contract like: Two people agree to X under Y condition ...
4
votes
0answers
152 views

Genesis.json permanence and updating the blockchain

I understand that the initial genesis.json attributes are a permanent thing, and it cannot be changed retroactively. But what I want to know is which parameters are changeable afterwards and how? ...

15 30 50 per page
1
790 791
792
793 794
827