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:
parent
c2220f4eb9
commit
381b626a78
|
@ -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.
|
||||
static const size_t WALLET_MNEMONIC_ENTROPY_LENGTH = 32;
|
||||
//! -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue