Go to file
GroovieGermanikus 2ac875d7b7
remove unused indices:
DROP INDEX banking_stage_results_2.idx_blocks_block_hash;
DROP INDEX banking_stage_results_2.idx_accounts_map_blocks_acc_write_flag;
DROP INDEX banking_stage_results_2.idx_transaction_slot_timestamp;
DROP INDEX banking_stage_results_2.idx_accounts_map_blocks_slot;
DROP INDEX banking_stage_results_2.accounts_map_transaction_acc_id;
2024-01-11 18:44:19 +01:00
.github/workflows Add fly deployment action 2023-11-28 03:06:39 +00:00
.idea minor cleanup 2023-11-23 13:52:56 +01:00
src slow sqlfunction (#42) 2024-01-11 17:39:44 +01:00
.dockerignore WIP: fly config 2023-11-22 19:33:12 +01:00
.gitignore
Cargo.lock Loading all ALTS in bulk, saving stats of priority fees by cus (#34) 2024-01-03 11:43:55 +01:00
Cargo.toml Loading all ALTS in bulk, saving stats of priority fees by cus (#34) 2024-01-03 11:43:55 +01:00
Dockerfile Fix/fly cleanup2 (#36) 2024-01-05 11:16:27 +01:00
README.md get banking blocks from rpc 2023-11-24 11:41:19 +01:00
alts.txt Preloading ALTs from a predetermined list 2023-12-26 14:40:33 +01:00
fly.toml Fix metrics path 2023-11-23 14:48:13 +00:00
migration.sql remove unused indices: 2024-01-11 18:44:19 +01:00
run-service-and-cleanup.sh run cleanupjob on fly (#35) 2024-01-05 11:12:44 +01:00

README.md

TO INSTALL POSTGRES SCHEMA AND DATABASE

sudo -u postgres psql postgres

in postgres

create data create database mangolana; grant all privileges on database mangolana to galactus;

psql -d mangolana < migration.sql

export PG_CONFIG="host=localhost dbname=mangolana user=galactus password=test sslmode=disable"

give rights to user

GRANT ALL PRIVILEGES ON DATABASE mangolana TO galactus; GRANT ALL PRIVILEGES ON SCHEMA banking_stage_results TO galactus; GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA banking_stage_results TO galactus; ALTER DEFAULT PRIVILEGES IN SCHEMA banking_stage_results GRANT ALL PRIVILEGES ON TABLES TO galactus;