Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix conn for inbound/outbound #84

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/assets/mainnet/latest
Binary file added docs/assets/mainnet/v3.1.0/genesis.tgz
Binary file not shown.
52 changes: 52 additions & 0 deletions docs/assets/mainnet/v3.1.0/iserver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
acc:
id: visiter00
seckey: 21h8pQe7kg4ATH6Krh2BXorAj7E5SvF5KdFiCghUByjFEEUKrL8Fmig331NqdNveoiCwhmuxoWnCV7pdu96epork
algorithm: ed25519
genesis: /var/lib/iserver/genesis
db:
ldbpath: /var/lib/iserver/storage/
snapshot:
enable: false
filepath: /var/lib/iserver/storage/snapshot.tar.gz
p2p:
listenaddr: 0.0.0.0:30000
seednodes:
- /ip4/18.209.137.246/tcp/30000/ipfs/12D3KooWGoPE333zygBN61vtSjvPfosi78JFSwRRDrLoAKaH1mTP # United States
- /ip4/54.180.196.80/tcp/30000/ipfs/12D3KooWMm2RzyZDPBie89FXceKFSBRg8zzkwAGQmdauj6tmrqcA # Korea
- /ip4/35.176.24.11/tcp/30000/ipfs/12D3KooWHzHUBq4x4LmXtZH79LCAxVUYgpKXgMgAtyvYQWeHZAAp # England
chainid: 1024
version: 1
datapath: /var/lib/iserver/p2p/
inboundConn: 20
outboundConn: 10
blackPID:
blackIP:
adminPort: 30005
rpc:
enable: true
gatewayaddr: 0.0.0.0:30001
grpcaddr: 0.0.0.0:30002
trytx: false
allowOrigins:
- "*"
log:
filelog:
path: /var/lib/iserver/logs/
level: info
enable: false
consolelog:
level: info
enable: true
asyncwrite: true
enablecontractlog: true
metrics:
pushaddr: pushgateway
username:
password:
enable: false
id: mainnet:visiter00
debug:
listenaddr: 127.0.0.1:30003
version:
netname: mainnet
protocolversion: "1.0"
2 changes: 1 addition & 1 deletion docs/assets/testnet/latest
Binary file added docs/assets/testnet/v3.1.0/genesis.tgz
Binary file not shown.
55 changes: 55 additions & 0 deletions docs/assets/testnet/v3.1.0/iserver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
acc:
id: visitor00
seckey: 4ytmXVC8K5k81J5gzWudw8uvPqzpwKx45dDGqxxKb9gNLfEGeCXXze38PiMEeKijaGbWwmuehVcK58PY1hCk8e7R
algorithm: ed25519
genesis: /var/lib/iserver/genesis
vm:
jspath: vm/v8vm/v8/libjs/
loglevel: ""
db:
ldbpath: /var/lib/iserver/storage/
snapshot:
enable: false
filepath: storage/snapshot.tar.gz
p2p:
listenaddr: 0.0.0.0:30000
seednodes:
- /ip4/13.52.105.102/tcp/30000/ipfs/12D3KooWQwH8BTC4QMpTxm7u4Bj38ZdaCLSA1uJ4io3o1j8FCqYE
- /ip4/13.115.202.226/tcp/30000/ipfs/12D3KooWHRi93eskqrYzxfToHccmgd4Ng7u2QH1e7Cz3X2M6dHVR
- /ip4/54.199.158.64/tcp/30000/ipfs/12D3KooWKyh6BH5i66g4bBFgbJoNF97jvB1soXSg17zw8Hj1Mq5j
chainid: 1023
version: 1
datapath: /var/lib/iserver/p2p/
inboundConn: 20
outboundConn: 10
blackPID:
blackIP:
adminPort: 30005
rpc:
enable: true
gatewayaddr: 0.0.0.0:30001
grpcaddr: 0.0.0.0:30002
trytx: false
allowOrigins:
- "*"
log:
filelog:
path: /var/lib/iserver/logs/
level: info
enable: false
consolelog:
level: info
enable: true
asyncwrite: true
enablecontractlog: true
metrics:
pushaddr:
username:
password:
enable: false
id: testnet:visitor00
debug:
listenaddr: 0.0.0.0:30003
version:
netname: "debugnet"
protocolversion: "1.0"