Versions in this module Expand all Collapse all v0 v0.7.1 Sep 14, 2022 v0.7.0 Jul 8, 2022 Changes in this version + var ErrShutdownInProgress error = errors.New("shutdown in progress") + func CheckOverlayWithStore(overlay swarm.Address, storer storage.StateStorer) error + func GetTxHash(stateStore storage.StateStorer, logger logging.Logger, trxString string) ([]byte, error) + func GetTxNextBlock(ctx context.Context, logger logging.Logger, backend transaction.Backend, ...) ([]byte, error) + func InitChain(ctx context.Context, logger logging.Logger, stateStore storage.StateStorer, ...) (transaction.Backend, common.Address, int64, transaction.Monitor, ...) + func InitChequebookFactory(logger logging.Logger, backend transaction.Backend, chainID int64, ...) (chequebook.Factory, error) + func InitChequebookService(ctx context.Context, logger logging.Logger, stateStore storage.StateStorer, ...) (chequebook.Service, error) + func InitStateStore(log logging.Logger, dataDir string) (ret storage.StateStorer, err error) + func InitSwap(p2ps *libp2p.Service, logger logging.Logger, stateStore storage.StateStorer, ...) (*swap.Service, priceoracle.Service, error) + type Node struct + func New(addr string, publicKey *ecdsa.PublicKey, signer crypto.Signer, ...) (b *Node, err error) + func (b *Node) Shutdown(ctx context.Context) error + type Options struct + APIAddr string + Addr string + AdminPasswordHash string + AllowPrivateCIDRs bool + BlockHash string + BlockProfile bool + BlockTime uint64 + BootnodeMode bool + Bootnodes []string + CORSAllowedOrigins []string + CacheCapacity uint64 + ChainID int64 + DBBlockCacheCapacity uint64 + DBDisableSeeksCompaction bool + DBOpenFilesLimit uint64 + DBWriteBufferSize uint64 + DataDir string + DebugAPIAddr string + DeployGasPrice string + EnableWS bool + FullNodeMode bool + GatewayMode bool + GlobalPinningEnabled bool + Logger logging.Logger + MutexProfile bool + NATAddr string + PaymentEarly int64 + PaymentThreshold string + PaymentTolerance int64 + PledgeAddress string + PostageContractAddress string + PriceOracleAddress string + ReceiptEndPoint string + ResolverConnectionCfgs []multiresolver.ConnectionConfig + Restricted bool + Resync bool + RetrievalCaching bool + RewardAddress string + StaticNodes []swarm.Address + SwapEnable bool + SwapEndpoint string + SwapFactoryAddress string + SwapInitialDeposit string + SwapLegacyFactoryAddresses []string + TokenEncryptionKey string + TracingEnabled bool + TracingEndpoint string + TracingServiceName string + Transaction string + WarmupTime time.Duration + WelcomeMessage string