You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,6 +119,7 @@ Start command will start application on 2 ports that need to be exposed to publi
119
119
|`--selection`|type of selection that is used for selecting nodes on new request, valid values are `round-robin` and `random`|`round-robin`|
120
120
|`--payout-interval`|automatic payout interval specified as number of days, for more details see [payout instructions](#payouts)|-|
121
121
|`--payout-reward`|defined reward amount that will be distributed on the payout (amount in Planck), for more details see [payout instructions](#payouts)|-|
122
+
|`--lb-payout-address`|address on which load balancer fee will be sent|-|
|`--log-file`|path to file in which logs will be saved|`stdout`|
124
125
@@ -134,26 +135,29 @@ For Westend's WND tokens, see the faucet [instructions on the Wiki](https://wiki
134
135
135
136
When starting _vedran loadbalancer_ it is possible to configure automatic payout by providing these flags:
136
137
137
-
`--private-key` - loadbalancers wallet private key (string representation of hex value prefixed with 0x), used for sending rewards on payout
138
+
`--private-key` - loadbalancers wallet private key (string representation of hex value prefixed with 0x), used for sending rewards on the payout
138
139
139
140
`--payout-interval` - automatic payout interval specified as number of days
140
141
141
-
`--payout-reward` - defined total reward amount that will be distributed on the payout (amount in Planck)
142
+
`--payout-reward` - defined total reward amount that will be distributed on the payout (amount in Planck). If omitted, the entire balance of lb wallet will be used as a total reward, and in this case `--lb-payout-fee-address` must be set
143
+
144
+
`--lb-payout-address` - address on which load balancer fee will be sent. If omitted, load balancer fee will be left on load balancer wallet after payout. This flag is **required** if `--payout-reward` is not set (or set to -1)
142
145
143
146
If all flags have been provided, then each {_payout-interval_} days automatic payout will be started.
144
147
145
148
### Manual payout
146
149
147
-
It is possible to run payout script at any time by invoking `vedran payout` command trough console.
148
-
This command has two required flags:
150
+
It is possible to run payout script at any time by invoking `vedran payout` command through the console.
151
+
152
+
`--private-key` - loadbalancers wallet private key (string representation of hex value prefixed with 0x), used for sending rewards on the payout
149
153
150
-
`--private-key` - loadbalancers wallet private key (string representation of hex value prefixed with 0x), used for sending founds on payout
154
+
`--payout-reward` - defined total reward amount that will be distributed on the payout (amount in Planck). If omitted, the entire balance of lb wallet will be used as a total reward, and in this case `--lb-payout-fee-address` must be set
151
155
152
-
`--payout-reward` - defined total reward amount that will be distributed on the payout (amount in Planck)
156
+
`--lb-payout-fee-address` - address on which load balancer fee will be sent. If omitted, load balancer fee will be left on load balancer wallet after payout. This flag is **required** if `--payout-reward` is not set (or set to -1)
153
157
154
-
Additionally, it is possible to change url on which payout script will connect with loadbalancer when executing transactions by setting flag (default value will be _http://localhost:80_)
158
+
Additionally, it is possible to change URL on which payout script will connect with loadbalancer when executing transactions by setting flag (default value will be _http://localhost:80_)
155
159
156
-
`--load-balancer-url` - loadbalancer url
160
+
`--load-balancer-url` - loadbalancer URL
157
161
158
162
### Get private key
159
163
You can use [subkey](https://substrate.dev/docs/en/knowledgebase/integrate/subkey) tool to get private key for your wallet.
0 commit comments