More block info added

This commit is contained in:
moneroexamples 2016-04-17 13:09:46 +08:00
parent e9dcc0fc42
commit 72279c5340
5 changed files with 85 additions and 30 deletions

View file

@ -32,6 +32,18 @@ class render_node: public boost::static_visitor<std::string> {
return ss.str();
}
std::string operator()(const uint64_t& value) const {
std::stringstream ss;
ss << value;
return ss.str();
}
std::string operator()(const uint32_t& value) const {
std::stringstream ss;
ss << value;
return ss.str();
}
std::string operator()(const bool& value) const {
return value ? "true" : "false";
}