Sorry for double post, but I think I posted in wrong thread.
I created a wallet address and start the CLI with following command:
[email protected]$ geth --unlock=primary --loglevel=3 --maxpeers=50 --etherbase "primary" console
I enter my pwd and start mining:
> admin.miner.start()
I get a hashrate of around 730, which proves to me it's hashing. I also get messages like the following, which seems to indicate I mined a block that should contain some test-eth blockreward, am I right?:
I0430 07:12:14.756338 2754 worker.go:324] commit new work on block 206492 with 0 txs & 0 uncles
I0430 07:12:25.930185 2754 chain_manager.go:605] imported 1 block(s) 0 queued in 4.449108ms. #206492 [3231347b / 3231347b]
I0430 07:12:25.930244 2754 worker.go:193] Mined block #206492
I check the balance with following command:
> eth.getBalance(0x13bf27ad7781e484a0c68752f3bc949cf4262158)
'0'
Is this the correct way to check balance, since the balance just remains at '0'?
Since I tried this for a couple of days now, I think there should be enough confirmations to add balance to my address, shouldn't it?
Comments
sorry to bother you, but I don't know if I found the right answer on the forum already and do it right, cause the balance of my ether address doesn't change while mining!?
I created an primary address and start the miner in that way: I enter my pwd and run following command in the CLI: I get a hashrate of around 730, which proves to me it's hashing and I regularly get messages like this, which seems to indicate I mined a block that should contain some test-eth blockreward, am I right?: Since I tried this a couple of days now, I think there should be enough confirmations to add balance to my address.
I check the balance with following command: Is this the correct way to check my balance, since the balance never changes? Thanks for help!
/tmp
directory (which is where the DAG is stored) is cleaned up.Type putting the account number in quotes (single or double). For example: You'll notice that the addresses are printed in a collection as quoted strings: This is the same when checking your coinbase: Which allows you to chain commands like so:
I'm kind of stuck until I can understand this. The example js script "balance.html" (https://github.com/ethereum/web3.js) always returns a zero balance.
0x4aed8f852020e7596da9ac7f6f0b562864c48bb2
has no funds;2.
eth.getBalance()
defaults to the empty hash00000...00
. It so happens that someone (actually a few people) mined in to the void (ether!? (-:) by mining to the default00000...00
address.I0910 19:17:42.148114 862 chain_manager.go:661] imported 1 block(s) (0 queued 0 ignored) including 4 txs in 152.558316ms. #215946 [1d7eac84 / 1d7eac84]
I0910 19:17:42.171990 862 worker.go:540] commit new work on block 215947 with 0 txs & 0 uncles. Took 9.348232ms
I keep getting zero balance when I check my balance using all methods.
> eth.getBalance(eth.coinbase)
0
used also the address instead of eth.coinbase with single and double quotes to get only the syntax error.
(anonymous): Line 1:16 Unexpected token ILLEGAL (and 3 more errors)
invalid address
Ether shows up on etherchain:
But not in console:
> eth.getBalance("0xd694dda8677acf9168b36ee3eca157bfda55d077");
0
> eth.getBalance(eth.coinbase)
0
> web3.fromWei(eth.getBalance(eth.coinbase), "ether")
0
Any Ideas?
https://ethereum.gitbooks.io/frontier-guide/content/devp2p.html
Assuming you have geth running in the background, this little script should print your balance at the linux prompt.
> eth.getBalance("0x7fa62e50ffa9bd556c15ff4447526ae1b641aa36")
0
> eth.getBalance(eth.coinbase)
0
but https://etherchain.org/account/0x7fa62e50ffa9bd556c15ff4447526ae1b641aa36 shows 3
I want to send the 3 to an exchange. but when using command:
eth.sendTransaction({from:eth.accounts[0], to:"0x4e12b112140dab9dc3fa9dfdce7df645dfc323d4", value: web3.toWei(3.0006361678, "ether")})
I get the following response:
Please unlock account 7fa62e50ffa9bd556c15ff4447526ae1b641aa36.
Passphrase:
Account is now unlocked for this session.
Account does not exist or account balance too low
at InvalidResponse (:-81662:-136)
at send (:-156322:-136)
at sendTransaction (:-133322:-136)
at :1:1
Any suggestion how to transfer the funds from the account 7fa62e50ffa9bd556c15ff4447526ae1b641aa36?
> eth.accounts
["0x3de13efefeff878487b89fbaa3b30f19f1349295"]
> personal.unlockAccount("0x3de13efefeff878487b89fbaa3b30f19f1349295", ...)
true
> eth.getBalance(eth.coinbase)
0
no ports are blocked in my network
I am mining for a while, this is the sample log from ethminer and this is from geth What can be the reason?
Thanks