Skip to content
Snippets Groups Projects
Commit c15ddacd authored by inso's avatar inso
Browse files

Merge branch 'master' of https://github.com/Insoleet/ucoin-python-api into dev

parents daa42ba2 77de5805
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ class Base(Network): ...@@ -27,7 +27,7 @@ class Base(Network):
class Stream(Base): class Stream(Base):
"""GET a list of peers this node is listening to/by for ANY incoming transaction.""" """GET a list of peers this node is listening to/by for ANY incoming transaction."""
def __init__(self, request, pgp_fingerprint=None, server=None, port=None): def __init__(self, request, pgp_fingerprint, server=None, port=None):
""" """
Use the pgp fingerprint parameter in order to fit the result. Use the pgp fingerprint parameter in order to fit the result.
...@@ -45,7 +45,7 @@ class Stream(Base): ...@@ -45,7 +45,7 @@ class Stream(Base):
class UpStream(Stream): class UpStream(Stream):
"""GET a list of peers this node is listening to for ANY incoming transaction.""" """GET a list of peers this node is listening to for ANY incoming transaction."""
def __init__(self, pgp_fingerprint=None, server=None, port=None): def __init__(self, pgp_fingerprint, server=None, port=None):
""" """
Use the pgp fingerprint parameter in order to fit the result. Use the pgp fingerprint parameter in order to fit the result.
...@@ -63,7 +63,7 @@ class UpStream(Stream): ...@@ -63,7 +63,7 @@ class UpStream(Stream):
class DownStream(Stream): class DownStream(Stream):
"""GET a list of peers this node is listening by for ANY incoming transaction.""" """GET a list of peers this node is listening by for ANY incoming transaction."""
def __init__(self, pgp_fingerprint=None, server=None, port=None): def __init__(self, pgp_fingerprint, server=None, port=None):
""" """
Use the pgp fingerprint parameter in order to fit the result. Use the pgp fingerprint parameter in order to fit the result.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment