From fc89a071012f42297bdcefb7541ff5d632229d4c Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 18 Feb 2024 02:31:12 +0200 Subject: [PATCH] use separated boost address --- .env | 4 ++++ config/services.yaml | 1 + src/Controller/ModuleController.php | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.env b/.env index 6911f11..cb80b80 100644 --- a/.env +++ b/.env @@ -42,6 +42,10 @@ APP_KEVACOIN_PASSWORD=EDIT_ME # KevaCoin Address to receive profit funds (remote or local) APP_KEVACOIN_PROFIT_ADDRESS=EDIT_ME +# KevaCoin Address to receive donations (optional) +# deprecated but useful when the node does not charge comission +APP_KEVACOIN_BOOST_ADDRESS= + # Local pool account name (to generate tmp addresses for guest publications) APP_KEVACOIN_POOL_ACCOUNT=POOL diff --git a/config/services.yaml b/config/services.yaml index 4ad4b24..d37cadf 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -17,6 +17,7 @@ parameters: app.kevacoin.password: '%env(APP_KEVACOIN_PASSWORD)%' app.kevacoin.pool.account: '%env(APP_KEVACOIN_POOL_ACCOUNT)%' app.kevacoin.profit.address: '%env(APP_KEVACOIN_PROFIT_ADDRESS)%' + app.kevacoin.boost.address: '%env(APP_KEVACOIN_BOOST_ADDRESS)%' app.kevacoin.room.namespaces.pinned: '%env(APP_KEVACOIN_ROOM_NAMESPACES_PINNED)%' app.kevacoin.room.namespaces.readonly: '%env(APP_KEVACOIN_ROOM_NAMESPACES_READONLY)%' app.kevacoin.room.namespace.default: '%env(APP_KEVACOIN_ROOM_NAMESPACE_DEFAULT)%' diff --git a/src/Controller/ModuleController.php b/src/Controller/ModuleController.php index 41e63ee..a486158 100644 --- a/src/Controller/ModuleController.php +++ b/src/Controller/ModuleController.php @@ -73,7 +73,7 @@ class ModuleController extends AbstractController ], 'boost' => [ - 'address' => $this->getParameter('app.kevacoin.profit.address') + 'address' => $this->getParameter('app.kevacoin.boost.address') ], 'mine' => [