Add and use a new NumEntryGuards consensus parameter.
commit56ee61b8aed058c20edc9c7e10dc48f1ab798bbc
authorRoger Dingledine <arma@torproject.org>
Wed, 23 Jul 2014 16:23:49 +0000 (23 12:23 -0400)
committerRoger Dingledine <arma@torproject.org>
Thu, 24 Jul 2014 20:19:47 +0000 (24 16:19 -0400)
tree5cac3437531179784b199c834df442c95b7a6bfb
parent303d7f55d9ec8c7dbd9784171cf4df97cc5d7eef
Add and use a new NumEntryGuards consensus parameter.

When specified, it overrides our default of 3 entry guards.

(By default, it overrides the number of directory guards too.)

Implements ticket 12688.
changes/ticket12688 [new file with mode: 0644]
src/or/config.c
src/or/entrynodes.c