aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/ban.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-12-12 11:53:10 +0200
committerRiccardo Spagni <ric@spagni.net>2018-12-12 11:53:10 +0200
commitdde1e697236030cdb433d340c3606e0787cd45d9 (patch)
tree55292835b27daf1fd7257ef7ba9201897980517c /tests/unit_tests/ban.cpp
parentMerge pull request #4879 (diff)
parentprotocol: option to pad transaction relay to the next kB (diff)
downloadmonero-dde1e697236030cdb433d340c3606e0787cd45d9.tar.xz
Merge pull request #4787
3dba7f25 protocol: option to pad transaction relay to the next kB (moneromooo-monero)
Diffstat (limited to 'tests/unit_tests/ban.cpp')
-rw-r--r--tests/unit_tests/ban.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit_tests/ban.cpp b/tests/unit_tests/ban.cpp
index e3dbdaef1..12625a949 100644
--- a/tests/unit_tests/ban.cpp
+++ b/tests/unit_tests/ban.cpp
@@ -83,6 +83,7 @@ public:
cryptonote::difficulty_type get_block_cumulative_difficulty(uint64_t height) const { return 0; }
bool fluffy_blocks_enabled() const { return false; }
uint64_t prevalidate_block_hashes(uint64_t height, const std::vector<crypto::hash> &hashes) { return 0; }
+ bool pad_transactions() { return false; }
void stop() {}
};