MCPcopy Create free account
hub / github.com/attermann/microReticulum / ProofDestination

Method ProofDestination

src/microReticulum/Packet.cpp:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29using namespace RNS::Utilities;
30
31ProofDestination::ProofDestination(const Packet& packet) : Destination({Type::NONE}, Type::Destination::OUT, Type::Destination::SINGLE, packet.get_hash().left(Type::Reticulum::TRUNCATED_HASHLENGTH/8))
32{
33}
34
35// ============================================================================
36// New minimal constructors — store target + payload only. Fluent setters

Callers

nothing calls this directly

Calls 2

leftMethod · 0.80
get_hashMethod · 0.45

Tested by

no test coverage detected