fix network/wallet versions and cleanup constants