#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
std::string BlockChain::GetJsonFromBlock(Block &block)
{
boost::property_tree::ptree item;
boost::property_tree::ptree lstts;
{
std::list<Transactions>::iterator it;
for (it = block.lst_ts.begin(); it != block.lst_ts.end(); ++it)
{
boost::property_tree::ptree ts;
ts.put(