Straight up this don't happen with any other coin, so don't blame hardware, just not going to put up with that .... it's the one and only coin I have ever had do it, on top of which it happens on all platforms, again, don't blame hardware. Don't mean to be rude, I am asking for a fix to this, not to have my hardware be blamed for something no other coin has ever had the problem of.... thanks for your input
Besides the fact OkPay is PoS coin, which could add to te number of wallet operations, it might happen this has to do with OKCash wallet being "HD wallet" - based on a newer version of Bitcoin core. Most other altcoins still use older sources, which may handle wallet IO operations differently. Do you run other coins having HD wallets?
BTW, just an additional note regarding wallets on Pi (as you mentioned you have one) - I hope you do not run wallets from SD card. Running any kind of coin wallet on SD card will eventually kill the card very quickly, so you will end up with damaged filesystem after next boot-up (regardless of it being caused by hard- or soft-reset). I have killed few SD cards that way before moving the wallet directories to external USB or NFS HDD. I don't know how you run your RPi, so this is just my advice to everyone -
never run coin wallets from SD card This mean - do not keep coin directory (where the wallet.dat and blockchain files are located) on the SD card!!
Just my 2 cents...
Cheers!
Great advice, only killed one SD card and luckily saved my wallet. Run from HD for sure
OK, I will out myself as an SD-card-on-a-RPi-staker.
I am running my wallet with a SANDISK-ultra on a RPi2 24/7 for over a year and without any problems.
I do backup the data directory as a zipped tar-archive from time to time (the wallet should be backed up anyways - whether HD or SD).
The SANDISK card is quite foregiving with powerfailures - though I had only one in the last year - but no corruption of the card after rebooting.
But there are a few things, that should be done before running the wallet.:
- completely deinstall dphys-swapfile - one could only deactivate it, but after rebooting swapping would be active again.
Swapping is a bad idea, at least on an SD-card, because when your memory gets exhausted and the card starts swapping data, it only furthers the slowdown until at a certain point your wallet cannot stay synced and either shuts down or gets unresponsive and you need to kill the process. It could also get worse and your hole system gets unresponsive and you need to pull the power-plug to shut it down and reboot.
So if you would need to swap on your SBC, because memory gets exhausted, you better use a SBC with more accessible memory instead of using a swapfile.
-I use a minimal installation (Raspbian minimal for the RPi) and compile the daemon, not the qt-wallet.
Lesser processes means lesser read/write cycles.
-When starting the daemon, I use '-printtoconsole > /dev/zero'. There is ofcourse no log at all, but that is exactly what I want anyways.
I do not intend to give advice to run your wallet as I do.
I just want to say, that I will continue running my wallet from SD-Card. If you are running from a HD, there is barely an advantage in using a SBC over a PC, because power consumption of your HD will probably be more than double the consumption of your SBC.
So you could as well use a PC for staking.
Thanks for reading,