Nodes¶
StraxNode¶
- class StraxNode(ipaddress: str = http://localhost, network: Union[StraxMain, StraxTest, StraxRegTest] = StraxMain())¶
A Strax Node.
- property coldstaking: ColdStaking¶
The coldstaking route.
- Returns:
A ColdStaking instance.
- Return type:
- property diagnostic: Diagnostic¶
The diagnostic route.
- Returns:
A Diagnostic instance.
- Return type:
- property externalapi: ExternalAPI¶
The externalapi route.
- Returns:
A ExternalAPI instance.
- Return type:
- property addressbook: AddressBook¶
The addressbook route.
- Returns:
An addressbook instance.
- Return type:
- property blockchainnetwork: BaseNetwork¶
The node’s network type.
- Returns:
The node’s network.
- Return type:
BaseNetwork
- property blockstore: BlockStore¶
The blockstore route.
- Returns:
A BlockStore instance.
- Return type:
- check_all_endpoints_implemented() bool ¶
Queries a running node’s swagger schema and compares the pystratis implemented endpoints with those defined by the swagger schema.
- Returns:
True if all endpoints are implemented, otherwise False.
- Return type:
bool
- property connection_manager: ConnectionManager¶
The connectionmanager route.
- Returns:
A ConnectionManager instance.
- Return type:
- property ipaddr: str¶
The node’s ip address.
- Returns:
The specified ip address of the node.
- Return type:
str
- property name: str¶
The node’s name.
- Returns:
The node name.
- Return type:
str
- stop_node() bool ¶
Convenience method for stopping node.
CirrusNode¶
- class CirrusNode(ipaddress: str = http://localhost, network: Union[CirrusMain, CirrusTest, CirrusRegTest] = CirrusMain())¶
A Cirrus Node.
- property collateral: Collateral¶
The collateral route.
- Returns:
A Collateral instance.
- Return type:
- property contract_swagger: ContractSwagger¶
The contract_swagger route.
- Returns:
A ContractSwagger instance.
- Return type:
- property diagnostic: Diagnostic¶
The diagnostic route.
- Returns:
A Diagnostic instance.
- Return type:
- property dynamic_contract: DynamicContract¶
The dynamic contract route.
- Returns:
A DynamicContract instance.
- Return type:
- property federation: Federation¶
The federation route.
- Returns:
A Federation instance.
- Return type:
- property smart_contracts: SmartContracts¶
The smartcontracts route.
- Returns:
A SmartContracts instance.
- Return type:
- property smart_contract_wallet: SmartContractWallet¶
The smartcontractwallet route.
- Returns:
A SmartContractWallet instance.
- Return type:
- property addressbook: AddressBook¶
The addressbook route.
- Returns:
An addressbook instance.
- Return type:
- property blockchainnetwork: BaseNetwork¶
The node’s network type.
- Returns:
The node’s network.
- Return type:
BaseNetwork
- property blockstore: BlockStore¶
The blockstore route.
- Returns:
A BlockStore instance.
- Return type:
- check_all_endpoints_implemented() bool ¶
Queries a running node’s swagger schema and compares the pystratis implemented endpoints with those defined by the swagger schema.
- Returns:
True if all endpoints are implemented, otherwise False.
- Return type:
bool
- property connection_manager: ConnectionManager¶
The connectionmanager route.
- Returns:
A ConnectionManager instance.
- Return type:
- property ipaddr: str¶
The node’s ip address.
- Returns:
The specified ip address of the node.
- Return type:
str
- property name: str¶
The node’s name.
- Returns:
The node name.
- Return type:
str
- stop_node() bool ¶
Convenience method for stopping node.
InterfluxStraxNode¶
- class InterfluxStraxNode(ipaddress: str = http://localhost, network: Union[StraxMain, StraxTest, StraxRegTest] = StraxMain())¶
A Interflux Strax Node.
- property collateral: Collateral¶
The collateral route.
- Returns:
A Collateral instance.
- Return type:
- property collateral_voting: CollateralVoting¶
The collateralvoting route.
- Returns:
A CollateralVoting instance.
- Return type:
- property federation_gateway: FederationGateway¶
The federationgateway route.
- Returns:
A FederationGateway instance.
- Return type:
- property federation_wallet: FederationWallet¶
The federationwallet route.
- Returns:
A FederationWallet instance.
- Return type:
- property notifications: Notifications¶
The notifications route.
- Returns:
A Notificiations instance.
- Return type:
- property addressbook: AddressBook¶
The addressbook route.
- Returns:
An addressbook instance.
- Return type:
- property blockchainnetwork: BaseNetwork¶
The node’s network type.
- Returns:
The node’s network.
- Return type:
BaseNetwork
- property blockstore: BlockStore¶
The blockstore route.
- Returns:
A BlockStore instance.
- Return type:
- check_all_endpoints_implemented() bool ¶
Queries a running node’s swagger schema and compares the pystratis implemented endpoints with those defined by the swagger schema.
- Returns:
True if all endpoints are implemented, otherwise False.
- Return type:
bool
- property connection_manager: ConnectionManager¶
The connectionmanager route.
- Returns:
A ConnectionManager instance.
- Return type:
- property ipaddr: str¶
The node’s ip address.
- Returns:
The specified ip address of the node.
- Return type:
str
- property name: str¶
The node’s name.
- Returns:
The node name.
- Return type:
str
- stop_node() bool ¶
Convenience method for stopping node.
InterfluxCirrusNode¶
- class InterfluxCirrusNode(ipaddress: str = http://localhost, network: Union[CirrusMain, CirrusTest, CirrusRegTest] = CirrusMain())¶
An Interflux Cirrus node.
- property collateral: Collateral¶
The collateral route.
- Returns:
A Collateral instance.
- Return type:
- property collateral_voting: CollateralVoting¶
The collateralvoting route.
- Returns:
A CollateralVoting instance.
- Return type:
- property contract_swagger: ContractSwagger¶
The contract_swagger route.
- Returns:
A ContractSwagger instance.
- Return type:
- property dynamic_contract: DynamicContract¶
The dynamic contract route.
- Returns:
A DynamicContract instance.
- Return type:
- property externalapi: ExternalAPI¶
The externalapi route.
- Returns:
A ExternalAPI instance.
- Return type:
- property federation: Federation¶
The federation route.
- Returns:
A Federation instance.
- Return type:
- property federation_gateway: FederationGateway¶
The federationgateway route.
- Returns:
A FederationGateway instance.
- Return type:
- property federation_wallet: FederationWallet¶
The federationwallet route.
- Returns:
A FederationWallet instance.
- Return type:
- property smart_contracts: SmartContracts¶
The smartcontracts route.
- Returns:
A SmartContracts instance.
- Return type:
- property smart_contract_wallet: SmartContractWallet¶
The smartcontractwallet route.
- Returns:
A SmartContractWallet instance.
- Return type:
- property notifications: Notifications¶
The notifications route.
- Returns:
A Notifications instance.
- Return type:
- property addressbook: AddressBook¶
The addressbook route.
- Returns:
An addressbook instance.
- Return type:
- property blockchainnetwork: BaseNetwork¶
The node’s network type.
- Returns:
The node’s network.
- Return type:
BaseNetwork
- property blockstore: BlockStore¶
The blockstore route.
- Returns:
A BlockStore instance.
- Return type:
- check_all_endpoints_implemented() bool ¶
Queries a running node’s swagger schema and compares the pystratis implemented endpoints with those defined by the swagger schema.
- Returns:
True if all endpoints are implemented, otherwise False.
- Return type:
bool
- property connection_manager: ConnectionManager¶
The connectionmanager route.
- Returns:
A ConnectionManager instance.
- Return type:
- property ipaddr: str¶
The node’s ip address.
- Returns:
The specified ip address of the node.
- Return type:
str
- property name: str¶
The node’s name.
- Returns:
The node name.
- Return type:
str
- stop_node() bool ¶
Convenience method for stopping node.
StraxMasternode¶
- class StraxMasterNode(ipaddress: str = http://localhost, network: Union[StraxMain, StraxTest, StraxRegTest] = StraxMain()())¶
The Strax member of the masternode pair.
- property addressbook: AddressBook¶
The addressbook route.
- Returns:
An addressbook instance.
- Return type:
- property blockchainnetwork: BaseNetwork¶
The node’s network type.
- Returns:
The node’s network.
- Return type:
BaseNetwork
- property blockstore: BlockStore¶
The blockstore route.
- Returns:
A BlockStore instance.
- Return type:
- check_all_endpoints_implemented() bool ¶
Queries a running node’s swagger schema and compares the pystratis implemented endpoints with those defined by the swagger schema.
- Returns:
True if all endpoints are implemented, otherwise False.
- Return type:
bool
- property collateral: Collateral¶
The collateral route. Not available in devmode.
- Returns:
A Collateral instance.
- Return type:
- property connection_manager: ConnectionManager¶
The connectionmanager route.
- Returns:
A ConnectionManager instance.
- Return type:
- property contract_swagger: ContractSwagger¶
The contract_swagger route.
- Returns:
A ContractSwagger instance.
- Return type:
- property dynamic_contract: DynamicContract¶
The dynamic contract route.
- Returns:
A DynamicContract instance.
- Return type:
- property federation: Federation¶
The federation route.
- Returns:
A Federation instance.
- Return type:
- property ipaddr: str¶
The node’s ip address.
- Returns:
The specified ip address of the node.
- Return type:
str
- property name: str¶
The node’s name.
- Returns:
The node name.
- Return type:
str
- property notifications: Notifications¶
The notifications route.
- Returns:
A Notifications instance.
- Return type:
- property smart_contract_wallet: SmartContractWallet¶
The smartcontractwallet route.
- Returns:
A SmartContractWallet instance.
- Return type:
- property smart_contracts: SmartContracts¶
The smartcontracts route.
- Returns:
A SmartContracts instance.
- Return type:
- stop_node() bool ¶
Convenience method for stopping node.
CirrusMasternode¶
- class CirrusMasterNode(ipaddress: str = http://localhost, network: Union[CirrusMain, CirrusTest, CirrusRegTest] = CirrusMain())¶
The Cirrus member of the masternode pair.
- property addressbook: AddressBook¶
The addressbook route.
- Returns:
An addressbook instance.
- Return type:
- property blockchainnetwork: BaseNetwork¶
The node’s network type.
- Returns:
The node’s network.
- Return type:
BaseNetwork
- property blockstore: BlockStore¶
The blockstore route.
- Returns:
A BlockStore instance.
- Return type:
- check_all_endpoints_implemented() bool ¶
Queries a running node’s swagger schema and compares the pystratis implemented endpoints with those defined by the swagger schema.
- Returns:
True if all endpoints are implemented, otherwise False.
- Return type:
bool
- property collateral: Collateral¶
The collateral route. Not available in devmode.
- Returns:
A Collateral instance.
- Return type:
- property connection_manager: ConnectionManager¶
The connectionmanager route.
- Returns:
A ConnectionManager instance.
- Return type:
- property contract_swagger: ContractSwagger¶
The contract_swagger route.
- Returns:
A ContractSwagger instance.
- Return type:
- property dynamic_contract: DynamicContract¶
The dynamic contract route.
- Returns:
A DynamicContract instance.
- Return type:
- property federation: Federation¶
The federation route.
- Returns:
A Federation instance.
- Return type:
- property ipaddr: str¶
The node’s ip address.
- Returns:
The specified ip address of the node.
- Return type:
str
- property name: str¶
The node’s name.
- Returns:
The node name.
- Return type:
str
- property notifications: Notifications¶
The notifications route.
- Returns:
A Notifications instance.
- Return type:
- property smart_contract_wallet: SmartContractWallet¶
The smartcontractwallet route.
- Returns:
A SmartContractWallet instance.
- Return type:
- property smart_contracts: SmartContracts¶
The smartcontracts route.
- Returns:
A SmartContracts instance.
- Return type:
- stop_node() bool ¶
Convenience method for stopping node.