peer1.config
上传用户:weidisz
上传日期:2022-02-13
资源大小:564k
文件大小:1k
- <?xml version="1.0"?>
- <Configuration>
- <General>
- <JavaPlatform>ME</JavaPlatform>
- <UseSecurity>true</UseSecurity>
- <UseDatabase>false</UseDatabase>
- <DatabaseURI>jdbc:mysql://localhost:3306/</DatabaseURI>
- <DatabaseUser>sepp</DatabaseUser>
- <DatabasePassword>sepp</DatabasePassword>
- </General>
- <Routing>
- <AlgorithmImplementation>org.sepp.routing.algorithms.DynamicSourceRouting</AlgorithmImplementation>
- <RouteCache>org.sepp.routing.caches.PathCache</RouteCache>
- <UseReversePath>True</UseReversePath>
- <UseSourceRoutes>True</UseSourceRoutes>
- <UseLinkCache>False</UseLinkCache>
- </Routing>
- <Network>
- <RunLocal>True</RunLocal>
- <PeerId>peer1</PeerId>
- <TransportType>0</TransportType>
- <Nodes>
- <Node id="peer0">127.0.0.1:12000</Node>
- <Node id="peer2">127.0.0.1:12002</Node>
- <Node id="peer7">127.0.0.1:12007</Node>
- </Nodes>
- </Network>
-
- <Security>
- <SecurityLevel>0</SecurityLevel>
- <KeystoreFolder>key</KeystoreFolder>
- <KeystorePassword>sepppass</KeystorePassword>
- <SymmetricAlgorithm>AES</SymmetricAlgorithm>
- <AsymmetricAlgorithm>RSA</AsymmetricAlgorithm>
- <HashAlgorithm>SHA-1</HashAlgorithm>
- <KeyPasswords>
- <KeyPassword id="SMEPP">sepppeer</KeyPassword>
- <KeyPassword id="peer1">sepppeer</KeyPassword>
- </KeyPasswords>
- </Security>
- </Configuration>