started looking into showing alt blcoks

This commit is contained in:
moneroexamples 2017-05-31 13:50:15 +08:00
parent 9385852f9e
commit a52ed11c22
1 changed files with 9 additions and 9 deletions

View File

@ -425,15 +425,15 @@ namespace xmreg
{"show_cache_times" , show_cache_times} {"show_cache_times" , show_cache_times}
}; };
// std::list<block> atl_blks; std::list<block> atl_blks;
//
// if (core_storage->get_alternative_blocks(atl_blks)) if (core_storage->get_alternative_blocks(atl_blks))
// { {
// for (const block& alt_blk: atl_blks) for (const block& alt_blk: atl_blks)
// { {
// //cout << "alt_blk: " << get_block_height(alt_blk) << endl; cout << "alt_blk tx: " << alt_blk.tx_hashes.size() << endl;
// } }
// } }
context.emplace("txs", mstch::array()); // will keep tx to show context.emplace("txs", mstch::array()); // will keep tx to show