Browse Source

use separated boost address

main
ghost 9 months ago
parent
commit
fc89a07101
  1. 4
      .env
  2. 1
      config/services.yaml
  3. 2
      src/Controller/ModuleController.php

4
.env

@ -42,6 +42,10 @@ APP_KEVACOIN_PASSWORD=EDIT_ME @@ -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

1
config/services.yaml

@ -17,6 +17,7 @@ parameters: @@ -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)%'

2
src/Controller/ModuleController.php

@ -73,7 +73,7 @@ class ModuleController extends AbstractController @@ -73,7 +73,7 @@ class ModuleController extends AbstractController
],
'boost' =>
[
'address' => $this->getParameter('app.kevacoin.profit.address')
'address' => $this->getParameter('app.kevacoin.boost.address')
],
'mine' =>
[

Loading…
Cancel
Save