コード例 #1
0
    def __init__(self, section_number, title, nodes, wrkchain_id,
                 bootnode_config, build_dir):
        path_to_md = 'node.md'
        DocSection.__init__(self, path_to_md, section_number, title)

        self.__nodes = nodes
        self.__wrkchain_id = wrkchain_id
        self.__bootnode_config = bootnode_config
        self.__build_dir = build_dir
コード例 #2
0
    def __init__(self, section_number, title, bootnode_config, base, nodes):
        path_to_md = 'installation.md'
        DocSection.__init__(self, path_to_md, section_number, title)

        self.__bootnode_config = bootnode_config
        self.__section_number = section_number
        self.__base = base
        self.__sub_section_number = 1
        self.__nodes = nodes
コード例 #3
0
 def __init__(self, section_number, title, nodes, build_dir,
              bootnode_config, wrkchain_id):
     path_to_md = 'network.md'
     DocSection.__init__(self, path_to_md, section_number, title)
     self.__nodes = nodes
     self.__build_dir = build_dir
     self.__bootnode_config = bootnode_config
     self.__wrkchain_id = wrkchain_id
     self.__section_number = section_number
     self.__sub_section_number = 1
コード例 #4
0
    def __init__(self, section_number, title, wrkchain_id, build_dir, network,
                 base, consensus, mainchain_rpc_uri):
        path_to_md = 'introduction.md'
        DocSection.__init__(self, path_to_md, section_number, title)

        self.__wrkchain_id = wrkchain_id
        self.__build_dir = build_dir
        self.__network = network
        self.__base = base
        self.__consensus = consensus
        self.__mainchain_rpc_uri = mainchain_rpc_uri
コード例 #5
0
    def __init__(self, section_number, title, wrkchain_name, mainchain_rpc_uri,
                 oracle_write_frequency, network, mainchain_network_id):
        path_to_md = 'appendices.md'
        DocSection.__init__(self, path_to_md, section_number, title)

        self.__section_number = section_number
        self.__sub_section_number = 1
        self.__wrkchain_name = wrkchain_name
        self.__mainchain_rpc_uri = mainchain_rpc_uri
        self.__oracle_write_frequency = oracle_write_frequency
        self.__network = network
        self.__mainchain_network_id = mainchain_network_id
コード例 #6
0
    def __init__(self, section_number, title, oracle_addresses,
                 mainchain_rpc_uri, wrkchain_id, nodes, oracle_write_frequency,
                 network):

        path_to_md = 'oracle.md'
        DocSection.__init__(self, path_to_md, section_number, title)

        self.__oracle_addresses = oracle_addresses
        self.__mainchain_rpc_uri = mainchain_rpc_uri
        self.__wrkchain_id = wrkchain_id
        self.__nodes = nodes
        self.__oracle_write_frequency = oracle_write_frequency
        self.__network = network
コード例 #7
0
    def __init__(self, section_number, title, network, oracle_addresses,
                 wrkchain_id, mainchain_rpc_host, mainchain_rpc_port,
                 mainchain_rpc_uri, mainchain_network_id, genesis_json,
                 build_dir):
        path_to_md = 'setup.md'
        DocSection.__init__(self, path_to_md, section_number, title)

        self.__network = network
        self.__oracle_addresses = oracle_addresses
        self.__section_number = section_number
        self.__sub_section_number = 1
        self.__wrkchain_id = wrkchain_id
        self.__mainchain_rpc_host = mainchain_rpc_host
        self.__mainchain_rpc_port = mainchain_rpc_port
        self.__mainchain_rpc_uri = mainchain_rpc_uri
        self.__mainchain_network_id = mainchain_network_id
        self.__genesis_json = genesis_json
        self.__build_dir = build_dir
コード例 #8
0
 def __init__(self, section_number, title):
     path_to_md = 'glossary.md'
     DocSection.__init__(self, path_to_md, section_number, title)
コード例 #9
0
    def __init__(self, section_number, title, bootnode_config, build_dir):
        path_to_md = 'bootnode.md'
        DocSection.__init__(self, path_to_md, section_number, title)

        self.__bootnode_config = bootnode_config
        self.__build_dir = build_dir