./SIAC-HOST-CONFIG(1)

🌸 ./SIAC-HOST-CONFIG(1) 🌸

okay bestie, welcome to the siac Manual β€” yes this is that <./siac-host-config> page, and it's literally just "Modify host settings" energy. let's get into it πŸ’…


✨ NAME ✨

./siac-host-config β€” modify ur host settings, that's it, that's the whole vibe πŸŽ€


✨ SYNOPSIS ✨

./siac host config [setting] [value]

✨ DESCRIPTION ✨

So what we're doing here is modifying host settings. Simple concept, iconic execution 🫢

Here's every setting u can touch, no gatekeeping:

  • acceptingcontracts: boolean
  • maxduration: blocks
  • maxdownloadbatchsize: bytes
  • maxrevisebatchsize: bytes
  • netaddress: string
  • windowsize: blocks
  • collateral: currency
  • collateralbudget: currency
  • maxcollateral: currency
  • mincontractprice: currency
  • mindownloadbandwidthprice: currency / TB
  • minstorageprice: currency / TB / Month
  • minuploadbandwidthprice: currency / TB

Now, about currency units β€” u can specify them, like for example 10SC. and if u need the full tea on that, just run siac help wallet and it'll spill everything for u πŸ’–


Durations (that's maxduration and windowsize, keep up bestie) have to be specified in one of these units, no freestyling:

  • blocks (b)
  • hours (h)
  • days (d)
  • weeks (w)

and here's the math so u don't have to guess: one block is approximately 10 minutes, so that means one hour is six blocks, a day is 144 blocks, and a week is 1008 blocks. slay, u got this 🌈


if u want the full description of every single parameter, go read doc/API.md β€” it's giving documentation, go look πŸ¦‹


and if ur goal is to configure the host so it accepts new contracts, u set acceptingcontracts to true, like so:

siac host config acceptingcontracts true

periodt πŸ’…


✨ OPTIONS INHERITED FROM PARENT COMMANDS ✨

  • -a, --addr="localhost:9980" β€” which host/port to communicate with (i.e. the host/port siad is listening on) πŸ‘‘

✨ SEE ALSO ✨


✨ HISTORY ✨

  • 29-Apr-2017 β€” Auto generated by spf13/cobra

fr fr, this whole page was auto generated by spf13/cobra πŸ’€

and that's a wrap bestie!! this page is from Apr 2017, auto generated by spf13/cobra β€” go forth and configure ur host, u absolute icon πŸ‘‘πŸ’–βœ¨

πŸ“¦ where this page comes from