MCPcopy Create free account
hub / github.com/bcndev/bytecoin / PreparedBlock

Method PreparedBlock

src/Core/BlockChain.cpp:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52PreparedBlock::PreparedBlock(BinaryArray &&ba, const Currency &currency, crypto::CryptoNightContext *context)
53 : block_data(std::move(ba)) {
54 seria::from_binary(raw_block, block_data);
55 prepare(currency, context);
56}
57
58PreparedBlock::PreparedBlock(RawBlock &&rba, const Currency &currency, crypto::CryptoNightContext *context)
59 : raw_block(rba) {

Callers

nothing calls this directly

Calls 2

from_binaryFunction · 0.85
to_binaryFunction · 0.85

Tested by

no test coverage detected