Skip to content

MozComputing/Livepeer-HiveOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Livepeer for HiveOS

This is a custom miner HiveOS for livepeer - https://github.com/livepeer/go-livepeer

This miner download and automatically patch your nvidia driver - https://github.com/keylase/nvidia-patch

Usage

You can pass all params into extra config arguments or use HiveOS fields for url and secret.

  • Coin ETH (Can choose something else)
  • Miner Name livepeer
  • Installation URL https://github.com/MozComputing/Livepeer-HiveOS/releases/download/v1.1.0/livepeer-1.1.0.tar.gz
  • Hash Algorithm ----
  • Wallet and worker template %WAL%
  • Pool url livepeer-orch01.example.com (Orchestrator URI)
  • Pass 123456789 (Orchestrator secret)
  • Extra config arguments: See at https://docs.livepeer.org/video-miners/reference/configuration

Example for standalone transcoder: -transcoder -orchAddr <IP_ORCHESTRATOR>:<PORT_ORCHESTRATOR> -orchSecret <SECRET_ORCHESTRATOR>

  • -orchAddr is used to specify the publicly accessible address that the orchestrator is receiving transcoder registration requests at
  • The value for -orchSecret should be the same as the value used for your orchestrator

Example for combined orchestrator/transcoder: -orchestrator -transcoder -network arbitrum-one-mainnet -ethUrl https://arbitrum-mainnet.infura.io/v3/<PROJECT_ID> -pricePerUnit <PRICE_PER_UNIT> -serviceAddr <SERVICE_ADDR>

  • Use both the -orchestrator and -transcoder flags to configure the node to be an orchestrator and a transcoder; it will receive video from broadcasters, transcode the video itself, and return the transcoded results to the broadcasters
  • -pricePerUnit is used to specify the price (wei per pixel) for transcoding. The flag is required on startup, but the value can be changed later
  • -serviceAddr is used to specify the publicly accessible address that the orchestrator should receive requests at. Changing this requires a blockchain transaction, so it's preferable to use a hostname for a domain you own, not an IP address that may change

-transcoder is added if not set

-nvidia all is added if not set

Update miner

This miner automatically checks the new livepeer version and update at each restart.

The current version is saved on a file version. If you want to reinstall you can delete this file: rm /hive/miners/custom/livepeer/version

Donation

ETH 0xf4b563682C2d07A33EEc5EF3Aae2052070ea2445

About

This is a custom miner HiveOS for livepeer

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages