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 LoggerName + var ErrShutdownInProgress = errors.New("shutdown in progress") + func GetTxHash(stateStore storage.StateStorer, logger log.Logger, trxString string) ([]byte, error) + func GetTxNextBlock(ctx context.Context, logger log.Logger, backend transaction.Backend, ...) ([]byte, error) + func InitChain(ctx context.Context, logger log.Logger, stateStore storage.StateStorer, ...) (transaction.Backend, common.Address, int64, transaction.Monitor, ...) + func InitChequebookFactory(logger log.Logger, backend transaction.Backend, chainID int64, ...) (chequebook.Factory, error) + func InitChequebookService(ctx context.Context, logger log.Logger, stateStore storage.StateStorer, ...) (chequebook.Service, error) + func InitStamperStore(logger log.Logger, dataDir string, stateStore storage.StateStorer) (storage.Store, error) + func InitStateStore(logger log.Logger, dataDir string, cacheCapacity uint64) (storage.StateStorerManager, metrics.Collector, error) + func InitSwap(p2ps *libp2p.Service, logger log.Logger, stateStore storage.StateStorer, ...) (*swap.Service, priceoracle.Service, error) + type Bee struct + func NewBee(ctx context.Context, addr string, publicKey *ecdsa.PublicKey, ...) (b *Bee, err error) + func (b *Bee) Shutdown() error + func (b *Bee) SyncingStopped() chan struct{} + type DevBee struct + func NewDevBee(logger log.Logger, o *DevOptions) (b *DevBee, err error) + func (b *DevBee) Shutdown() error + type DevOptions struct + APIAddr string + CORSAllowedOrigins []string + DBBlockCacheCapacity uint64 + DBDisableSeeksCompaction bool + DBOpenFilesLimit uint64 + DBWriteBufferSize uint64 + Logger log.Logger + ReserveCapacity uint64 + type Options struct + APIAddr string + Addr string + AllowPrivateCIDRs bool + BlockProfile bool + BlockTime time.Duration + BlockchainRpcEndpoint string + BootnodeMode bool + Bootnodes []string + CORSAllowedOrigins []string + CacheCapacity uint64 + ChainID int64 + ChequebookEnable bool + DBBlockCacheCapacity uint64 + DBDisableSeeksCompaction bool + DBOpenFilesLimit uint64 + DBWriteBufferSize uint64 + DataDir string + EnableStorageIncentives bool + EnableWS bool + FullNodeMode bool + Logger log.Logger + MinimumStorageRadius uint + MutexProfile bool + NATAddr string + NeighborhoodSuggester string + PaymentEarly int64 + PaymentThreshold string + PaymentTolerance int64 + PostageContractAddress string + PostageContractStartBlock uint64 + PriceOracleAddress string + RedistributionContractAddress string + ReserveCapacityDoubling int + ResolverConnectionCfgs []multiresolver.ConnectionConfig + Resync bool + RetrievalCaching bool + StakingContractAddress string + StatestoreCacheCapacity uint64 + StaticNodes []swarm.Address + SwapEnable bool + SwapFactoryAddress string + SwapInitialDeposit string + TargetNeighborhood string + TracingEnabled bool + TracingEndpoint string + TracingServiceName string + TrxDebugMode bool + UsePostageSnapshot bool + WarmupTime time.Duration + WelcomeMessage string + WhitelistedWithdrawalAddress []string