static bool read_pnode(bool &result, metadata::dhtnode_t &node, buffer_wrapper val) { if (!result) return false; if (val.size() != 0 && val.getValue(&node, true)) return true; result = false; return false; }
bool set_providers(metadata::query_t &key, buffer_wrapper val) { page_key = key; return val.size() != 0 && val.getValue(&providers, true); }
static inline bool read_node(metadata::dhtnode_t &node, buffer_wrapper val) { return val.size() != 0 && val.getValue(&node, true); }