I'm running a private ethereum development network with 3 nodes connected to each other. Before asking my question, something about my setup. This is how I start those nodes:
geth --networkid 2345 --datadir /some/dir/01 --rpc --rpccorsdomain "*" --rpcapi "db,net,web3,miner,eth,personal" --port "30301" --rpcport 8101 --maxpeers 2 --identity "MyChain01" console
This is just the statement for one node, the others have different port numbers.
and when running:
I'm getting the other peers accordingly. When I start mining on one node, the mined blocks get synchronized to the others, so it all works good.
Now here comes my question. Let's say I've created 2 accounts on Node01, 2 accounts on Node02 and 2 accounts on Node03. How could I actually do any transaction across nodes? So from account1.node01 to account1.node02?
on any given node, I only get the accounts created on that very node.
Does anyone know if there is a solution to access all accounts from all connected nodes? Maybe I'm missing a trick here, but I couldn't really find anything that would explain how to do that.