Skip to content

Commit

Permalink
Script to start the Alert System Microservice and BSV node (#39)
Browse files Browse the repository at this point in the history
* Start Alert System Microservice and BSV node

* Put Alert System Microservice stderr log etires into a log file

* Proper Alert System Microservice binary name, logs are no longer needed.

* Print out the starting information

* Script documentation

* Update help

* Fix flake8 issues

* Fix Flake8 issues

* Fix isort issues

* Fix black issues

* Fix black issues

* alert-system renamed to alert_system

* Error only on non-zero return code

* Proper binary name is alert-system

Update keys/topics for testnet/stn

chore(deps): bump go.mongodb.org/mongo-driver from 1.13.1 to 1.13.2

Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.13.1 to 1.13.2.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](mongodb/mongo-go-driver@v1.13.1...v1.13.2)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
JackieChain authored and galt-tr committed Feb 15, 2024
1 parent 0e90291 commit ac1e8fa
Show file tree
Hide file tree
Showing 6 changed files with 465 additions and 21 deletions.
4 changes: 2 additions & 2 deletions app/config/envs/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"debug": true,
"engine": "sqlite",
"password": "",
"table_prefix": "alert_system",
"table_prefix": "alert_system_mainnet",
"sqlite": {
"database_path": "alert_system_datastore.db",
"database_path": "alert_system_mainnet_datastore.db",
"shared": false
},
"sql_read": {
Expand Down
16 changes: 8 additions & 8 deletions app/config/envs/stn.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"alert_webhook_url": "",
"bitcoin_config_path": "",
"genesis_keys": [
"027276d234a138415c7d8d61e33ea9c625f0d043fd06f1c863464a58ed7939afe1",
"0254b81f2e1bed83e414970ae7f7e3373014706251efb6990b5292a020e3a1585c",
"03801e7b4077edad7ebb3fa87ced7b126ae8eb2fbcb75821001f84a0374eea4a21",
"03df30507f71d1880888e9e7137280397a4235c2904d4c4e995d4292f00a9257b0",
"03ec55b29332500401336f6e1648d367f4619bedb561fd817d2247d80c4bad236c"
"0203aa8ca16b6b247b109b65e9d7a0f3a23ccae8f093f792e63bf5ce2567f572bc",
"0289d3a1c6dacd0ee3de7e5a960d8d226ffbdb82b3af41b4c6a01b0230cc6e0dce",
"0396d8808641463b41fe31b11717294e2e14941454ba6b27967ed571b9848ae768",
"02aaf9583bd5aa8e5993666e11785ff3b1b0a97694003b22cbd8a2b7150ff27736",
"02dfb76a88100c2b6cd7ad9c051bc9ef9daf74c9fa13a99cb870865a046a9772f1"
],
"log_output_file": "",
"disable_rpc_verification": false,
Expand All @@ -24,9 +24,9 @@
"debug": true,
"engine": "sqlite",
"password": "",
"table_prefix": "alert_system",
"table_prefix": "alert_system_stn",
"sqlite": {
"database_path": "alert_system_datastore.db",
"database_path": "alert_system_stn_datastore.db",
"shared": false
},
"sql_read": {
Expand Down Expand Up @@ -68,7 +68,7 @@
"alert_system_protocol_id": "/bitcoin-stn/alert-system/0.0.1",
"bootstrap_peer": "",
"private_key_path": "",
"topic_name": "bsv_alert_system_stn"
"topic_name": "bitcoin_alert_system_stn"
},
"rpc_connections": [
{
Expand Down
16 changes: 8 additions & 8 deletions app/config/envs/testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"alert_webhook_url": "",
"bitcoin_config_path": "",
"genesis_keys": [
"027276d234a138415c7d8d61e33ea9c625f0d043fd06f1c863464a58ed7939afe1",
"0254b81f2e1bed83e414970ae7f7e3373014706251efb6990b5292a020e3a1585c",
"03801e7b4077edad7ebb3fa87ced7b126ae8eb2fbcb75821001f84a0374eea4a21",
"03df30507f71d1880888e9e7137280397a4235c2904d4c4e995d4292f00a9257b0",
"03ec55b29332500401336f6e1648d367f4619bedb561fd817d2247d80c4bad236c"
"0203aa8ca16b6b247b109b65e9d7a0f3a23ccae8f093f792e63bf5ce2567f572bc",
"0289d3a1c6dacd0ee3de7e5a960d8d226ffbdb82b3af41b4c6a01b0230cc6e0dce",
"0396d8808641463b41fe31b11717294e2e14941454ba6b27967ed571b9848ae768",
"02aaf9583bd5aa8e5993666e11785ff3b1b0a97694003b22cbd8a2b7150ff27736",
"02dfb76a88100c2b6cd7ad9c051bc9ef9daf74c9fa13a99cb870865a046a9772f1"
],
"log_output_file": "",
"disable_rpc_verification": false,
Expand All @@ -24,9 +24,9 @@
"debug": true,
"engine": "sqlite",
"password": "",
"table_prefix": "alert_system",
"table_prefix": "alert_system_testnet",
"sqlite": {
"database_path": "alert_system_datastore.db",
"database_path": "alert_system_testnet_datastore.db",
"shared": false
},
"sql_read": {
Expand Down Expand Up @@ -68,7 +68,7 @@
"alert_system_protocol_id": "/bitcoin-testnet/alert-system/0.0.1",
"bootstrap_peer": "",
"private_key_path": "",
"topic_name": "alert_system_testnet"
"topic_name": "bitcoin_alert_system_testnet"
},
"rpc_connections": [
{
Expand Down
2 changes: 1 addition & 1 deletion go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ac1e8fa

Please sign in to comment.