mirror of
https://github.com/jwinterm/monero-generator.git
synced 2026-10-17 05:11:26 +02:00
'tests' added
This commit is contained in:
@@ -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; }"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user