proof-of-work unit test #19
added wallet restore (to local storage) #20