## Bee configuration - https://gateway.ethswarm.org/bzz/docs.swarm.eth/docs/installation/configuration/ ## window系统注意配置文件必须以 UTF-8编码 保存;

## HTTP API listen address (default ":1633") HTTP API侦听地址,省略地址的 IP 部分将导致服务器侦听所有接口。
api-addr: :1633
## chain block time (default 15) 附加的 SWAP 端点的预期阻塞时间。
block-time: "15"
## initial nodes to connect to (default [/dnsaddr/bootnode.ethswarm.org]) 网络中的任何 Bee 节点都可以充当引导节点。
bootnode:
- /dnsaddr/bootnode.ethswarm.org
bootnode-mode: false
## cache capacity in chunks, multiply by 4096 to get approximate capacity in bytes 用于转发和上传块的磁盘空间量(20.3G默认1000000)。
cache-capacity: "1000000"
## enable clef signer (default false) 将此设置为 true 以启用使用以太坊的"Clef"外部签名者进行签名。
clef-signer-enable: false
## clef signer endpoint (default "") (/usr/local/var/lib/swarm-clef/clef.ipc) 为 Clef 签名者指定自定义 ipc 文件路径。
clef-signer-endpoint: ""
## default selects the clef address at index 0 (default "") 如果您将多个地址导入 Bee Clef 实例,则必须为每个节点指定您的地址,包括第一个,因为在导入期间地址可能会重新排序。
clef-signer-ethereum-address: ""
## config file (default is /home/<user>/.bee.yaml) 配置文件路径
config: D:\bee\.bee-config.yaml
## origins with CORS headers enabled Http/WS (default []) 源域或定义这些的通配符,API 将允许响应
cors-allowed-origins: []
## data directory (default "/home/<user>/.bee") Bee 存储数据的磁盘位置。其中包括1. localstore 2. statestore支票薄 3. keys密钥库数据
data-dir: D:\bee\.beedata
## 对应于 LevelDB BlockCacheCapacity(见上文)
db-block-cache-capacity: "33554432"
## 对应于 LevelDB DisableSeeksCompaction(见上文)
db-disable-seeks-compaction: false
## 对应于 LevelDB OpenFilesCacheCapacity(见上文)为了适应功能较弱的硬件和操作系统,open-files-limit特意将其设置200最低。
db-open-files-limit: "200"
## 对应于 LevelDB WriteBuffer(见上文)
db-write-buffer-size: "33554432"
## debug HTTP API listen address (default ":1635") 调试 API将为 http 请求提供服务的 IP 和端口
debug-api-addr: :1635
## enable debug HTTP API 将此设置true为启用对调试 API 的访问
debug-api-enable: true
## cause the node to start in full mode 通过将其设置true为完全参与服务并将块转发到网络来启用此功能。
full-node: true
## disable a set of sensitive features in the api 将此设置true为禁用 API 中的一组敏感功能,以确保将您api-addr的内容公开给公共互联网是安全的。
gateway-mode: false
## enable global pinning 设置为 true 时启用全局固定功能。
global-pinning-enable: false
## 
help: false
## NAT exposed address 设置预期的公共 IP。通常这是自动生成的,但在某些情况下可能需要手动设置。
nat-addr: ""
## ID of the Swarm network (default 1) 接受新连接的网络 ID。主网设置为 1,测试网设置为 2。
network-id: "1"
## P2P listen address (default ":1634") 用于侦听 p2p 协议消息的 ip 和端口。
p2p-addr: :1634
## enable P2P QUIC protocol 启用P2P QUIC协议
p2p-quic-enable: false
## enable P2P WebSocket transport 启用P2P WebSocket传输true时需映射端口。
p2p-ws-enable: false
## password for decrypting keys 用于解密 Swarm 身份密钥的密码。(将密码作为命令行参数传递是不安全的。在生产环境中建议使用密码文件或环境变量。)
## password: "abc123456"
## path to a file that contains password for decrypting keys (./password) 包含用于解密密钥的密码的文件的路径。空字符串假定没有文件出现。
password-file: ./password
## amount in BZZ below the peers payment threshold when we initiate settlement (default 1000000000000) BZZ 中的金额低于同行支付阈值,导致 Bee 启动结算。
payment-early: "10000000"
## threshold in BZZ where you expect to get paid from your peers (default 10000000000000) BZZ 中您希望从同行那里获得报酬的门槛。
payment-threshold: "100000000"
## excess debt above payment threshold in BZZ where you disconnect from your peer (default 10000000000000) 在 BZZ 中超出支付阈值的超额债务,您与同行断开连接。
payment-tolerance: "100000000"
## postage stamp contract address 默认 根据网络自动配置 以太坊区块链上的邮票合约地址,用于批量购买邮票。
postage-stamp-address: ""
## 
price-oracle-address: ""
## ENS compatible API endpoint for a TLD and with contract address, can be repeated, format [tld:][contract-addr@]url TLD 的 ENS API 端点,带有合约地址。可以提供多个值。提供了默认的顶级域和解析器合约地址,但必须提供 ENS/Geth 端点才能启用此功能。
resolver-options: https://mainnet.infura.io/v3/3239c697685e46d9bbad0fda8a9a6a66
## whether we want the node to start with no listen addresses for p2p
standalone: false
## gas price in wei to use for deployment and funding (default "")
swap-deployment-gas-price: ""
## enable swap (default true) 如果我们不希望节点尝试连接到网络,请设置此标志。对开发有用。
swap-enable: true
## swap ethereum blockchain endpoint (default "ws://localhost:8546") SWAP 以太坊区块链端点。必须配备websockets。
swap-endpoint: wss://goerli.infura.io/ws/v3/3239c697685e46d9bbad0fda8a9a6a66

## swap factory (当前区块链id的默认指定合约)
swap-factory-address: ""
## initial deposit if deploying a new chequebook (default 10000000000000000) 部署新支票簿时的初始存款
swap-initial-deposit: "10000000000000000"
## legacy swap factory addresses  旧交换工厂地址
swap-legacy-factory-addresses: []
## enable tracing 跟踪服务。
tracing-enable: false
## endpoint to send tracing data (default "127.0.0.1:6831") 跟踪服务侦听 Thrift 协议 UDP 消息的 URL。
tracing-endpoint: 127.0.0.1:6831
## service name identifier for tracing (default "bee") 用于跟踪的服务名称标识符。
tracing-service-name: bee
## proof-of-identity transaction hash 作为防止垃圾邮件的措施,对于使用 v0.5.0 或之前版本部署其支票簿的节点,请指定transaction-从 Bee 节点的以太坊地址发送的 Goerli 网络上任何以太坊交易的交易哈希。
transaction: ""
## log verbosity level 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=trace (default "info")  日志详细级别 0=静默,1=错误,2=警告,3=信息,4=调试,5=跟踪
verbosity: info
## 
warmup-time: 10m0s
## send a welcome message string during handshakes 在连接成功时向对等方显示的自定义欢迎消息。
welcome-message: "|该节点部署地点连云港市|"

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。