Collects DeroGold blockchain data into a SQL backend. The SQL backend serves other services, such as Blockchain Explorer, mobile wallet, and third party payment services. It is based on the now non-existent TurtlePay® code.
- DeroGold >= 0.7.1.0
- node >=10
- MariaDB/MySQL with InnoDB support
For the best performance when using this package (as of October 17, 2024), your Database server must have a minimum of the following:
- 32GB RAM
- 16GB dedicated to MariaDB/MySQL
- 8 CPU Cores (16 Recommended)
- NVMe Storage
Warning: Running the DB on system(s) with less than the minimum hardware requirements above will cause performance issues. If you are experiencing issues please verify that the system you are using meets the minimum requirements above. We cannot assist with performance issues with implementations that do not meet the above minimum requirements.
The help tune your selected DBMS, we recommend that you read the following documents, at a minimum, to tune your DBMS installation for the dataset this package manages.
This list is by no means comprehensive nor do we guarantee the information or suggestions provided in the articles below are accurate. These links are provided solely as a jumping off point to get you started.
- MySQL 5.7 Performance Tuning After Installation
- InnoDB Performance Optimization Basics
- Optimizing InnoDB Disk I/O
- Optimizing InnoDB Configuration Variables
- 15 Useful MySQL/MariaDB Performance Tuning and Optimization Tips
- InnoDB Performance Optimisation
npm install
- Set your environment variables and start the service up
export MYSQL_HOST=localhost
export MYSQL_PORT=3306
export MYSQL_USERNAME=yourdbusername
export MYSQL_PASSWORD=yourdbpassword
export MYSQL_DATABASE=yourdbname
export NODE_HOST=localhost
export NODE_PORT=6969
npm start
npm test
👤 DeroGold Developers
Based on the work done by now non-existent TurtlePay® Developers.
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2018-2020 [TurtlePay® Development Team]. Copyright © 2020-2024 DeroGold Developers.
This project is AGPL-3.0 licensed.