Documentation
¶
Overview ¶
Code generated by go generate; DO NOT EDIT. This file was generated by go generate at 2023-08-11T11:44:04+02:00.
Index ¶
Constants ¶
View Source
const ( DefaultAPIAddress = "localhost:9980" DefaultGatewayAddress = ":9981" DefaultS3Address = "localhost:8080" )
Variables ¶
View Source
var ( // DefaultGougingSettings define the default gouging settings the bus is // configured with on startup. These values can be adjusted using the // settings API. DefaultGougingSettings = api.GougingSettings{ MinMaxCollateral: types.Siacoins(10), MaxRPCPrice: types.Siacoins(1).Div64(1000), MaxContractPrice: types.Siacoins(15), MaxDownloadPrice: types.Siacoins(3000), MaxUploadPrice: types.Siacoins(3000), MaxStoragePrice: types.Siacoins(3000).Div64(1 << 40).Div64(144 * 30), HostBlockHeightLeeway: 6, MinPriceTableValidity: 5 * time.Minute, MinAccountExpiry: 24 * time.Hour, MinMaxEphemeralAccountBalance: types.Siacoins(1), } // DefaultUploadPackingSettings define the default upload packing settings // the bus is configured with on startup. DefaultUploadPackingSettings = api.UploadPackingSettings{ Enabled: true, SlabBufferMaxSizeSoft: 1 << 32, } // DefaultRedundancySettings define the default redundancy settings the bus // is configured with on startup. These values can be adjusted using the // settings API. DefaultRedundancySettings = api.RedundancySettings{ MinShards: 10, TotalShards: 30, } )
Functions ¶
func NetworkName ¶
func NetworkName() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.