Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eth.coinbase missing keys #909

Closed
ghost opened this issue May 11, 2015 · 1 comment
Closed

eth.coinbase missing keys #909

ghost opened this issue May 11, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented May 11, 2015

I'm generating massive accounts for the challenge and it appears I have run into some issues. This my second run at it and it appears to return. After about 7000 accounts or so the contents of the coinbase key goes missing. The function im running is below and the contents after. Maybe its an OS limitation, but unsure

function massaccounts() { var i =0; while (i < 10000000) { admin.newAccount('password') i++; }; eth.accounts };

eth.coinbase

'0x07b88654dc8ab7980c50d427a76ec41c053fde'

admin.unlock(eth.coinbase)

Please enter a passphrase now.

Passphrase:

Unlock account failed 'open /root/.ethereum /keys/07b88654dc8ab7980c50d427a76ec41c053fde/07b88654dc8ab7980c50d427a76ec41c053fde: no such file or directory'

false

thor ~ # geth account list | head

Welcome to the

FRONTIER

Primary #0: {0007b88654dc8ab7980c50d427a76ec41c053fde}

Account #1: {000bee25c56edc54eef1dc18cf21a12ac319dca7}

Account #2: {000c9c00c439e505143ba629c5d80e53cf6af1b0}

Interesting the key file is there on the file system as 0007b88654dc8ab7980c50d427a76ec41c053fde but on the eth.base says 07b88654dc8ab7980c50d427a76ec41c053fde. It was correct before the massive account creation, it has now somehow padded the address with an additional 0

Unlock account failed 'open /root/.ethereum/keys/07b88654dc8ab7980c50d427a76ec41c053fde/07b88654dc8ab7980c50d427a76ec41c053fde: no such file or directory'

thor keys # ls -la | grep 07b88

drwx------ 2 root root 4096 May 10 17:51 0007b88654dc8ab7980c50d427a76ec41c053fde

@ghost
Copy link
Author

ghost commented May 11, 2015

eth.coinbase changes after far less than 7000 accounts.

admin.newAccount()
The new account will be encrypted with a passphrase.
Please enter a passphrase now.
Passphrase:
Repeat Passphrase:
'0x4d4e2bb083beb15c0270dc32b51b74ca43b22397'
eth.coinbase
'0x4d4e2bb083beb15c0270dc32b51b74ca43b22397'

function massaccounts() { var i =0; while (i < 10000000) { admin.newAccount('password') i++; }; eth.accounts };
massaccounts()
eth.coinbase
'0x01c30e1a5d5b6c270c2f540626f92c838c4288f7'

function massaccounts() { var i =0; while (i < 10000000) { admin.newAccount('password') i++; };
massaccounts()
eth.coinbase
'0x81d52d6830df379d43426327c4483ba2848c8d'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant