diff --git a/extensions/blockchain-explorer.json b/extensions/blockchain-explorer.json index 0543d8a..1be1f01 100644 --- a/extensions/blockchain-explorer.json +++ b/extensions/blockchain-explorer.json @@ -84,16 +84,6 @@ "" ] } - }, - { - "action": "add_bellow", - "marker": "bi.bi_coins = *(uint64_t *)v.mv_data;", - "parameters": { - "text": [ - " // Don't really need this", - " bi.bi_txs = 0;" - ] - } } ] }, @@ -735,6 +725,34 @@ } } ] + }, + { + "path": "/tests/unit_tests/blockchain_db.cpp", + "changes": [ + { + "action": "add_bellow", + "marker": "ASSERT_EQ(t_coins[0], this->m_db->get_block_already_generated_coins(0));", + "parameters": { + "text": [ + " ASSERT_EQ(t_coins[0], this->m_db->get_block_already_generated_transactions(0));" + ] + } + } + ] + }, + { + "path": "/tests/unit_tests/hardfork.cpp", + "changes": [ + { + "action": "add_bellow", + "marker": "virtual uint64_t get_block_already_generated_coins(const uint64_t& height) const { return 10000000000; }", + "parameters": { + "text": [ + " virtual uint64_t get_block_already_generated_transactions(const uint64_t& height) const { return 100; }" + ] + } + } + ] } ] } \ No newline at end of file diff --git a/install_dependencies.sh b/install_dependencies.sh index 22cb53a..540137e 100644 --- a/install_dependencies.sh +++ b/install_dependencies.sh @@ -85,7 +85,7 @@ function installUbuntu { if [[ $DISTRIB_RELEASE == 16* ]] ; then sudo apt-get update - sudo apt-get -y install build-essential python-dev gcc-4.9 g++-4.9 git cmake pkg-config libboost1.58-all-dev libunbound-dev libevent-dev + sudo apt-get -y install build-essential python-dev gcc-4.9 g++-4.9 git cmake pkg-config libboost1.58-all-dev libunbound-dev libevent-dev libssl-dev export CXXFLAGS="-std=gnu++11" doneMessage