在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:whyrusleeping/dhtHell开源软件地址:https://github.com/whyrusleeping/dhtHell开源编程语言:Go 100.0%开源软件介绍:#DhtHell DhtHell is a program used to test out ipfs's DHT and other features, you can run it as a simple command line, and run all the commands you want yourself, or you can give it a config/command file to set up the initial network how you like, and maybe even run some commands for you. ##Command File Syntax
The first line of the command file specifies the number of nodes to create.
Following that line, and until a line containing "--" is reached, you may specify bootstrapping orders with the following syntax: For Example:
Specifies that nodes 1 through 4 should use node 0 as a boostrapping node. Following the break sequence ("--") you may specify commands to run with the following syntax:
For example:
Would tell node 4 to run a put of the value "hello" for the key "test" And:
Would tell nodes 3 through 7 to get the key "test" The Sequence "==" signals to switch input over to standard in, allowing the user to manually enter commands Commands
Example
LicenseThis project is under an MIT license. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论