Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update solana to 1.18.15 and postgresql to 16 #66

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

simbahebinbo
Copy link

No description provided.

@jiaxi-xu-fsx
Copy link

jiaxi-xu-fsx commented Nov 21, 2024

Did you successfully build it and run it with a local validator without any issues? I tried with my plugin-config.json and I always faced Segmentation fault:

$ solana-test-validator --reset --geyser-plugin-config /home/jiaxi.xu/solana-accountsdb-plugin-postgres/plugin-config.json
Ledger location: test-ledger
Log: test-ledger/validator.log
⠤ Initializing...                                                                                                                                                                                                                                                                                           Segmentation fault

Below is my plugin-config.json code:

{
    "libpath": "/home/jiaxi.xu/solana-accountsdb-plugin-postgres/target/release/libsolana_geyser_plugin_postgres.so",
    "host": "localhost",
    "user": "solana",
    "connection_str": "postgres://solana:solana@localhost:5432/solana",
    "port": 5432,
    "threads": 20,
    "batch_size": 20,
    "panic_on_db_errors": true,
    "accounts_selector": {
        "accounts": [
            "*"
        ]
    },
    "transaction_selector": {
        "mentions": [
            "*"
        ]
    }
}

And I ran it with command:
solana-test-validator --reset --geyser-plugin-config /home/jiaxi.xu/solana-accountsdb-plugin-postgres/plugin-config.json

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