Skip to content

Commit

Permalink
Merge pull request #492 from SiaFoundation/bandwidth-labels
Browse files Browse the repository at this point in the history
hostd bandwidth setting descriptions are now more clear
  • Loading branch information
n8maninger authored Feb 20, 2024
2 parents ce05740 + fdcfcb6 commit 6f8ca81
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-walls-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'hostd': patch
---

The bandwidth settings for egress and ingress now have clearer descriptions.
8 changes: 6 additions & 2 deletions apps/hostd/contexts/config/fields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ export function getFields({
suggestion: rates ? usdInScRoundedToNearestTen(10, rates) : undefined,
suggestionTip:
'The suggested egress price in siacoins for egress per TB.',
description: <>{`The host's egress price in siacoins per TB.`}</>,
description: (
<>{`The host's egress price in siacoins per TB. Egress means bandwidth usage by outgoing download traffic.`}</>
),
validation: {
required: 'required',
},
Expand All @@ -100,7 +102,9 @@ export function getFields({
suggestion: rates ? usdInScRoundedToNearestTen(0.05, rates) : undefined,
suggestionTip: 'The suggested ingress price in siacoins per TB.',
decimalsLimitSc: scDecimalPlaces,
description: <>{`The host's ingress price in siacoins per TB.`}</>,
description: (
<>{`The host's ingress price in siacoins per TB. Ingress means bandwidth usage by incoming upload traffic.`}</>
),
validation: {
required: 'required',
},
Expand Down

0 comments on commit 6f8ca81

Please sign in to comment.