mining with private network does nothing

psmadjapsmadja Member Posts: 7
Hello,
I am new with ethereum and cannot mime on private network.
I installed geth and run it as follow

geth --genesis ~/test/genesis.json --datadir ~/.datadir --networkid 123 --nodiscover --maxpeers 0 console

I have 3 accounts A,B,C C is affected to miner.
The 3 accounts are unlocked.
I sent a transaction from A to B

I start the miner: miner.start(3) and wait for a while
transaction is always pending.

> eth.pendingTransactions
[{
data: "0x",
from: "0x8d2c2b1d12db5cec4df0c2d633042cbaeb2bcb9f",
gas: "90000",
gasPrice: "54455500000",
hash: "0xeb77260ac063ebf12ea32f49f05f95b460e5ce415299fadbe04d18db8c926cbf",
nonce: "0",
to: "0x3b8b608058bc957a713d6221a9058797726f8128",
value: "1000000000000000000"
}]
> eth.getBlock(0)
{
difficulty: 1024,
extraData: "0x00",
gasLimit: 134217728,
gasUsed: 0,
hash: "0xe78a4c02806ac4c7342dc867b17ad55c154c4eb922eb1e9541436f7059a14c5d",
logsBloom: "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
miner: "0x3333333333333333333333333333333333333333",
nonce: "0xdeadbeefdeadbeef",
number: 0,
parentHash: "0x0000000000000000000000000000000000000000000000000000000000000000",
receiptRoot: "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
sha3Uncles: "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
size: 507,
stateRoot: "0x005d78daf8b6ffd78ef44a77d138e4bc3364cea639e49fa1acaf3835d1f22582",
timestamp: 0,
totalDifficulty: 1024,
transactions: [],
transactionsRoot: "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
uncles: []
}

BTW. admin.sleepBlocks(1) never returns
Thanks for your help

Comments

Sign In or Register to comment.