coinbase = 0 with Frontier

jagagnejagagne Member Posts: 12
Started mining last night with Frontier/Genesis block. Everything seems to be working evidence with the below, but coinbase is still at 0. Hashrate is ~87k right now. This is cpu mining, which I know has been stated is not efficient enough, but haven't heard if GPU mining is available in Frontier. Is there a flag I should set for go-ethereum?

Details:
anager.go:672] imported 1 block(s) (0 queued 0 ignored) including 0 txs in 8.704398ms. #141 [5eca9952 / 5eca9952]
I0731 07:05:48.391168 3718 worker.go:489] commit new work on block 142 with 0 txs & 0 uncles. Took 1.315394ms
I0731 07:06:23.805424 3718 chain_manager.go:672] imported 1 block(s) (0 queued 0 ignored) including 0 txs in 6.882302ms. #142 [ca410ac4 / ca410ac4]
I0731 07:06:23.807056 3718 worker.go:489] commit new work on block 143 with 0 txs & 0 uncles. Took 1.309ms
I0731 07:08:28.441160 3718 chain_manager.go:672] imported 1 block(s) (0 queued 0 ignored) including 0 txs in 7.838499ms. #143 [ba2529f9 / ba2529f9]
I0731 07:08:28.443193 3718 worker.go:489] commit new work on block 144 with 0 txs & 0 uncles. Took 1.654344ms
I0731 07:12:46.888259 3718 chain_manager.go:672] imported 1 block(s) (0 queued 0 ignored) including 0 txs in 6.784566ms. #144 [73ead22e / 73ead22e]
I0731 07:12:46.889844 3718 worker.go:489] commit new work on block 145 with 0 txs & 0 uncles. Took 1.280468ms

Comments

  • jagagnejagagne Member Posts: 12
    BTW, congrats on Frontier! Very cool!!
  • skithunoskithuno Member Posts: 74
    One last check before you start mining, make sure your coinbase account (the account where your mining rewards will be deposited) is set. You can check this by typing the following inside the geth javascript console:

    web3.eth.coinbase


    If this returns '0x0' that means you're mining rewards will get sent into a big black hole. Fix this by typing the following inside the geth java scrypt console:

    web3.miner.setEtherbase(web3.eth.accounts[0])
  • jagagnejagagne Member Posts: 12
    > web3.eth.coinbase
    '0xaa1668242f062fc0a1e568f7d6d70b96284b784a'

    > web3.eth.getBalance(web3.eth.accounts[2])
    '0'

    I actually have a couple other accounts still registered on this box from testnet not used but checked them as well. Everything returns '0'.
Sign In or Register to comment.