Waves
Waves copied to clipboard
Waves startup issue when there is a wallet issue.
I've noticed 2x over the years that Waves has a dangerous issue when it starts up if there is an issue loading the wallet. Instead of printing an error and refusing to run it just silently creates a new wallet with a new seed (even if the wallet seed is specified in the config file). It actually doesn't mention there was an issue at all and acts like nothing happened.
Any update on this? It seems to do it randomly even if it was shut down properly let alone if there was any error or crash or anything.
- If wallet file is corrapted, then node will not start.
- If you change seed and not delete wallet-file, node will start with old seed. Wallet seed has a priority to config-seed. It's not a bug, but we will change tis option in future releases
- If you delete wallet file, node will create new instead of deleted.
Or you have another issue?
- This would be the expected behavior but in these cases I'm seeing it will start without printing any errors and with a new seed. It mainly happens if there is a crash while the node is running but it does it just randomly on startup as well.
- This would be the expected behavior but I haven't tested it so I can't comment on it.
- This is correct from my experience, every time I've seen it make a wallet from scratch it used the seed in the config file.