core.yaml

core.yaml

 

logging:

    level:       info

    cauthdsl:   warning

    gossip:     warning

    grpc:       error

    ledger:     info

    msp:        warning

    policies:   warning

    peer:

        gossip: warning

    format: '%{color}%{time:2006-01-02 15:04:05.000 MST} [%{module}] %{shortfunc} -> %{level:.4s} %{id:03x}%{color:reset} %{message}'

peer:

    id: peer0.org1.nx.com

    networkId: dev

    listenAddress: 0.0.0.0:7051

    address: peer0.org1.nx.com:7051

    addressAutoDetect: false

    gomaxprocs: -1

    keepalive:

        minInterval: 60s

        client:

            interval: 60s

            timeout: 20s

        deliveryClient:

            interval: 60s

            timeout: 20s

    gossip:

        bootstrap: 127.0.0.1:7051

        useLeaderElection: true

        orgLeader: false

        endpoint:

        maxBlockCountToStore: 100

        maxPropagationBurstLatency: 10ms

        maxPropagationBurstSize: 10

        propagateIterations: 1

        propagatePeerNum: 3

        pullInterval: 4s

        pullPeerNum: 3

        requestStateInfoInterval: 4s

        publishStateInfoInterval: 4s

        stateInfoRetentionInterval:

        publishCertPeriod: 10s

        skipBlockVerification: false

        dialTimeout: 3s

        connTimeout: 2s

        recvBuffSize: 20

        sendBuffSize: 200

        digestWaitTime: 1s

        requestWaitTime: 1s

        responseWaitTime: 2s

        aliveTimeInterval: 5s

        aliveExpirationTimeout: 25s

        reconnectInterval: 25s

        externalEndpoint:

        election:

            startupGracePeriod: 15s

            membershipSampleInterval: 1s

            leaderAliveThreshold: 10s

            leaderElectionDuration: 5s

        pvtData:

            pullRetryThreshold: 60s

            transientstoreMaxBlockRetention: 1000

            pushAckTimeout: 3s

    events:

        address: 0.0.0.0:7053

        buffersize: 100

        timeout: 10ms

        timewindow: 15m

        keepalive:

            minInterval: 60s

    tls:

        enabled:  true

        clientAuthRequired: false

        cert:

            file: tls/server.crt

        key:

            file: tls/server.key

        rootcert:

            file: tls/ca.crt

        clientRootCAs:

            files:

              - tls/ca.crt

        clientKey:

            file:

        clientCert:

            file:

    authentication:

        timewindow: 15m

    fileSystemPath: /var/hyperledger/production

    BCCSP:

        Default: SW

        SW:

            Hash: SHA2

            Security: 256

            FileKeyStore:

                KeyStore:

    mspConfigPath: /etc/hyperledger/fabric/msp

    localMspId: Org1MSP

    deliveryclient:

        reconnectTotalTimeThreshold: 3600s

    localMspType: bccsp

    profile:

        enabled:     false

        listenAddress: 0.0.0.0:6060

    handlers:

        authFilters:

          -

            name: DefaultAuth

          -

        decorators:

          -

            name: DefaultDecorator

    validatorPoolSize:

vm:

    endpoint: unix:///var/run/docker.sock

    docker:

        tls:

            enabled: false

            ca:

                file: docker/ca.crt

            cert:

                file: docker/tls.crt

            key:

                file: docker/tls.key

        attachStdout: false

        hostConfig:

            NetworkMode: host

            Dns:

            LogConfig:

                Type: json-file

                Config:

                    max-size: "50m"

                    max-file: "5"

            Memory: 2147483648

chaincode:

    id:

        path:

        name:

    builder: $(DOCKER_NS)/fabric-ccenv:$(ARCH)-$(PROJECT_VERSION)

    pull: false

    golang:

        runtime: $(BASE_DOCKER_NS)/fabric-baseos:$(ARCH)-$(BASE_VERSION)

        dynamicLink: false

    car:

        runtime: $(BASE_DOCKER_NS)/fabric-baseos:$(ARCH)-$(BASE_VERSION)

    java:

        Dockerfile:  |

            from $(DOCKER_NS)/fabric-javaenv:$(ARCH)-$(PROJECT_VERSION)

    node:

        runtime: $(BASE_DOCKER_NS)/fabric-baseimage:$(ARCH)-$(BASE_VERSION)

    startuptimeout: 300s

    executetimeout: 30s

    mode: net

    keepalive: 0

    system:

        cscc: enable

        lscc: enable

        escc: enable

        vscc: enable

        qscc: enable

    systemPlugins:

    logging:

      level:  info

      shim:   warning

      format: '%{color}%{time:2006-01-02 15:04:05.000 MST} [%{module}] %{shortfunc} -> %{level:.4s} %{id:03x}%{color:reset} %{message}'

ledger:

  blockchain:

  state:

    stateDatabase: goleveldb

    couchDBConfig:

       couchDBAddress: 127.0.0.1:5984

       username:

       password:

       maxRetries: 3

       maxRetriesOnStartup: 10

       requestTimeout: 35s

       queryLimit: 10000

       maxBatchUpdateSize: 1000

       warmIndexesAfterNBlocks: 1

  history:

    enableHistoryDatabase: true

metrics:

        enabled: false

        reporter: statsd

        interval: 1s

        statsdReporter:

              address: 0.0.0.0:8125

              flushInterval: 2s

              flushBytes: 1432

        promReporter:

              listenAddress: 0.0.0.0:8080

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值