BTFS

The BTFS Developer Hub

Welcome to the BTFS developer hub. You'll find comprehensive guides and documentation to help you start working with BTFS as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

AutoUpdate

Introduction

BTFS clients have the built-in feature of auto-updating during a version release. The auto-update process automatically stops and restarts the BTFS daemon. The new BTFS daemon then has all the features in the updated release.

The AutoUpdate by default pings every 24 hours for the most recent version number. If you have a BTFS node running, and your internet connection drops off, this may result in the generation of error logs, but node functionality is not affected.

Configure

To configure the AutoUpdate pinging frequency, navigate to the YAML files located in the directories btfs/bin/. There should be a config.yaml file, as well as a config file specified for your OS and Architecture.

version: x.x.x
md5: 0345ea00771abeb6fa4b10989e7b8cb2
autoupdateFlg: true
sleepTimeSeconds: 86400
beginNumber: 0
endNumber: 100

Adjust the parameter sleepTimeSeconds to the desired frequency in both YAML files, and save the files.

AutoUpdate


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.