NetworksRelease VersioningOffline transaction signingGlossary
Hardfork Update Process

config/getConfig

Gets a subset of configuration values for a node

If the user flag is provided, a value will only be returned if the user set the configuration option.

Request 

{
  user?: boolean
  name?: string
} | undefined

Response 

Partial<
  {
    blockGraffiti: string
    blocksPerMessage: number
    bootstrapNodes: string[]
    confirmations: number
    customNetwork: string
    databaseMigrate: boolean
    editor: string
    enableListenP2P: boolean
    enableLogFile: boolean
    enableMetrics: boolean
    enableRpc: boolean
    enableRpcIpc: boolean
    enableRpcTcp: boolean
    enableRpcTls: boolean
    enableSyncing: boolean
    enableTelemetry: boolean
    feeEstimatorMaxBlockHistory: number
    feeEstimatorPercentileAverage: number
    feeEstimatorPercentileFast: number
    feeEstimatorPercentileSlow: number
    generateNewIdentity: boolean
    getFundsApi: string
    ipcPath: string
    jsonLogs: boolean
    keepOpenPeerSlot: boolean
    logLevel: string
    logPeerMessages: boolean
    logPrefix: string
    maxPeers: number
    maxSyncedAgeBlocks: number
    memPoolMaxSizeBytes: number
    memPoolRecentlyEvictedCacheSize: number
    minPeers: number
    minerBatchSize: number
    miningForce: boolean
    nodeName: string
    nodeWorkers: number
    nodeWorkersMax: number
    p2pSimulateLatency: number
    peerPort: number
    poolAccountName: string
    poolBanning: boolean
    poolDifficulty: string
    poolDiscordWebhook: ''
    poolHost: string
    poolLarkWebhook: ''
    poolMaxConnectionsPerIp: number
    poolName: string
    poolPayoutPeriodDuration: number
    poolPort: number
    poolRecentShareCutoff: number
    poolStatusNotificationInterval: number
    preemptiveBlockMining: boolean
    rpcTcpHost: string
    rpcTcpPort: number
    targetPeers: number
    telemetryApi: string
    tlsCertPath: string
    tlsKeyPath: string
    transactionExpirationDelta: number
  }
>
View on Github

Join our newsletter and stay up to date with privacy and crypto.

Discover our impactful presence — read our blog.

Learn

  • FAQ
  • Whitepaper
  • Tokenomics

Use

  • Get Started
  • Node App
  • Mine
  • Block Explorer
  • Ecosystem

Developers

  • Documentation
  • Github

Community

  • Foundation
  • Governance
  • Grants
  • Our Community

Company

  • About Us
  • Media Kit
  • Contact Us
Privacy Policy

|

Copyright 2024 Iron Fish.