mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
started looking into showing alt blcoks
This commit is contained in:
parent
9385852f9e
commit
a52ed11c22
1 changed files with 9 additions and 9 deletions
18
src/page.h
18
src/page.h
|
@ -425,15 +425,15 @@ 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;
|
||||
// }
|
||||
// }
|
||||
std::list<block> atl_blks;
|
||||
|
||||
if (core_storage->get_alternative_blocks(atl_blks))
|
||||
{
|
||||
for (const block& alt_blk: atl_blks)
|
||||
{
|
||||
cout << "alt_blk tx: " << alt_blk.tx_hashes.size() << endl;
|
||||
}
|
||||
}
|
||||
|
||||
context.emplace("txs", mstch::array()); // will keep tx to show
|
||||
|
||||
|
|
Loading…
Reference in a new issue