Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ reset
Method
reset
src/common/bloom.cpp:240–246 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
238
}
239
240
void CRollingBloomFilter::reset()
241
{
242
nTweak = GetRand(std::numeric_limits<unsigned int>::max());
243
nEntriesThisGeneration = 0;
244
nGeneration = 1;
245
std::fill(data.begin(), data.end(), 0);
246
}
Callers
15
ResetCoinsViews
Method · 0.45
StopHTTPServer
Function · 0.45
bit_packed_atomic_flags
Method · 0.45
MutateTx
Function · 0.45
StopHTTPRPC
Function · 0.45
Unserialize
Function · 0.45
CommandLineRPC
Function · 0.45
BlockDisconnected
Method · 0.45
AlreadyHaveTx
Method · 0.45
ProcessMessage
Method · 0.45
MaybeSendAddr
Method · 0.45
ResizeCache
Method · 0.45
Calls
3
GetRand
Function · 0.85
begin
Method · 0.45
end
Method · 0.45
Tested by
9
TestUnloadWallet
Function · 0.36
~ListCoinsTestingSetup
Method · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
BOOST_AUTO_TEST_CASE
Function · 0.36
Recv
Method · 0.36
FUZZ_TARGET
Function · 0.36
~ChainTestingSetup
Method · 0.36
TEST
Function · 0.36