Alt blocks number added to index2.html

This commit is contained in:
moneroexamples 2017-05-19 07:26:26 +08:00
parent 14f615441d
commit 300e26fa9e
1 changed files with 10 additions and 0 deletions

View File

@ -456,6 +456,16 @@ namespace xmreg
{"show_cache_times" , show_cache_times}
};
// std::list<block> atl_blks;
//
// if (core_storage->get_alternative_blocks(atl_blks))
// {
// for (const block& alt_blk: atl_blks)
// {
// //cout << "alt_blk: " << get_block_height(alt_blk) << endl;
// }
// }
context.emplace("txs", mstch::array()); // will keep tx to show
// get reference to txs mstch map to be field below