This repository was archived by the owner on Jan 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
deploy/ansible/roles/iota-core-node/templates Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const (
1313// ParametersP2P contains the definition of configuration parameters used by the p2p plugin.
1414type ParametersP2P struct {
1515 // BindAddress defines on which multi addresses the p2p service should listen on.
16- BindMultiAddresses []string `default:"/ip4/0.0.0.0/tcp/14666 ,/ip6/::/tcp/14666 " usage:"the bind multi addresses for p2p connections"`
16+ BindMultiAddresses []string `default:"/ip4/0.0.0.0/tcp/15600 ,/ip6/::/tcp/15600 " usage:"the bind multi addresses for p2p connections"`
1717
1818 ConnectionManager struct {
1919 // Defines the high watermark to use within the connection manager.
Original file line number Diff line number Diff line change 1919 },
2020 "p2p" : {
2121 "bindMultiAddresses" : [
22- " /ip4/0.0.0.0/tcp/14666 " ,
23- " /ip6/::/tcp/14666 "
22+ " /ip4/0.0.0.0/tcp/15600 " ,
23+ " /ip6/::/tcp/15600 "
2424 ],
2525 "connectionManager" : {
2626 "highWatermark" : 10 ,
Original file line number Diff line number Diff line change 33{% for interface in ansible_interfaces -%}
44 {% - set interface_details = hostvars [inventory_hostname ]['ansible_' + interface ] %}
55 {% - if interface_details .ipv 4 is defined and 'address' in interface_details .ipv 4 -%}
6- {% - set _ = ips .append ("/ip4/" + interface_details .ipv 4.address + "/tcp/14666 " ) -%}
6+ {% - set _ = ips .append ("/ip4/" + interface_details .ipv 4.address + "/tcp/15600 " ) -%}
77 {% - endif -%}
88{% endfor -%}
99version: '3.3'
@@ -24,7 +24,7 @@ services:
2424 soft: 16384
2525 hard: 16384
2626 ports:
27- - "14666:14666 /tcp" # P2P
27+ - "15600:15600 /tcp" # P2P
2828 - "6061:6061/tcp" # pprof
2929 - "8080:14265/tcp" # REST-API
3030 - "8081:8081/tcp" # Dashboard
@@ -39,7 +39,7 @@ services:
3939 -c
4040 config.json
4141 --logger.level=debug
42- --p2p.peers=/dns/node-01.feature/tcp/14666 /p2p/12D3KooWCrjmh4dUCWfGVQT6ivzArieJB9Z3eKdy2mdEEN95NDPS
42+ --p2p.peers=/dns/node-01.feature/tcp/15600 /p2p/12D3KooWCrjmh4dUCWfGVQT6ivzArieJB9Z3eKdy2mdEEN95NDPS
4343 --p2p.externalMultiAddresses={{ ips | join(',') }}
4444 --p2p.identityPrivateKey={{p2pIdentityPrvKey}}
4545 --p2p.db.path=/app/data/peerdb
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ func newTestPeer(_ string) *network.Peer {
101101 panic (err )
102102 }
103103
104- addrInfo , _ := peer .AddrInfoFromString ("/ip4/0.0.0.0/udp/14666 /p2p/" + p2pid .String ())
104+ addrInfo , _ := peer .AddrInfoFromString ("/ip4/0.0.0.0/udp/15600 /p2p/" + p2pid .String ())
105105 return network .NewPeerFromAddrInfo (addrInfo )
106106}
107107
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ COMMON_CONFIG="
1010"
1111
1212MANUALPEERING_CONFIG = "
13- --p2p.peers=/dns/node-1-validator/tcp/14666 /p2p/12D3KooWRVt4Engu27jHnF2RjfX48EqiAqJbgLfFdHNt3Vn6BtJK\
13+ --p2p.peers=/dns/node-1-validator/tcp/15600 /p2p/12D3KooWRVt4Engu27jHnF2RjfX48EqiAqJbgLfFdHNt3Vn6BtJK\
1414"
You can’t perform that action at this time.
0 commit comments