solana/accountsdb-plugin-postgres
Lijun Wang 4530a5980e
Accountsdb plugin transaction part 2: transaction selector (#21331)
Created the transaction_selector which allows the user to configure the transactions to stream:

all transactions
all vote transactions
transactions mentioning accounts
2021-11-19 14:26:22 -08:00
..

This is an example implementing the AccountsDb plugin for PostgreSQL database. Please see the src/accountsdb_plugin_postgres.rs for the format of the plugin's configuration file.

To create the schema objects for the database, please use scripts/create_schema.sql. scripts/drop_schema.sql can be used to tear down the schema objects.