I'm trying to mine ethereum with geth. I want to use 2 windows PCs for mining. First off, I don't know how to connect ethereum public network with the same account from these 2 PCs. What I did is as follows.
I connected ethereum public network with geth from PC1.
geth --datadir "public" --syncmode fast --cache 2048 console 2>> public/e01.log
Then I made an account on PC1.
personal.newAccount("password")
But I don't know how to "login" this account from PC2. I searched a command of "login account", but I couldn't find it. How can I connect the same account from different PCs?
Second, it seems that I lose what I mined when I close geth. I started mining.
miner.start()
Then I checked I made some blocks.
eth.blockNumber
But after I reboot geth, I found that the block I made was gone. I thought the result of the mining is stored on the public network, but it isn't?
Sorry for this naive question, but please tell me what I missed.