Networks
StraxNetwork
- class StraxMain(DEFAULT_PORT: int = 17105, API_PORT: int = 17103, RPC_PORT: int = 17104, SIGNALR_PORT: int = 17102)
Describes the StraxMain network.
- Parameters
DEFAULT_PORT (int, optional) – The network communication port. Default=17105.
RPC_PORT (int, optional) – The rpc port, if active. Default=17104.
API_PORT (int, optional) – The API port. Default=17103.
SIGNALR_PORT (int, optional) – The SignalR port. Default=17102.
- validate_address(address: str) bool
Validates an address on this network.
- class StraxTest(DEFAULT_PORT: int = 27105, API_PORT: int = 27103, RPC_PORT: int = 27104, SIGNALR_PORT: int = 27102)
Describes the StraxTest network.
- Parameters
DEFAULT_PORT (int, optional) – The network communication port. Default=27105.
RPC_PORT (int, optional) – The rpc port, if active. Default=27104.
API_PORT (int, optional) – The API port. Default=27103.
SIGNALR_PORT (int, optional) – The SignalR port. Default=27102.
- validate_address(address: str) bool
Validates an address on this network.
- class StraxRegTest(DEFAULT_PORT: int = 37105, API_PORT: int = 37103, RPC_PORT: int = 37104, SIGNALR_PORT: int = 37102)
Describes the StraxRegTest network.
- Parameters
DEFAULT_PORT (int, optional) – The network communication port. Default=37105.
RPC_PORT (int, optional) – The rpc port, if active. Default=37104.
API_PORT (int, optional) – The API port. Default=37103.
SIGNALR_PORT (int, optional) – The SignalR port. Default=37102.
- validate_address(address: str) bool
Validates an address on this network.
CirrusNetwork
- class CirrusMain(DEFAULT_PORT: int = 16179, API_PORT: int = 37223, RPC_PORT: int = 16175, SIGNALR_PORT: int = 38823)
Describes the CirrusMain network.
- Parameters
DEFAULT_PORT (int, optional) – The network communication port. Default=16179.
RPC_PORT (int, optional) – The rpc port, if active. Default=16175.
API_PORT (int, optional) – The API port. Default=37223.
SIGNALR_PORT (int, optional) – The SignalR port. Default=38823.
- validate_address(address: str) bool
Validates an address on this network.
- class CirrusTest(DEFAULT_PORT: int = 26179, API_PORT: int = 38223, RPC_PORT: int = 26175, SIGNALR_PORT: int = 39823)
Describes the CirrusTest network.
- Parameters
DEFAULT_PORT (int, optional) – The network communication port. Default=26179.
RPC_PORT (int, optional) – The rpc port, if active. Default=26175.
API_PORT (int, optional) – The API port. Default=38223.
SIGNALR_PORT (int, optional) – The SignalR port. Default=39823.
- validate_address(address: str) bool
Validates an address on this network.
- class CirrusRegTest(DEFAULT_PORT: int = 26179, API_PORT: int = 38223, RPC_PORT: int = 26175, SIGNALR_PORT: int = 39823)
Describes the CirrusRegTest network.
- Parameters
DEFAULT_PORT (int, optional) – The network communication port. Default=26179.
RPC_PORT (int, optional) – The rpc port, if active. Default=26175.
API_PORT (int, optional) – The API port. Default=38223.
SIGNALR_PORT (int, optional) – The SignalR port. Default=39823.
- validate_address(address: str) bool
Validates an address on this network.
Ethereum
- class Ethereum(DEFAULT_PORT: int = 30303)
Default settings for the ethereum network.
- Parameters
DEFAULT_PORT (int, optional) – The network communication port. Default=30303.