From 58272e3a73840880fde5fcb1c2b70b2e43cdd6c4 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Wed, 31 May 2017 13:50:15 +0800 Subject: [PATCH 1/2] started looking into showing alt blcoks --- src/page.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/page.h b/src/page.h index 3b45186..c92e3bd 100644 --- a/src/page.h +++ b/src/page.h @@ -490,15 +490,15 @@ 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; -// } -// } + std::list 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 From fa5b20b13038370fa5a0729e7e0a619cccb3effb Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Thu, 1 Jun 2017 11:19:09 +0800 Subject: [PATCH 2/2] easylogging removed as dependency --- CMakeLists.txt | 1 - README.md | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index de22f5c..c693c9f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,7 +107,6 @@ set(LIBRARIES common mnemonics epee - easylogging ${Boost_LIBRARIES} pthread unbound diff --git a/README.md b/README.md index c73f71d..bdf9f29 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ git clone https://github.com/monero-project/monero cd monero/ # checkout last monero version -git checkout -b v0.10.3.1 +git checkout -b last_release v0.10.3.1 make ```