안녕하세요, 서비스체인 SCN 4대 구성 및 블록 생성되는 부분 확인한 뒤에
서비스체인 내 SPN, SEN 설치를 진행 중인데, SPN 설정 후에 서비스 구동 시 genesis block is not provided 라는 메시지가 노출되어 문의 드립니다.
scn내 static-nodes.json에 pn 설정을 해 두었고, spn 내 static-nodes.json에도 cn 및 pn설정을 동일하게 해 둔 상태입니다.
(cn의 kscn 포트 설정은 30000, pn의 kspn 포트 설정은 32323으로 하고 각 static-nodes.json에도 반영되어 있음,
pn의 node key의 경우 kgen --ip “10.175.184.160” --port 32323 --file 를 통해 생성하여 data 폴더에 nodekey 및 static-nodes.json 반영,
network ID의 경우 cn pn 모두 3333으로 동일)
추가로 SPN/SEN 설치 가이드는 현재 항목 내 내용이 공란이라, 관련 가이드를 받을 수 있을지도 문의 드립니다.
감사합니다.
INFO[11/24,20:12:09 +09] [31] Enabling metrics collection
INFO[11/24,20:12:09 +09] [31] Enabling Prometheus Exporter
INFO[11/24,20:12:09 +09] [18] Setting connection type nodetype=spn conntype=2
INFO[11/24,20:12:09 +09] [18] Setting MaxPhysicalConnections MaxPhysicalConnections=200
INFO[11/24,20:12:09 +09] [18] A private network ID is set networkid=3333
INFO[11/24,20:12:09 +09] [18] Raised fd limit to process's maximum value fd=4096
INFO[11/24,20:12:09 +09] [18] A private network ID is set networkid=3333
INFO[11/24,20:12:09 +09] [18] Archiving mode of this node isArchiveMode=false
INFO[11/24,20:12:09 +09] [40] Starting peer-to-peer node instance=Klaytn/v1.7.1/linux-amd64/go1.15.7
INFO[11/24,20:12:09 +09] [46] Non-single database is used for persistent storage DBType=LevelDB
INFO[11/24,20:12:09 +09] [46] LevelDB configurations path=/home/klaytn_admin/data/klay/chaindata/misc levelDBCacheSize=16 openFilesLimit=40 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[11/24,20:12:09 +09] [46] LevelDB configurations path=/home/klaytn_admin/data/klay/chaindata/header levelDBCacheSize=38 openFilesLimit=102 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[11/24,20:12:09 +09] [46] LevelDB configurations path=/home/klaytn_admin/data/klay/chaindata/body levelDBCacheSize=38 openFilesLimit=102 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[11/24,20:12:09 +09] [46] LevelDB configurations path=/home/klaytn_admin/data/klay/chaindata/receipts levelDBCacheSize=38 openFilesLimit=102 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[11/24,20:12:09 +09] [46] LevelDB configurations path=/home/klaytn_admin/data/klay/chaindata/statetrie/0 levelDBCacheSize=76 openFilesLimit=204 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[11/24,20:12:09 +09] [46] LevelDB configurations path=/home/klaytn_admin/data/klay/chaindata/statetrie/1 levelDBCacheSize=76 openFilesLimit=204 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[11/24,20:12:09 +09] [46] LevelDB configurations path=/home/klaytn_admin/data/klay/chaindata/statetrie/2 levelDBCacheSize=76 openFilesLimit=204 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[11/24,20:12:09 +09] [46] LevelDB configurations path=/home/klaytn_admin/data/klay/chaindata/statetrie/3 levelDBCacheSize=76 openFilesLimit=204 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[11/24,20:12:09 +09] [46] Created a sharded database dbType=statetrie numShards=4
INFO[11/24,20:12:09 +09] [46] LevelDB configurations path=/home/klaytn_admin/data/klay/chaindata/txlookup levelDBCacheSize=16 openFilesLimit=40 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
INFO[11/24,20:12:09 +09] [46] LevelDB configurations path=/home/klaytn_admin/data/klay/chaindata/bridgeservice levelDBCacheSize=16 openFilesLimit=20 useBufferPool=true usePerfCheck=true compressionType=none compactionTableSize(MB)=2 compactionTableSizeMultiplier=1.000
ERROR[11/24,20:12:09 +09] [5] No genesis is provided. --networkid should be omitted if you want to use preconfigured network
Fatal: Error starting protocol stack: genesis block is not provided
[PN]
[ "kni://56e598fa75aab5923bb666e921c752ca258f331db27e1390bebb74aac84f002895f67376ce6c48934e5d534e0eff8b4fb4fc6dfb53890eb2037fcfa2395783a1@10.175.184.62:30000?discport=0\u0026ntype=cn",
"kni://1709f109d1ea80a3abb1f52e3def2cea0605953e52ca2217195e372e6408230894c6a6c6a8c4b2d6f0f73bb8f2443726d8800a5e8e085cbb6c914b136a0436af@10.175.184.160:32323?discport=0\u0026ntype=pn"
]
[CN 4대중 1대]
[ "kni://2b3cb0850426baaca5ccdef7196a99ad2c8cdd9fe240ca7e764e02cfdcc22fead46452de4fe960052e89ce6e2069e335c9e042053373c4c1ddaba6224c7470c4@10.175.184.141:30000?discport=0\u0026ntype=cn",
"kni://0d8a73b23c13bb98bc3e368ab69e92df3955c791ae382515dd63fafb7880eb2bf2bf2cded1ccfba7bb8f7f1d4e2798fbf594295ae26c07819c77fec300349c6f@10.175.184.127:30000?discport=0\u0026ntype=cn",
"kni://56e598fa75aab5923bb666e921c752ca258f331db27e1390bebb74aac84f002895f67376ce6c48934e5d534e0eff8b4fb4fc6dfb53890eb2037fcfa2395783a1@10.175.184.62:30000?discport=0\u0026ntype=cn",
"kni://3d4cc7f4bf991e6fe74199b0d1e708788a2a542be45f5deb410a2e82025871e7cb936bdbdb4ca043474f8e7cad3e39d49faf0dae16c408e2d69f6b022007cd95@10.175.184.22:30000?discport=0\u0026ntype=cn",
"kni://1709f109d1ea80a3abb1f52e3def2cea0605953e52ca2217195e372e6408230894c6a6c6a8c4b2d6f0f73bb8f2443726d8800a5e8e085cbb6c914b136a0436af@10.175.184.160:32323?discport=0\u0026ntype=pn"
]
[PN]
...
NETWORK_ID=3333
PORT=32323
SERVER_TYPE=fasthttp
SYNCMODE=full
VERBOSITY=3
...
[CN]
...
NETWORK_ID=3333
PORT=30000 # if EN(main-bridge) and SCN(sub-bridge) on same instance, use different port with EN.(EN: 32323, SCN:22323)
SERVER_TYPE="fasthttp"
SYNCMODE="full"
VERBOSITY=3
...