Skip to content

Conversation

@tak1827
Copy link
Contributor

@tak1827 tak1827 commented Dec 26, 2025

メインのインスタンス(SuspiciousTxfilter)をGlobalで定義している。
worker structに組み入れたいところだけど、そうすると、使いたいところまで持ってくるために、いろんな関数のインターフェースを変更する必要がある。それは避けたい。

Oasysホストするもの(gethがダウンロードするもの)

  • pluginのプログラム自体
  • pluginのメタデータJson(プラグインの検証用)

Pluginのテスト方法

# pluginのビルド
make plugin-test

# rename
mv ./txfilter/testdata/suspicious_txfilter-v1.json ./txfilter/testdata/suspicious_txfilter.json
mv ./txfilter/testdata/suspicious_txfilter-v1.so ./txfilter/testdata/suspicious_txfilter.so

# oasys-private-l1でプラグインサーバを起動
docker compose up -d pluginserver

@tak1827 tak1827 changed the base branch from main to feat/block-tx December 26, 2025 02:01
@tak1827 tak1827 requested a review from Copilot January 24, 2026 01:49
@tak1827 tak1827 marked this pull request as ready for review January 24, 2026 01:49
@tak1827 tak1827 requested a review from ironbeer January 24, 2026 01:49

This comment was marked as resolved.

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants