Most Popular
1500 questions
18
votes
1 answer
Are pending transactions "dropped" and "reinstated"?
I tried a simple transfer of ether between two accounts using geth, but set quite a low gas price (2 gwei). After two hours the transaction was still showing in geth under eth.pendingTransactions - I assumed this was due to lack of demand to mine at…
nick101
- 277
- 1
- 3
- 6
18
votes
3 answers
How do you work with Date and time on Ethereum platform
Is there a way to access Date object in solidity like in JS? If so, wouldn't it be wrong to call solidity deterministic? So i guess if it called so, you can't. So the question is - how do you work with time?
P.S. i would appreciate code snippets)
Piliponful
- 325
- 1
- 2
- 7
18
votes
1 answer
What is state-trie pruning and how does it work?
Several sources mention the idea of state-trie pruning. What is that, and is it currently being implemented on the network? Is this a manual process or can it be done automatically? If Ethereum is currently processing 1 GB per month under the…
high110
- 4,756
- 1
- 21
- 43
18
votes
2 answers
Why is the launch of homestead important?
There seems to be an expectation that the launch of homestead will increase the value of ether and improve the network somehow? What changes are coming?
high110
- 4,756
- 1
- 21
- 43
18
votes
4 answers
How to schedule a transaction?
Anyone can guide me on how to schedule a transaction to be sent once a specific block number is mined?
Thanks
Youssef
- 283
- 2
- 7
18
votes
6 answers
send ethers from one contract to another
I am wondering how can I have ethers in my contract. I have 2 contracts associated with different accounts.
I want to send ethers from one contract to another but how do I have ethers in my contract first to be able to send it ?
Here is the…
Pawan
- 191
- 1
- 1
- 3
18
votes
4 answers
How can I call a constant function without spending any gas inside a transaction function?
I have a sorted linked list that contains around 1000 items. When I receive a new item my goal is to push the item to the list keeping the sorted order. So if I receive very small value, I am required to iterate all the list to find the tail of the…
alper
- 8,395
- 11
- 63
- 152
18
votes
3 answers
Where do I see the current DAG size?
Where do I see the current, exact DAG size? Is it being tracked on a website somewhere, or is it something I can check on my miner?
JCor1
- 181
- 1
- 1
- 3
18
votes
6 answers
Best way to test a smart contract
I just want to deploy and call a simple sample smart contract only for testing purpose. Do I need to download the entire ethereum blockchain? Its too huge and takes too long to download. Can someone suggest a better option?
Ashish Sinha
- 901
- 3
- 10
- 18
18
votes
2 answers
EthereumJS: How to get public key from private key
I am trying to create a private key and its corresponding public key using EthereumJS library. So far so good I've been able to create private keys using keythereum.create() method. Nevertheless I find myself stuck when dealing with public key.
I…
Juan Ignacio Pérez Sacristán
- 3,550
- 9
- 43
- 73
18
votes
7 answers
How to call "geth attach" on --testnet better than writing full path?
I want to connect to my running geth --testnet.
If I run geth --testnet attach, just like geth attach I get :
Fatal: Unable to attach to remote geth: dial unix /user/.ethereum/geth.ipc: connect: no such file or directory
Which is normal, because…
Teleporting Goat
- 1,516
- 1
- 13
- 33
18
votes
1 answer
Execution of Fallback function with more 2300 gas
I have tested a contract having a fallback function which updated a state variable (cost 5000 gas). I sent an amount of Ether to this contract with 100000 gas limit. The transaction is valid. As explained in solidity considerations, it should be…
Luan Do The
- 181
- 1
- 3
18
votes
3 answers
what is block.timestamp
In a function, does block.timestamp record the time the transaction was processed, or the time the block.timestamp computational step was processed?
Is block.timestamp the time the transaction is processed, or would time and time2 differ ?
function…
iamlearning
- 181
- 1
- 1
- 3
18
votes
4 answers
Ethereum Vanity Address generators
Are there any Ethereum vanity address generators available other than:
Vanityreum (python)
Vanieth (go)
Which is the fastest? Can they be optimized further?
What is the use-case of vanity addresses compared to normal addresses?
makevoid
- 2,471
- 1
- 13
- 23
17
votes
2 answers
Can Solidity view/pure functions be arbitrarily complex?
Non-constant functions are limited in computational complexity by the block gas limit. I assume, but am not sure, that this does not apply to view/pure functions. Are view/pure functions in any way limited in computational complexity other than the…
SCBuergel
- 8,774
- 7
- 38
- 69