make bech32 the defaultaddress format

This commit is contained in:
barrystyle
2019-06-13 04:55:41 +08:00
parent 1739b485fd
commit dd684bdabe
+2 -2
View File
@@ -126,10 +126,10 @@ enum WalletFeature
}; };
//! Default for -addresstype //! Default for -addresstype
constexpr OutputType DEFAULT_ADDRESS_TYPE{OutputType::LEGACY}; constexpr OutputType DEFAULT_ADDRESS_TYPE{OutputType::BECH32};
//! Default for -changetype //! Default for -changetype
constexpr OutputType DEFAULT_CHANGE_TYPE{OutputType::BECH32}; constexpr OutputType DEFAULT_CHANGE_TYPE{OutputType::CHANGE_AUTO};
enum WalletFlags : uint64_t { enum WalletFlags : uint64_t {
// wallet flags in the upper section (> 1 << 31) will lead to not opening the wallet if flag is unknown // wallet flags in the upper section (> 1 << 31) will lead to not opening the wallet if flag is unknown