This includes generating and storing compressed consensuses, and
consensus diffs. Fixes bug 23275; bugfix on 0.3.1.1-alpha.
--- /dev/null
+ o Minor bugfixes (relay):
+ - When a relay is not running as a directory cache, it will no longer
+ generate compressed consensuses and consensus diff information.
+ Previously, this was a waste of disk and CPU. Fixes bug 23275;
+ bugfix on 0.3.1.1-alpha.
/* 12. launch diff computations. (This is free if there are none to
* launch.) */
- if (server_mode(options)) {
+ if (dir_server_mode(options)) {
consdiffmgr_rescan();
}
}
&c->digests,
c->digest_sha3_as_signed,
c->valid_after);
- if (server_mode(get_options())) {
+ if (dir_server_mode(get_options())) {
consdiffmgr_add_consensus(consensus, c);
}
}