Linked Questions

24
votes
6answers
7k views

How to make miner to mine only when there are Pending Transactions?

As of now the geth miner running on my system mines even empty blocks. All i wanted is miner should mine only when there are Transactions to mine, after mining the miner should immediately sleep. ...
14
votes
7answers
7k views

Block explorer running on private network

Is there any application out there that allows me to explore the Ethereum blockchain in a private network? (something similar to what blockchain.info does to bitcoin or etherchain does to ethereum ...
11
votes
6answers
23k views

How to get transactions by account using web3 js?

I'm sure this question was asked before, but I did not find any result that helped my problem. How can I get the transactions (in and out) for a given account? I use nodejs and web3? With this line ...
18
votes
3answers
17k views

How to list transactions from account address?

I have a small service where people can exchange cryptocurrencies. Every user has its own Bitcoin, Litecoin, etc address for balance deposit. Now I want to add Ethereum. So I thought I will create ...
17
votes
2answers
2k views

In a private blockchain, why do miners keep adding empty blocks to the blockchain?

I have been working on a private blockchain and observed that a miner, when started, keeps on adding empty blocks with no transactions to the blockchain. Why is this happening? It doesn't make any ...
9
votes
3answers
6k views

How can all transactions sent to an address be found?

Currently it is possible to see only the last 100 transactions from sites like etherchain (link to TheDAO contract transactions), how can all transactions sent to an address be seen?
4
votes
2answers
6k views

How to obtain all transaction of a contract?

I'm trying to obtain the all transactions of a contract, but in all cases i only obtained [] or undefined. I'm following this posts: Common useful JavaScript snippets for geth web3 filter option not ...
4
votes
2answers
3k views

How do I print my account balances and TheDAO tokens from geth

Is there a convenient script to print out my account balances and TheDAO tokens from the go-ethereum client geth?
9
votes
2answers
2k views

How do I know if a submitted block became an uncle?

We need to detect that the submitted work became an uncle. How would I do this with geth api? I thought of checking the submitted block number later for any uncles that match my block's hash. Is there ...
6
votes
4answers
2k views

Find the creator of a contract

I want to prove that a contract was deployed by a specific address (a factory contract). I have noticed that block explorers such as https://etherscan.io/ list the contract creator. How do they get ...
2
votes
2answers
7k views

Getting transaction history for a particular account

I want to get the list of all the transactions which have been performed by/on an account in my private blockchain. I tried using the function getTransactionsByAccount(accountAddress, ...
4
votes
2answers
5k views

How to query local Ethereum blockchain for a specified transaction?

I want to find specified transaction. How can I query my local Ethereum blockchain from the console?
4
votes
1answer
2k views

Is there a way in web3 to get a transaction by address and nonce?

I know I can get the current nonce using eth.getTransactionCount(address), but I'm looking for something like eth.getTransaction(address, nonce) (for arbitrary nonce), similarly to eth....
4
votes
1answer
4k views

How to use miner.start(2) from javascript

Refering to "Common useful JavaScript snippets for geth" Got Following example to run miner from javascript: Mine only when there are transactions! var mining_threads = 1 function ...
5
votes
1answer
2k views

Listing transactions in a private blockchain?

In a private blockchain, is it possible to list the transactions based on from and to parameters in a transaction. Is it possible to check the latest transaction from or to an address? Also, is it ...

15 30 50 per page