Tron Fullnode 설치

in SCT.암호화폐.Crypto2 years ago (edited)

Tron Fullnode를 설치해보고 있습니다.

Tron은 java-tron 을 이용하여 설치를 하고 있고, 현재 Fullnode를 돌리기 위해서는 필요한 사양은 아래와 같습니다.

Supported Operating Systems: Linux ,MacOS
Tools and Dependencies:Oracle JDK 1.8 , git
Recommended Configuration
CPU:16 cores
RAM:32G
SSD:1.5T+
Bandwidth:100M
If you are a super representative to build a fullnode for block production, the recommended configuration is: CPU:32 cores, RAM:64G

나름 클래식 체인인 만큼 Tron Fullnode에 필요한 Storage가 적지 않은 것 같네요. 그리고 서버 스펙도 만만치 않은 것 같습니다.

AWS로 동작시켜야 하는 상황이라면 매달 비용이 꽤나 나가야 할 것 같네요.

참조 사이트 : https://developers.tron.network/docs/deploy-the-fullnode-or-supernode


참고사항

Source Download / compile

  • compile이 완료 되면 FullNode.jar 파일을 ./java-tron/build/libs/ folder 경로에서 찾을 수 있습니다.
git clone https://github.com/tronprotocol/java-tron.git
cd java-tron

git checkout -t origin/master
./gradlew clean build -x test

config.json 다운로드

SR(Super Representative) 설정

  • main_net_config.conf 파일 내부에 localwitness 부분에 private key 값을 바로 넣는 방법도 있고,
  • main_net_config.conf 파일 내부에 localwitnesskeystore 부분에 private key 값이 들어 있는 파일을 추가 하는 방법도 있습니다.
// 직접 등록 방법
localwitness = [
   650950B193DDDDB35B6E48912DD28F7AB0E7140C1BFDEFD493348F02295BD812
]

// 파일로 등록 방법
localwitnesskeystore = [
      "B/localwitnesskeystore.json"
]

Snapshot을 이용

  • 동기화 시간을 줄이기 위해서 Snapshot을 이용하는 경우
  • /java-tron/output-directory 경로에 snapshot 파일 내용을 압축해제 하면 됩니다.

Fullnode 시작

java -Xmx24g -XX:+UseConcMarkSweepGC -jar FullNode.jar -c main_net_config.conf
Sort:  

Upvoted! Thank you for supporting witness @jswit.

랜덤추천작가와 관심작가(2022-11-06)
https://www.steemit.com/@veryhappyday/-2022-11-06

@veryhappyday님이 당신을 멘션하였습니다.
멘션을 받고 싶거나 받지 않으시려면 댓글을 남겨주세요. 빠른 시일내에 반영하도록 하겠습니다.

[by @happyberrysboy] Tron Fullnode 설치
https://www.steemit.com/@kr-dev.cu2/tron-fullnode

@kr-dev.cu2님이 당신을 멘션하였습니다.
멘션을 받고 싶거나 받지 않으시려면 댓글을 남겨주세요. 빠른 시일내에 반영하도록 하겠습니다.

[광고] STEEM 개발자 커뮤니티에 참여 하시면, 다양한 혜택을 받을 수 있습니다.

This post has been upvoted by @italygame witness curation trail


If you like our work and want to support us, please consider to approve our witness




CLICK HERE 👇

Come and visit Italy Community



Hi @happyberrysboy,
my name is @ilnegro and I voted your post using steem-fanbase.com.

Come and visit Italy Community

해적 코인(PIR) 재단 재정 상황 11/6
https://www.steemit.com/@pircoin/pir-116

@pircoin님이 당신을 멘션하였습니다.
멘션을 받고 싶거나 받지 않으시려면 댓글을 남겨주세요. 빠른 시일내에 반영하도록 하겠습니다.

👍👌💯

Coin Marketplace

STEEM 0.19
TRX 0.13
JST 0.028
BTC 65178.97
ETH 3261.27
USDT 1.00
SBD 2.68