配置Yellowstone gRPC插件
更新于2024/12/15
下载Yellowstone gRPC插件
wget https://github.com/rpcpool/yellowstone-grpc/releases/download/v3.0.0%2Bsolana.2.0.18/yellowstone-grpc-geyser-release22-x86_64-unknown-linux-gnu.tar.bz2
apt-get install bzip2
tar -xvjf yellowstone-grpc-geyser-release22-x86_64-unknown-linux-gnu.tar.bz2配置
vim yellowstone-config.json{
"libpath": "/root/yellowstone-grpc-geyser-release/lib/libyellowstone_grpc_geyser.so",
"log": {
"level": "info"
},
"grpc": {
"address": "0.0.0.0:10001",
"max_decoding_message_size": "8_388_608",
"snapshot_plugin_channel_capacity": null,
"snapshot_client_channel_capacity": "50_000_000",
"channel_capacity": "200_000",
"unary_concurrency_limit": 1000,
"unary_disabled": false,
"filters": {
"accounts": {
"max": 100,
"any": false,
"account_max": 100,
"account_reject": [
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
],
"owner_max": 10,
"owner_reject": [
"11111111111111111111111111111111"
]
},
"slots": {
"max": 1
},
"transactions": {
"max": 100,
"any": false,
"account_include_max": 100,
"account_include_reject": [
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
],
"account_exclude_max": 100,
"account_required_max": 100
},
"transactions_status": {
"max": 100,
"any": false,
"account_include_max": 100,
"account_include_reject": [
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
],
"account_exclude_max": 100,
"account_required_max": 100
},
"blocks": {
"max": 1,
"account_include_max": 100,
"account_include_any": false,
"account_include_reject": [
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
],
"include_transactions": true,
"include_accounts": false,
"include_entries": false
},
"blocks_meta": {
"max": 1
},
"entries": {
"max": 1
}
}
}
}检查配置
启用
一些使用教程
最后更新于