const boost::uint32_t maxtime, const boost::uint32_t diff