p2p_domain0 module¶
Copyright (c) 2017 beyond-blockchain.org.
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
NetworkDomain ([network, config, domain_id, ...]) |
Compose a simple core node cluster |
-
class
p2p_domain0.
NetworkDomain
(network=None, config=None, domain_id=None, node_id=None, loglevel='all', logname=None)[source]¶ Bases:
bbc1.core.simple_cluster.NetworkDomain
Compose a simple core node cluster
-
delete_asset_group_from_info
(asset_group_id)[source]¶ (internal use) delete asset_group_id
Parameters: asset_group_id – Returns:
-
domain_manager_loop
()[source]¶ (internal use) maintain domain (e.g., updating peer list and topology)
Returns:
-