Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/citp/BlockSci
/ finalize
Method
finalize
tools/parser/preproccessed_block.cpp:261–265 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
259
}
260
261
blocksci::uint256 finalize() {
262
blocksci::uint256 hash;
263
SHA256_Final(reinterpret_cast<unsigned char *>(&hash), &sha256);
264
return ::sha256(reinterpret_cast<const uint8_t *>(&hash), sizeof(hash));
265
}
266
};
267
268
enum
Callers
1
getHash
Method · 0.45
Calls
1
sha256
Function · 0.85
Tested by
no test coverage detected