NOTE: I'm aware of another question, but, it's related to 'fast' syncmode, and mine is of 'light' syncmode.
I'm running light node client for rinkeby using command:
geth --rinkeby --rpc --rpcapi personal,db,net,eth,web3 --syncmode=light
There was a break of more than 7 hours and after the restart, the current state of 'sync':
> eth.syncing
{
currentBlock: 504738,
highestBlock: 2408225,
knownStates: 1149444,
pulledStates: 1142442,
startingBlock: 482170
}
I've two personal accounts, on rinkeby and they both have some ether:
0xf5120faca20afab4628c0270cff819348f612d6e has 18.589374 Ether 0xde51c26902f78a69bc3a5143d19e9dcff8607520 has 3.1605 Ether
But, in my local console the balance is shown as 0, why?
> eth.accounts
["0xf5120faca20afab4628c0270cff819348f612d6e", "0xde51c26902f78a69bc3a5143d19e9dcff8607520"]
> web3.eth.getBalance('0xf5120faca20afab4628c0270cff819348f612d6e')
0
> web3.eth.getBalance('0xde51c26902f78a69bc3a5143d19e9dcff8607520')
0
Should I wait for sync to be 'finished' in 'syncmode=light' before I could check account balance OR transact using the account?
NOTE: I'm aware of this question, but, it's related to 'fast' syncmode, and mine is of 'light' syncmode.