TestingTorNetwork 1

## Comprehensive Bootstrap Testing Options ##
# These typically launch a working minimal Tor network in 25s-30s,
# and a working HS Tor network in 40-45s.
# See authority.tmpl for a partial explanation
#AssumeReachable 0
#Default PathsNeededToBuildCircuits 0.6
#Disable TestingDirAuthVoteExit
#Disable TestingDirAuthVoteHSDir
#Default V3AuthNIntervalsValid 3

## Rapid Bootstrap Testing Options ##
# These typically launch a working minimal Tor network in 6s-10s
# These parameters make tor networks bootstrap fast,
# but can cause consensus instability and network unreliability
# (Some are also bad for security.)
AssumeReachable 1
PathsNeededToBuildCircuits 0.25
TestingDirAuthVoteExit *
TestingDirAuthVoteHSDir *
V3AuthNIntervalsValid 2

## Always On Testing Options ##
# We enable TestingDirAuthVoteGuard to avoid Guard stability requirements
TestingDirAuthVoteGuard *
# We set TestingMinExitFlagThreshold to 0 to avoid Exit bandwidth requirements
TestingMinExitFlagThreshold 0
# VoteOnHidServDirectoriesV2 needs to be set for HSDirs to get the HSDir flag
#Default VoteOnHidServDirectoriesV2 1

## Options that we always want to test ##
Sandbox 1

DataDirectory /Users/base/chutney/net/nodes/000a
RunAsDaemon 1
ConnLimit 60
Nickname test000a
# Let tor close connections gracefully before exiting
ShutdownWaitLength 2
DisableDebuggerAttachment 0

ControlPort 8000
# Use ControlSocket rather than ControlPort unix: to support older tors
ControlSocket /Users/base/chutney/net/nodes/000a/control
CookieAuthentication 1
PidFile /Users/base/chutney/net/nodes/000a/pid
# Ask all child tor processes to exit when chutney's test-network.sh exits
# (if the CHUTNEY_*_TIME options leave the network running, this option is
# disabled)
__OwningControllerProcess 48303

Log notice file /Users/base/chutney/net/nodes/000a/notice.log
Log info file /Users/base/chutney/net/nodes/000a/info.log
# Turn this off to save space
#Log debug file /Users/base/chutney/net/nodes/000a/debug.log
ProtocolWarnings 1
SafeLogging 0
LogTimeGranularity 1

DirAuthority test000a orport=5000 no-v2 hs v3ident=9CE11A0F579156B6FC546B9EA9AFA27F9115EE77 127.0.0.1:7000 BCB3E1921440FFD6AC331A2A3357F28CF059A774
DirAuthority test001a orport=5001 no-v2 hs v3ident=1B67170959D641A52D8D65F786560AC910C5445C 127.0.0.1:7001 5D80D3F833EC89C1607B6B4EA4439CF3873FEBE5


SocksPort 0
OrPort 5000
Address 127.0.0.1

# Must be included before exit-v{4,6}.i
ExitRelay 0

# These options are set here so they apply to IPv4 and IPv6 Exits
#
# Tell Exits to avoid using DNS: otherwise, chutney will fail if DNS fails
# (Chutney only accesses 127.0.0.1 and ::1, so it doesn't need DNS)
ServerDNSDetectHijacking 0
ServerDNSTestAddresses
# If this option is /dev/null, or any other empty or unreadable file, tor exits
# will not use DNS. Otherwise, DNS is enabled with this config.
# (If the following line is commented out, tor uses /etc/resolv.conf.)
ServerDNSResolvConfFile /dev/null

DirPort 7000

AuthoritativeDirectory 1
V3AuthoritativeDirectory 1
ContactInfo auth0@test.test

# Speed up the consensus cycle as fast as it will go
# Voting Interval can be:
#   10, 12, 15, 18, 20, 24, 25, 30, 36, 40, 45, 50, 60, ...
# Testing Initial Voting Interval can be:
#    5,  6,  8,  9, or any of the possible values for Voting Interval,
# as they both need to evenly divide 30 minutes.
# If clock desynchronisation is an issue, use an interval of at least:
#   18 * drift in seconds, to allow for a clock slop factor
TestingV3AuthInitialVotingInterval 5
V3AuthVotingInterval 10
# VoteDelay + DistDelay must be less than VotingInterval
TestingV3AuthInitialVoteDelay 2
V3AuthVoteDelay 2
TestingV3AuthInitialDistDelay 2
V3AuthDistDelay 2
# This is autoconfigured by chutney, so you probably don't want to use it
#TestingV3AuthVotingStartOffset 0

