solana/accountsdb-plugin-postgres
Jeff Washington (jwash) 90f41fd9b7
use cost model to limit new account creation (#21369)
* use cost model to limit new account creation

* handle every system instruction

* remove &

* simplify match

* simplify match

* add datapoint for account data size

* add postgres error handling

* handle accounts:unlock_accounts
2021-12-12 14:57:18 -06:00
..
scripts Migrate from address maps to address lookup tables (#21634) 2021-12-10 11:04:04 -05:00
src use cost model to limit new account creation (#21369) 2021-12-12 14:57:18 -06:00
Cargo.toml chore: bump serde from 1.0.130 to 1.0.131 (#21758) 2021-12-10 08:47:46 +00:00
README.md Accountsdb stream plugin improvement (#20419) 2021-10-08 20:06:58 -07:00

README.md

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.