校验 p2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
liusen b498fa5cb8 done 3 years ago
src done 3 years ago
.gitignore done 3 years ago
Cargo.lock done 3 years ago
Cargo.toml done 3 years ago
README.md done 3 years ago

README.md

  • 运行 worker 时设置环境变量保存扇区的校验参数,校验程序会从这个路径中读取检验参数
export VERIFY_INPUT_DIR="保存校验参数的文件夹"
  • 程序有两种用法
./verify-tool <sector_id>       // 校验单个扇区
./verify-tool <sector_id>..<sector_id> // (检验范围内的扇区, 不包含最后一个)