Shuffle zouts to prevent leaking change output position

This commit is contained in:
Duke Leto
2021-06-27 22:35:59 -04:00
parent 195af2c65a
commit d58396f05e
2 changed files with 12 additions and 0 deletions

View File

@@ -92,6 +92,8 @@ public:
CAmount value,
std::array<unsigned char, HUSH_MEMO_SIZE> memo = {{0}});
void ShuffleOutputs();
// Assumes that the value correctly corresponds to the provided UTXO.
void AddTransparentInput(COutPoint utxo, CScript scriptPubKey, CAmount value, uint32_t nSequence = 0xffffffff);