我有这个功能:
void blocks_table::add(chain::signed_block_ptr block)
{
const auto block_id_str = block->id().str();
const auto my_block = block;
const std::string asset_id = "CRYPTO.EOS";
using std::cout;
using std::endl;
cout << my_block << endl;
cout << block_id_str << endl;
}
输出是:
0x7f9b900015e0
000001bfc2cb2a343911f6e036c8dc3eed9461061e64dce396dd2d73fc404dff
我如何查看所有现有数据(字段)以my_block
进行正确解析