There is a bit of a trick to run a Geth node with multiple unlocked accounts. It has to do with how to pass in the parameters.
There are two parameters to focus in on. The
unlock and the
The first, the unlock accepts a list of accounts or a list of indexes into your account list. To keep you command line short you can, for example, pass in "0, 1" to unlock your first two accounts.
Next, you need to get your password passed in if you are starting geth from a script. The way to do this is to put your password in a file and pass that file in through the
A point to remember when developing using geth locally. If you end up with multiple geth instances running you will get confused. Here I was running a geth instance in the background under screen. Today, not remembering it was there I started
testrpc and then got the following error.
Error: Error: could not unlock signer account
So as a suggestion do a
ps aux | grep geth once in a while.
Ran across this article the other day.
"Inside the world of Silicon Valley's 'coasters' — the millionaire engineers who get paid gobs of money and barely work"
What I found myself thinking about after reading it was an experience I had at a company where they had setup a similar situation after buying a startup. But, in this case the situation was different in an important way. The company put the startup people in charge of their own group and told them to run it. The acquiring company didn't put one of their own in charge. They just assumed the startup would work within the larger company without any strong tie back into the buyer.Continue reading →
A log of a session showing how to check account balances and then send ETH. In this example I'm running a geth console on a local node and I want to send 10 ETH to two different accounts.
First, I list the accounts and then see how much ETH I have in the default account.
> personal.listAccounts ["0x634b8e79b0155e5ac1403c2fe4b1d30f2fc6b931"] > web3.fromWei(eth.getBalance(eth.coinbase)); 83.997039
Before attempting to send I need to unlock the account. This prompts you for your password.Continue reading →
A tip for working with org-mode. The situation is where you have a large outline but want to extract just the headers. Say you want to expand only two levels and want to extract only those headers.
The key is
Expand your tree so you only see what you want to extract. Then select the tree and execute
org-copy-visible (C-c C-x v).
Then paste the extracted headers somewhere else.Continue reading →