Skip to content

Commit

Permalink
Initial support for v3 onion services.
Browse files Browse the repository at this point in the history
See 'v3_dev_wip' branch for more fine grained details.
  • Loading branch information
asn-d6 committed Jan 31, 2020
1 parent 3d61792 commit 0e310d4
Show file tree
Hide file tree
Showing 62 changed files with 5,233 additions and 834 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
onionbalance/_version.py export-subst
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
before_install:
# Install tor and chutney if doing functional tests
- if [[ $TEST == 'functional' ]]; then ./test/scripts/install-tor.sh; fi
- if [[ $TEST == 'functional' ]]; then source test/scripts/install-chutney.sh; fi
- if [[ $TEST == 'functional' ]]; then source test/scripts/install-chutney-v2.sh; fi
install:
- pip install tox coveralls
script:
Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ include requirements.txt
include tox.ini
recursive-include docs *.rst
recursive-include onionbalance/data *
include versioneer.py
include onionbalance/_version.py
12 changes: 12 additions & 0 deletions onionbalance-config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#! /usr/bin/env python3
# -*- coding: utf-8 -*-

"""
Convenience wrapper for running onionbalance config generator directly from source tree.
"""

import onionbalance.config_generator.config_generator

if __name__ == '__main__':
onionbalance.config_generator.config_generator.main()

5 changes: 3 additions & 2 deletions onionbalance.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

"""Convenience wrapper for running OnionBalance directly from source tree."""

from onionbalance.manager import main
import onionbalance.hs_v2.manager
import onionbalance.hs_v3.manager

if __name__ == '__main__':
main()
onionbalance.hs_v3.manager.main()
4 changes: 4 additions & 0 deletions onionbalance/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@
__contact__ = "[email protected]"
__url__ = "https://github.com/DonnchaC/onionbalance"
__license__ = "GPL"

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
Loading

0 comments on commit 0e310d4

Please sign in to comment.