Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Problem: Anyone can sync with TSN nodes

オープン
#470 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
go

調査の方向性

The issue names no files, tests, or entry points. Start by tracing how TSN/Kwil nodes authorize peer access and synchronization, then confirm the chosen VPN or validator-only approach with maintainers. Done means unauthorized peers cannot populate a read-only node with chain data and the operational guidance reflects the decision.

索引モデルが issue の本文から書いたものです。

説明

What is happening:
  • before node operators, our p2p port was closed.
  • with node operators, we need to give nodes p2p access
  • currently, anyone with p2p access can say, "I want to be a read-only node of TSN chain" even if they are not validators
  • this means, when they connect, their DB is filled with all current data, without needing an approval
Solutions:
  1. make VPN part of our infra, guide node operators to connect through it
  2. ask the kwil team to add an option that disallows syncing without being a validator (1 week work, Brennan said). This makes the read-only nodes not possible, correct?
  3. keep it insecure for now, relying on the obscurity that our tsn-node-operators can remain private for now, and people won't immediately know the servers, genesis file, software, etc

(@brennanjl all correct?)


I'd vote for 2, or incrementally 3, then 2. Reasons:

  • onboarding won't be blocked
  • 1 makes the infra + onboarding significantly more complex
  • 3 seems ok with Cameron's decision about priority
  • VPN would also be a temporary solution, requiring more trust in operators, etc

Originally posted by @outerlook in https://github.com/truflation/tsn/issues/457#issuecomment-2288518928

@markholdex

@outerlook let's go with 3 now until 2 is not ready. Isolate no 2 in a separate problem, please.

@brennanjl What are the limitations or negative consequences of option 2? When can you put it on your roadmap and when can we see it ready?

主要言語
Go
スター
7
フォーク
3
平均マージ
3時間 2分
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

trufnetwork/node のほかの issue

trufnetwork/node の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。