From 300e26fa9ed20d829a2e1dbd4892c2b8830cb7db Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Fri, 19 May 2017 07:26:26 +0800 Subject: [PATCH] Alt blocks number added to index2.html --- src/page.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/page.h b/src/page.h index 09ecfd6..5bc79cd 100644 --- a/src/page.h +++ b/src/page.h @@ -456,6 +456,16 @@ namespace xmreg {"show_cache_times" , show_cache_times} }; +// std::list 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