I am trying to add static peers by
static-nodes.json file but with this version it does not work. What is the way to do it ?
If I add peers with
admin.addPeer() it works, but if I am using
--syncmode light it doesn't.
Also, I am trying to use
--mine in the command line and it does not work neither. It stops in
INFO [02-05|16:45:52.368] Commit new mining work. It just runs if I add miner.start() in the console.
UPDATED: adding peers by static-nodes.json works but it doesn't if it is a light node