OpenBazaar / openbazaar-go

OpenBazaar 2.0 Server Daemon in Go
MIT License
994 stars 283 forks source link

Check wallet state matches binary runtime options before corrupting wallet #1007

Open placer14 opened 6 years ago

placer14 commented 6 years ago

As a user, I want to avoid corrupting my wallet's state by checking the configuration of the local wallet against the runtime options of the binary before starting the server and possibly corrupting my wallet.

The runtime options to verify against the wallet might be --bitcoincash --zcash -t as well as confirming the defaults of using Bitcoin and Mainnet.

placer14 commented 6 years ago

This may not be a concern after the API wallet integration. Will keep this on the side for now.