Versions in this module Expand all Collapse all v0 v0.0.3 Apr 21, 2025 v0.0.2 Apr 21, 2025 Changes in this version + const AcceptEncodingHeader + const AccessControlExposeHeaders + const AuthorizationHeader + const ContentDispositionHeader + const ContentLengthHeader + const ContentTypeHeader + const ETagHeader + const GasLimitHeader + const GasPriceHeader + const ImmutableHeader + const OriginHeader + const RangeHeader + const SwarmActHeader + const SwarmActHistoryAddressHeader + const SwarmActPublisherHeader + const SwarmActTimestampHeader + const SwarmChunkRetrievalTimeoutHeader + const SwarmCollectionHeader + const SwarmDeferredUploadHeader + const SwarmEncryptHeader + const SwarmErrorDocumentHeader + const SwarmFeedIndexHeader + const SwarmFeedIndexNextHeader + const SwarmIndexDocumentHeader + const SwarmLegacyFeedResolve + const SwarmLookAheadBufferSizeHeader + const SwarmOnlyRootChunk + const SwarmPinHeader + const SwarmPostageBatchIdHeader + const SwarmPostageStampHeader + const SwarmRedundancyFallbackModeHeader + const SwarmRedundancyLevelHeader + const SwarmRedundancyStrategyHeader + const SwarmSocSignatureHeader + const SwarmTagHeader + var Version = "0.0.0" + func CalculateNumberOfChunks(contentLength int64, isEncrypted bool) int64 + type BeeNodeMode uint + const DevMode + const FullMode + const LightMode + const UltraLightMode + const UnknownMode + func (b BeeNodeMode) String() string + type BlockListedPeer struct + Duration int + Reason string + type ChunkInclusionProof struct + ChunkSpan uint64 + PostageProof PostageProof + ProofSegments []string + ProofSegments2 []string + ProofSegments3 []string + ProveSegment string + ProveSegment2 string + SocProof []SOCProof + type ChunkInclusionProofs struct + A ChunkInclusionProof + B ChunkInclusionProof + C ChunkInclusionProof + type ExtraOptions struct + AccessControl accesscontrol.Controller + Accounting accounting.Interface + BlockTime time.Duration + Chequebook chequebook.Service + FeedFactory feeds.Factory + Gsoc gsoc.Listener + LightNodes *lightnode.Container + NodeStatus *status.Service + PinIntegrity PinIntegrity + Pingpong pingpong.Interface + Post postage.Service + PostageContract postagecontract.Interface + Pseudosettle settlement.Interface + Pss pss.Interface + Resolver resolver.Interface + Staking staking.Contract + Steward steward.Interface + Storer Storer + Swap swap.Interface + SyncStatus func() (bool, error) + TopologyDriver topology.Driver + type FileInfo struct + ContentType string + Name string + Path string + Reader io.Reader + Size int64 + type GranteesPatch struct + Addlist []*ecdsa.PublicKey + Revokelist []*ecdsa.PublicKey + type GranteesPatchRequest struct + Addlist []string + Revokelist []string + type GranteesPatchResponse struct + HistoryReference swarm.Address + Reference swarm.Address + type GranteesPostRequest struct + GranteeList []string + type GranteesPostResponse struct + HistoryReference swarm.Address + Reference swarm.Address + type Options struct + CORSAllowedOrigins []string + WsPingPeriod time.Duration + type Peer struct + Address swarm.Address + FullNode bool + type PinIntegrity interface + Check func(ctx context.Context, logger log.Logger, pin string, out chan storer.PinStat) + type PinIntegrityResponse struct + Invalid int + Missing int + Reference swarm.Address + Total int + type PostageProof struct + Index string + PostageId string + Signature string + TimeStamp string + type Probe struct + func NewProbe() *Probe + func (p *Probe) Healthy() ProbeStatus + func (p *Probe) Ready() ProbeStatus + func (p *Probe) SetHealthy(ps ProbeStatus) + func (p *Probe) SetReady(ps ProbeStatus) + type ProbeStatus int32 + const ProbeStatusNOK + const ProbeStatusOK + func (ps ProbeStatus) String() string + type RCHashResponse struct + DurationSeconds float64 + Hash swarm.Address + Proofs ChunkInclusionProofs + type ReadyStatusResponse healthStatusResponse + type SOCProof struct + ChunkAddr string + Identifier string + Signature string + Signer string + type Service struct + func New(publicKey, pssPublicKey ecdsa.PublicKey, ethereumAddress common.Address, ...) *Service + func (s *Service) Close() error + func (s *Service) Configure(signer crypto.Signer, tracer *tracing.Tracer, o Options, e ExtraOptions, ...) + func (s *Service) EnableFullAPI() + func (s *Service) Metrics() []prometheus.Collector + func (s *Service) MetricsRegistry() *prometheus.Registry + func (s *Service) Mount() + func (s *Service) MustRegisterMetrics(cs ...prometheus.Collector) + func (s *Service) SetIsWarmingUp(v bool) + func (s *Service) SetP2P(p2p p2p.DebugService) + func (s *Service) SetProbe(probe *Probe) + func (s *Service) SetRedistributionAgent(redistributionAgent *storageincentives.Agent) + func (s *Service) SetSwarmAddress(addr *swarm.Address) + func (s *Service) StatusMetrics() []prometheus.Collector + type Storer interface + type UpgradedResponseWriter interface