From 9b77d31ce72d9ee234b9354fe848bc3de6e3473d Mon Sep 17 00:00:00 2001 From: muXxer Date: Fri, 15 Mar 2024 11:15:31 +0100 Subject: [PATCH] Increase mana payout parameters --- components/faucet/params.go | 4 ++-- config_defaults.json | 4 ++-- configuration.md | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/faucet/params.go b/components/faucet/params.go index e74ce8d..4640765 100644 --- a/components/faucet/params.go +++ b/components/faucet/params.go @@ -10,8 +10,8 @@ type ParametersFaucet struct { BaseTokenAmount uint64 `default:"1000000000" usage:"the amount of funds the requester receives"` BaseTokenAmountSmall uint64 `default:"100000000" usage:"the amount of funds the requester receives if the target address has more funds than the faucet amount and less than maximum"` BaseTokenAmountMaxTarget uint64 `default:"5000000000" usage:"the maximum allowed amount of funds on the target address"` - ManaAmount uint64 `default:"1000" usage:"the amount of mana the requester receives"` - ManaAmountMinFaucet uint64 `default:"1000000" usage:"the minimum amount of mana the faucet needs to hold before mana payouts become active"` + ManaAmount uint64 `default:"1000000" usage:"the amount of mana the requester receives"` + ManaAmountMinFaucet uint64 `default:"1000000000" usage:"the minimum amount of mana the faucet needs to hold before mana payouts become active"` TagMessage string `default:"FAUCET" usage:"the faucet transaction tag payload"` BatchTimeout time.Duration `default:"2s" usage:"the maximum duration for collecting faucet batches"` BindAddress string `default:"localhost:8091" usage:"the bind address on which the faucet website can be accessed from"` diff --git a/config_defaults.json b/config_defaults.json index 1111964..b39c6f1 100644 --- a/config_defaults.json +++ b/config_defaults.json @@ -26,8 +26,8 @@ "baseTokenAmount": 1000000000, "baseTokenAmountSmall": 100000000, "baseTokenAmountMaxTarget": 5000000000, - "manaAmount": 1000, - "manaAmountMinFaucet": 1000000, + "manaAmount": 1000000, + "manaAmountMinFaucet": 1000000000, "tagMessage": "FAUCET", "batchTimeout": "2s", "bindAddress": "localhost:8091", diff --git a/configuration.md b/configuration.md index 4bb9df5..e1346f7 100755 --- a/configuration.md +++ b/configuration.md @@ -119,8 +119,8 @@ Example: | baseTokenAmount | The amount of funds the requester receives | uint | 1000000000 | | baseTokenAmountSmall | The amount of funds the requester receives if the target address has more funds than the faucet amount and less than maximum | uint | 100000000 | | baseTokenAmountMaxTarget | The maximum allowed amount of funds on the target address | uint | 5000000000 | -| manaAmount | The amount of mana the requester receives | uint | 1000 | -| manaAmountMinFaucet | The minimum amount of mana the faucet needs to hold before mana payouts become active | uint | 1000000 | +| manaAmount | The amount of mana the requester receives | uint | 1000000 | +| manaAmountMinFaucet | The minimum amount of mana the faucet needs to hold before mana payouts become active | uint | 1000000000 | | tagMessage | The faucet transaction tag payload | string | "FAUCET" | | batchTimeout | The maximum duration for collecting faucet batches | string | "2s" | | bindAddress | The bind address on which the faucet website can be accessed from | string | "localhost:8091" | @@ -151,8 +151,8 @@ Example: "baseTokenAmount": 1000000000, "baseTokenAmountSmall": 100000000, "baseTokenAmountMaxTarget": 5000000000, - "manaAmount": 1000, - "manaAmountMinFaucet": 1000000, + "manaAmount": 1000000, + "manaAmountMinFaucet": 1000000000, "tagMessage": "FAUCET", "batchTimeout": "2s", "bindAddress": "localhost:8091",