@@ -279,57 +279,57 @@ func buildBeeNode(ctx context.Context, c *command, cmd *cobra.Command, logger lo
279279 }
280280
281281 b , err := node .NewBee (ctx , c .config .GetString (optionNameP2PAddr ), signerConfig .publicKey , signerConfig .signer , networkID , logger , signerConfig .libp2pPrivateKey , signerConfig .pssPrivateKey , signerConfig .session , & node.Options {
282- DataDir : c .config .GetString (optionNameDataDir ),
282+ Addr : c .config .GetString (optionNameP2PAddr ),
283+ AllowPrivateCIDRs : c .config .GetBool (optionNameAllowPrivateCIDRs ),
284+ APIAddr : c .config .GetString (optionNameAPIAddr ),
285+ BlockchainRpcEndpoint : c .config .GetString (optionNameBlockchainRpcEndpoint ),
286+ BlockProfile : c .config .GetBool (optionNamePProfBlock ),
287+ BlockTime : networkConfig .blockTime ,
288+ BootnodeMode : bootNode ,
289+ Bootnodes : networkConfig .bootNodes ,
283290 CacheCapacity : c .config .GetUint64 (optionNameCacheCapacity ),
284- DBOpenFilesLimit : c .config .GetUint64 (optionNameDBOpenFilesLimit ),
291+ ChainID : networkConfig .chainID ,
292+ ChequebookEnable : c .config .GetBool (optionNameChequebookEnable ),
293+ CORSAllowedOrigins : c .config .GetStringSlice (optionCORSAllowedOrigins ),
294+ DataDir : c .config .GetString (optionNameDataDir ),
285295 DBBlockCacheCapacity : c .config .GetUint64 (optionNameDBBlockCacheCapacity ),
286- DBWriteBufferSize : c .config .GetUint64 (optionNameDBWriteBufferSize ),
287296 DBDisableSeeksCompaction : c .config .GetBool (optionNameDBDisableSeeksCompaction ),
288- APIAddr : c .config .GetString ( optionNameAPIAddr ),
289- Addr : c .config .GetString ( optionNameP2PAddr ),
290- NATAddr : c .config .GetString ( optionNameNATAddr ),
297+ DBOpenFilesLimit : c .config .GetUint64 ( optionNameDBOpenFilesLimit ),
298+ DBWriteBufferSize : c .config .GetUint64 ( optionNameDBWriteBufferSize ),
299+ EnableStorageIncentives : c .config .GetBool ( optionNameStorageIncentivesEnable ),
291300 EnableWS : c .config .GetBool (optionNameP2PWSEnable ),
292- WelcomeMessage : c .config .GetString (optionWelcomeMessage ),
293- Bootnodes : networkConfig .bootNodes ,
294- CORSAllowedOrigins : c .config .GetStringSlice (optionCORSAllowedOrigins ),
295- TracingEnabled : c .config .GetBool (optionNameTracingEnabled ),
296- TracingEndpoint : tracingEndpoint ,
297- TracingServiceName : c .config .GetString (optionNameTracingServiceName ),
301+ FullNodeMode : fullNode ,
298302 Logger : logger ,
303+ MinimumStorageRadius : c .config .GetUint (optionMinimumStorageRadius ),
304+ MutexProfile : c .config .GetBool (optionNamePProfMutex ),
305+ NATAddr : c .config .GetString (optionNameNATAddr ),
306+ NeighborhoodSuggester : neighborhoodSuggester ,
307+ PaymentEarly : c .config .GetInt64 (optionNamePaymentEarly ),
299308 PaymentThreshold : c .config .GetString (optionNamePaymentThreshold ),
300309 PaymentTolerance : c .config .GetInt64 (optionNamePaymentTolerance ),
301- PaymentEarly : c .config .GetInt64 (optionNamePaymentEarly ),
302- ResolverConnectionCfgs : resolverCfgs ,
303- BootnodeMode : bootNode ,
304- BlockchainRpcEndpoint : c .config .GetString (optionNameBlockchainRpcEndpoint ),
305- SwapFactoryAddress : c .config .GetString (optionNameSwapFactoryAddress ),
306- SwapInitialDeposit : c .config .GetString (optionNameSwapInitialDeposit ),
307- SwapEnable : c .config .GetBool (optionNameSwapEnable ),
308- ChequebookEnable : c .config .GetBool (optionNameChequebookEnable ),
309- FullNodeMode : fullNode ,
310310 PostageContractAddress : c .config .GetString (optionNamePostageContractAddress ),
311311 PostageContractStartBlock : c .config .GetUint64 (optionNamePostageContractStartBlock ),
312312 PriceOracleAddress : c .config .GetString (optionNamePriceOracleAddress ),
313313 RedistributionContractAddress : c .config .GetString (optionNameRedistributionAddress ),
314- StakingContractAddress : c .config .GetString (optionNameStakingAddress ),
315- BlockTime : networkConfig .blockTime ,
316- WarmupTime : c .config .GetDuration (optionWarmUpTime ),
317- ChainID : networkConfig .chainID ,
318- RetrievalCaching : c .config .GetBool (optionNameRetrievalCaching ),
314+ ReserveCapacityDoubling : c .config .GetInt (optionReserveCapacityDoubling ),
315+ ResolverConnectionCfgs : resolverCfgs ,
319316 Resync : c .config .GetBool (optionNameResync ),
320- BlockProfile : c .config .GetBool (optionNamePProfBlock ),
321- MutexProfile : c .config .GetBool (optionNamePProfMutex ),
322- StaticNodes : staticNodes ,
323- AllowPrivateCIDRs : c .config .GetBool (optionNameAllowPrivateCIDRs ),
324- UsePostageSnapshot : c .config .GetBool (optionNameUsePostageSnapshot ),
325- EnableStorageIncentives : c .config .GetBool (optionNameStorageIncentivesEnable ),
317+ RetrievalCaching : c .config .GetBool (optionNameRetrievalCaching ),
318+ StakingContractAddress : c .config .GetString (optionNameStakingAddress ),
326319 StatestoreCacheCapacity : c .config .GetUint64 (optionNameStateStoreCacheCapacity ),
320+ StaticNodes : staticNodes ,
321+ SwapEnable : c .config .GetBool (optionNameSwapEnable ),
322+ SwapFactoryAddress : c .config .GetString (optionNameSwapFactoryAddress ),
323+ SwapInitialDeposit : c .config .GetString (optionNameSwapInitialDeposit ),
327324 TargetNeighborhood : c .config .GetString (optionNameTargetNeighborhood ),
328- NeighborhoodSuggester : neighborhoodSuggester ,
329- WhitelistedWithdrawalAddress : c .config .GetStringSlice (optionNameWhitelistedWithdrawalAddress ),
325+ TracingEnabled : c .config .GetBool (optionNameTracingEnabled ),
326+ TracingEndpoint : tracingEndpoint ,
327+ TracingServiceName : c .config .GetString (optionNameTracingServiceName ),
330328 TrxDebugMode : c .config .GetBool (optionNameTransactionDebugMode ),
331- MinimumStorageRadius : c .config .GetUint (optionMinimumStorageRadius ),
332- ReserveCapacityDoubling : c .config .GetInt (optionReserveCapacityDoubling ),
329+ UsePostageSnapshot : c .config .GetBool (optionNameUsePostageSnapshot ),
330+ WarmupTime : c .config .GetDuration (optionWarmUpTime ),
331+ WelcomeMessage : c .config .GetString (optionWelcomeMessage ),
332+ WhitelistedWithdrawalAddress : c .config .GetStringSlice (optionNameWhitelistedWithdrawalAddress ),
333333 })
334334
335335 return b , err
0 commit comments