implement restricted routes (initial)

This commit is contained in:
Jeff Becker 2016-06-17 11:03:33 -04:00
parent b9cbdb2dc4
commit 74a7e67002
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
9 changed files with 87 additions and 10 deletions

View file

@ -205,7 +205,12 @@ namespace config {
#endif
"Enable or disable elgamal precomputation table")
;
options_description trust("Trust options");
trust.add_options()
("trust.enabled", value<bool>()->default_value(false), "enable explicit trust options")
("trust.family", value<std::string>()->default_value(""), "Router Familiy to trust for first hops");
m_OptionsDesc
.add(general)
.add(limits)
@ -216,7 +221,8 @@ namespace config {
.add(bob)
.add(i2cp)
.add(i2pcontrol)
.add(precomputation)
.add(precomputation)
.add(trust)
;
}