Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split some essential MatrixTransport functions into independent utils #3393

Merged
merged 12 commits into from
Feb 6, 2019
Merged
2 changes: 1 addition & 1 deletion raiden/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class App: # pylint: disable=too-few-public-methods
'matrix': {
# None causes fetching from url in raiden.settings.py::DEFAULT_MATRIX_KNOWN_SERVERS
'available_servers': None,
'discovery_room': 'discovery',
'global_rooms': ['discovery'],
'retries_before_backoff': DEFAULT_TRANSPORT_RETRIES_BEFORE_BACKOFF,
'retry_interval': DEFAULT_TRANSPORT_MATRIX_RETRY_INTERVAL,
'server': 'auto',
Expand Down
10 changes: 10 additions & 0 deletions raiden/network/transport/matrix/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from raiden.network.transport.matrix.transport import ( # noqa
MatrixTransport,
UserPresence,
_RetryQueue,
)
from raiden.network.transport.matrix.utils import ( # noqa
join_global_room,
login_or_register,
validate_userid_signature,
)
Loading