Set default Orchard anchor confirmations to 1

Currently we cannot use anything greater than 1, because the Orchard
witness tree cannot provide authentication paths to anything but the
current tree root. Once zcash/incrementalmerkletree#22 is implemented,
we can revert this change as part of zcash/zcash#5644.
This commit is contained in:
Jack Grigg 2022-03-14 17:54:17 +00:00
parent c2220f4eb9
commit 381b626a78
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ static const unsigned int WITNESS_CACHE_SIZE = MAX_REORG_LENGTH + 1;
//! Amount of entropy used in generation of the mnemonic seed, in bytes. //! Amount of entropy used in generation of the mnemonic seed, in bytes.
static const size_t WALLET_MNEMONIC_ENTROPY_LENGTH = 32; static const size_t WALLET_MNEMONIC_ENTROPY_LENGTH = 32;
//! -orchardanchorconfirmations default //! -orchardanchorconfirmations default
static const unsigned int DEFAULT_ORCHARD_ANCHOR_CONFIRMATIONS = 10; static const unsigned int DEFAULT_ORCHARD_ANCHOR_CONFIRMATIONS = 1;
extern const char * DEFAULT_WALLET_DAT; extern const char * DEFAULT_WALLET_DAT;