You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

hosts.config 1.6 kB

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright (c) 2007-2013 Alysson Bessani, Eduardo Alchieri, Paulo Sousa, and the authors indicated in the @author tags
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. # This file defines the replicas ids, IPs and ports.
  15. # It is used by the replicas and clients to find connection info
  16. # to the initial replicas.
  17. # The ports defined here are the ports used by clients to communicate
  18. # with the replicas. Additional connections are opened by replicas to
  19. # communicate with each other. This additional connection is opened in the
  20. # next port defined here. For an example, consider the line "0 127.0.0.1 11000".
  21. # That means that clients will open a communication channel to replica 0 in
  22. # IP 127.0.0.1 and port 11000. On startup, replicas with id different than 0
  23. # will open a communication channel to replica 0 in port 11001.
  24. # The same holds for replicas 1, 2, 3 ... N.
  25. #server id, address and port (the ids from 0 to n-1 are the service replicas)
  26. 0 127.0.0.1 11000
  27. 1 127.0.0.1 11010
  28. 2 127.0.0.1 11020
  29. 3 127.0.0.1 11030
  30. #4 192.168.151.33 11040
  31. #5 192.168.151.38 11050
  32. #6 127.0.0.1 11060
  33. #7 127.0.0.1 11070
  34. 7001 127.0.0.1 11100

一个面向企业应用场景的通用区块链框架系统,能够作为企业级基础设施,为业务创新提供高效、灵活和安全的解决方案