[ndnSIM] Data has no wire encoding (not signed)
shijunxiao at email.arizona.edu
Fri Dec 15 04:17:59 PST 2017
NFD ContentStore expects Data::getFullName() to return a valid name with
implicit digest. If your changes cannot maintain this property, it will
have undefined behavior (such as crashing).
Look at the logic in Data::getFullName() and see what went wrong.
On Thu, Dec 14, 2017 at 04:44 <cjb0725 at mail.ustc.edu.cn> wrote:
> Greetings all,
> I add two new fields into Data and modified the encode and decode function, tlv.hpp as well. if I use the old ContentStore
> it works well.But if I use the nfd::Cs
> I got this error:
> libc++abi.dylib: terminating with uncaught exception of type boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<ndn::Data::Error> >: Cannot compute full name because Data has no wire encoding (not signed).
> And I have another question, we can use ndn::CsTracer to obtain metrics about hits/misses, but this only works with the old ContentStore , how to obtain these metrics when I use nfd::Cs?
> any help would be great.
> Thanks in advance!
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM