add a parameter as stack referencing Nodes needed to calculate hash
change Node::getHash's parameter type from list<> to list<>*
change Node::getHash's parameter type from list* to vector*
NodePacket::getHash pushes itself to referencingStack
(trivial) calculate packetNameHash