We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f49d58c commit bed9572Copy full SHA for bed9572
src/bdap/stealth.cpp
@@ -53,12 +53,7 @@ static bool VerifyChecksum(const std::vector<uint8_t> &data)
53
CStealthAddress::CStealthAddress(const CKey& scanKey, const CKey& spendKey)
54
{
55
options = 0;
56
- //uint8_t tmp32[32];
57
- //CSHA256().Write(scanKey.begin(), 32).Finalize(tmp32);
58
- //memcpy(&prefix_number_bits, tmp32, 4);
59
- //CSHA256().Write(spendKey.begin(), 32).Finalize(tmp32);
60
- //size_t nPrefixBytes = std::ceil((float)prefix_number_bits / 8.0);
61
- //memcpy(&prefix_bitfield, tmp32, nPrefixBytes);
+ // TODO (Stealth): Set determinalistic prefix based on spendKey
62
prefix_number_bits = 0;
63
prefix_bitfield = 0;
64
number_signatures = 1;
0 commit comments