solana/accountsdb-plugin-postgres
Tyera Eulberg 637e366b18
Prevent rent-paying account creation (#22292)
* Fixup typo

* Add new feature

* Add new TransactionError

* Add framework for checking account state before and after transaction processing

* Fail transactions that leave new rent-paying accounts

* Only check rent-state of writable tx accounts

* Review comments: combine process_result success behavior; log and metrics before feature activation

* Fix tests that assume rent-exempt accounts are okay

* Remove test no longer relevant

* Remove native/sysvar special case

* Move metrics submission to report legacy->legacy rent paying transitions as well
2022-01-11 11:32:25 -07:00
..
scripts Prevent rent-paying account creation (#22292) 2022-01-11 11:32:25 -07:00
src Prevent rent-paying account creation (#22292) 2022-01-11 11:32:25 -07:00
Cargo.toml Bump serde from 1.0.132 to 1.0.133 (#22233) 2022-01-03 22:19:39 +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.