Skip to content

Releases: livepeer/go-livepeer

v0.5.28

11 Feb 20:37
Compare
Choose a tag to compare

Summary

This release supports connecting to Arbitrum Mainnet using the -network arbitrum-one-mainnet flag after the L1 Ethereum block 14207040 which is the block at which LIP-73 i.e. the Confluence upgrade will be activated. Prior to this block, running the node wtih -network arbitrum-one-mainnet will result in a startup error so it is recommended to wait until after block 14207040 to run the node with the -network arbitrum-one-mainnet flag. We strongly encourage all node operators to upgrade to this release so they can connect to Arbitrum Mainnet after the LIP-73 block.

Additional updates in this release include various improvements to compatibility with Arbitrum networks as well as the initial groundwork for enabling H.265/HEVC encoding/decoding and VP8/VP9 decoding jobs on the network.

Features ⚒

General

  • #2208 Improve Feed PubSub: execute subscribers' blocking operations in separate goroutines (@leszko)
  • #2222 Use L1 block number for Ticket Parameters and Round Initialization (@leszko)
  • #2240 Backfill always from the back last seen in DB (instead of the last round block) (@leszko)
  • #2171 Make transactions compatible with Arbitrum and fix setting max gas price (@leszko)
  • #2252 Use different hardcoded redeemGas when connected to an Arbitrum network (@leszko)
  • #2251 Add fail fast for Arbitrum One Mainnet when LIP-73 has not been activated yet (@leszko)
  • #2254 Add arbitrum-one-mainnet network (@leszko)

Orchestrator

  • #2253 Redeem tickets only when recipient is active (@leszko)

Transcoder

  • #2135 LPMS updates to support H.265/HEVC encoding and decoding as well as VP8/VP9 decoding (@cyberj0g)

Bug Fixes 🐞

Broadcaster

Full list of changes

Verifying Release

sha256 hashes for release archives:

  • livepeer-darwin-amd64.tar.gz: 37c71dfe63c894b82a09d6d36186e645fd3e830f3641751de52579637a5a0bad
  • livepeer-linux-amd64.tar.gz: 399f0c579f1ac9ff9805498346b2750407eb3f495a2e39e501da22e07b283449
  • livepeer-windows-amd64.zip: a8f1bf89a8bf2a6aa530ba8f939dba37b769e1fdcc4b1813b4011433bd2d5ed4

Generate the sha256 hash:

shasum -a 256 livepeer-<PLATFORM>-amd64.<EXTENSION>

v0.5.27

03 Feb 21:06
Compare
Choose a tag to compare

Summary

This release fixes a bug with the voting option in livepeer_cli that caused the node to crash as well as a few other small updates. If you need to vote in the recently created LIP-73 poll with your node's keystore based wallet using livepeer_cli you should upgrade to this release.

Features ⚒

General

Bug Fixes 🐞

General

Full list of changes

Verifying Release

sha256 hashes for release archives:

  • livepeer-darwin-amd64.tar.gz: 0fecf2f3e380b8459464c429ad3d83f5f75301ab13cb072e33d67e1b0ab9f569
  • livepeer-linux-amd64.tar.gz: 713f3dc34333977a3482284ac007f47b5f70f5a61964d2d399035da274a79746
  • livepeer-windows-amd64.zip: 3f93f0f8e432b78b8fd89db6cfe14b89736d5f40342df6a46059166ecda4a11c

Generate the sha256 hash:

shasum -a 256 livepeer-<PLATFORM>-amd64.<EXTENSION>

v0.5.26

25 Jan 01:25
Compare
Choose a tag to compare

Summary

This release adds support for a new L2 Arbitrum Rinkeby contract deployment used for the Confluence testnet. If you are planning on participating in the testnet you should upgrade to this release.

This release also includes a small update for the node to fail fast if the config file specified is invalid.

Features ⚒

General

  • #2198 Add fail-fast approach in case of incorrect config file (@leszko)
  • #2180 Generate contract bindings related to L2 Arbitrum upgrade (@leszko)
  • #2204 Support both L1 and L2 contract interfaces (@leszko)
  • #2202 Add arbitrum-one-rinkeby network (@leszko)

Broadcaster

  • #2188 Include pending Os in the discovery mechanism (@leszko)

Full list of changes

Verifying Release

sha256 hashes for release archives:

  • livepeer-darwin-amd64.tar.gz: 2104ba054bba4ddd518822b638871c3fd08de60a527b5e17eed269ff6c826e94
  • livepeer-linux-amd64.tar.gz: 36cf6125cf461cf4fd5874b3e02bfef00ef210a1a3899ea33d49998b5b2af08d
  • livepeer-windows-amd64.zip: 35b735a45a6efcce9f469c90dcde61246694df98ef2e711dcbfa0780c523c5fc

Generate the sha256 hash:

shasum -a 256 livepeer-<PLATFORM>-amd64.<EXTENSION>

v0.5.25

12 Jan 21:28
Compare
Choose a tag to compare

Summary

This release adds support for a new L1 Rinkeby contract deployment used for the Confluence testnet. If you are planning on participating in the testnet you should upgrade to this release. This release does not contain any updates for mainnet.

Breaking Changes 🚨🚨

  • The node will no longer connect with the old L1 Rinkeby contract deployment when the -network rinkeby flag is used. Instead the node will connect to the new L1 Rinkeby contract deployment when the -network rinkeby flag is used using a new hardcoded Controller contract address at 0x9a9827455911a858E55f07911904fACC0D66027E.

General

  • #2177 Update hardcoded Rinkeby Eth Controller Address (@leszko)

Full list of changes

Verifying Release

sha256 hashes for release archives:

  • livepeer-darwin-amd64.tar.gz: b76897e4c2d87efd3a50a19a597a6124f12aea8fd84603186e4409c1bae6094e
  • livepeer-linux-amd64.tar.gz: 723dd535a7c3d24ff20f8569f269f712f4086f7e25092328e1e1ec96b8be21f7
  • livepeer-windows-amd64.zip: f30a5908728167acfa2d1ce7826b2137092ffc2e088df96056a72bdc69f60eca

Generate the sha256 hash:

shasum -a 256 livepeer-<PLATFORM>-amd64.<EXTENSION>

v0.5.24

05 Jan 19:39
Compare
Choose a tag to compare

Summary

This is a fast follow patch release for v0.5.24 to fix a bug that caused orchestrators to return errors right after a transaction is submitted resulting in the previously active streams to be re-routed from the orchestrators. If you are running an orchestrator you should upgrade to this release as soon as possible.

In order to fix this bug, the feature from v0.5.24 that set the maxFeePerGas of transactions to -maxGasPrice is temporarily disabled and will be re-enabled in the next release. The node will continue not submitting transactions if the current expected gas price for a transaction exceeds -maxGasPrice, but due to the disabling of the aforementioned feature, it is possible for a transaction to be mined at a gas price higher than -maxGasPrice if the gas price increases quickly after the node performs its -maxGasPrice check. The next release will ensure that a transaction cannot be mined at a gas price higher than -maxGasPrice.

Features ⚒

General

  • #2157 Add support for EIP-712 typed data signing in livepeer_cli (@yondonfu)

Broadcaster

Orchestrator

  • #2146 Allows Os receive payments while pending activation (@leszko)

Bug Fixes 🐞

General

  • #2163 Fix Session crashes right after the O sends a tx, revert #2111 Ensure maxFeePerGas in all transactions never exceed -masGasPrice (@leszko)

Full list of changes

Verifying Release

sha256 hashes for release archives:

  • livepeer-darwin-amd64.tar.gz: e2522bbcc2d10eccd9ad77802dcf8c32ebc4d9017783789eec56bbe402ecff3c
  • livepeer-linux-amd64.tar.gz: 4efbda6d5e6586e7eb1e6ccbd526da65cdbe2e4e27a01cb76b1f2893fe790fdb
  • livepeer-windows-amd64.zip: 63e2707854aada3b7626f04f27ce17457e93137c4473656aabfc5004f8ecb87b

Generate the sha256 hash:

shasum -a 256 livepeer-<PLATFORM>-amd64.<EXTENSION>

v0.5.23

22 Dec 00:46
Compare
Choose a tag to compare

Summary

This release includes an important fix for a memory leak that can be triggered when using the CUDA MPEG-7 video signature capability (when using a Nvidia GPU), which is used for fast verification, for orchestrators/transcoders. If you are running an orchestrator or transcoder you should upgrade to this release as soon as possible.

Additional highlights of this release:

  • Support for running fast verification on broadcasters
  • Support for configuring livepeer using a file. See the docs for instructions on using a configuration file
  • An improvement to the failover behavior in split orchestrator + transcoder setups in the scenario where a transcoder crashes
  • Ensure that the the fee per gas for a transaction never exceeds the value set for -maxGasPrice

Thanks to everyone that submitted bug reports and assisted in testing!

Features ⚒

General

Broadcaster

  • #2086 Add support for fast verification (@jailuthra @darkdragon)
  • #2085 Set max refresh sessions threshold to 8 (@yondonfu)
  • #2083 Return 422 to the push client after max retry attempts for a segment (@jailuthra)
  • #2022 Randomize selection of orchestrators in untrusted pool at a random frequency (@yondonfu)
  • #2100 Check verified session first while choosing the result from multiple untrusted sessions (@leszko)
  • #2103 Suspend sessions that did not pass p-hash verification (@leszko)
  • #2110 Transparently support HTTP/2 for segment requests while allowing HTTP/1 via GODEBUG runtime flags (@yondonfu)
  • #2124 Do not retry transcoding if HTTP client closed/canceled the connection (@leszko)
  • #2122 Add the upload segment timeout to improve failing fast (@leszko)

Transcoder

  • #2094 Gracefully notify orchestrator in case of a panic in transcoder (@leszko)

Bug Fixes 🐞

Broadcaster

  • #2067 Add safety checks in selectOrchestrator for auth token and ticket params in OrchestratorInfo (@yondonfu)

Transcoder

Full list of changes

Verifying Release

sha256 hashes for release archives:

  • livepeer-darwin-amd64.tar.gz: 6ada30329ebae2ef86fd03d8d0381f4e27453f5e3adec17d6e0f7040cbaa6387
  • livepeer-linux-amd64.tar.gz: c128fafcd9a8f06a22ecbd9a016f0de4d0b57c1e0ad360479303440451d3d0a2
  • livepeer-windows-amd64.zip: 1703596b0232eec071ae80cdd736c42039544edd0c723ccc1a7bdc7c15ab08c4

Generate the sha256 hash:

shasum -a 256 livepeer-<PLATFORM>-amd64.<EXTENSION>

v0.5.22

28 Oct 21:17
Compare
Choose a tag to compare

Summary

This release includes an important MPEG-7 video signature capability fix, which is used for fast verification, for orchestrators/transcoders running on Windows. If you are running an orchestrator or transcoder on Windows you should upgrade to this release as soon as possible.

Additional highlights of this release:

  • Support for EIP-1559 (otherwise known as type 2) Ethereum transactions which results in more predictable transaction confirmation times, reduces the chance of stuck pending transactions and avoids overpaying in gas fees. If you are interested in additional details on the implications of EIP-1559 transactions refer to this resource.
  • An improvement in ticket parameter generation for orchestrators to prevent short lived gas price spikes on the Ethereum network from disrupting streams.
  • The node will automatically detect if the GPU enters an unrecoverable state and crash. The reason for crashing upon detecting an unrecoverable GPU state is that no transcoding will be possible in this scenario until the node is restarted. We recommend node operators to setup a process for monitoring if their node is still up and starting the node if it has crashed. For reference, a bash script similar to this one can be used to automate restarts of the node in the event of a crash.

Thanks to everyone that submitted bug reports and assisted in testing!

Features ⚒

General

  • #2013 Add support for EIP-1559 transactions (@yondonfu)
  • #2073 Make filtering orchestrators in the DB that haven't been updated in last day optional (@yondonfu)

Bug Fixes 🐞

Broadcaster

Orchestrator

  • #2071 Update tx cost check when generating ticket params to be more resistant to gas price spikes (@yondonfu)

Transcoder

  • #2057 Prevent stuck sessions by crashing on unrecoverable CUDA errors (@jailuthra)
  • #2066 Fix filename parsing errors for signature_cuda filter on Windows (@jailuthra)

Full list of changes

Verifying Release

sha256 hashes for release archives:

  • livepeer-darwin-amd64.tar.gz: 89a2508944ab2725ce82b74597171a505a07423a86eecbdb65331fdd73aa68d7
  • livepeer-linux-amd64.tar.gz: 0c22bb2ea9413966371886673625395e5597ed903dcded51927dee1dd001aa1c
  • livepeer-windows-amd64.zip: 5e7e230e52fc5f477f0871efe72c641408afbbb5b7709e6c0f7af8844dc1d7b9

Generate the sha256 hash:

shasum -a 256 livepeer-<PLATFORM>-amd64.<EXTENSION>

v0.5.21

29 Sep 21:29
Compare
Choose a tag to compare

Summary

This release includes a new orchestrator/transcoder MPEG-7 video signature capability which is required for broadcasters to run transcoding verification. The MPEG-7 video signatures are used as perceptual hashes in a "fast verification" algorithm that is described in the Fast and Full Transcoding Verification design. If a CPU is used for transcoding, the video signature computation will occur on the CPU. If a GPU is used for transcoding (i.e. the -nvidia flag is used), the video signature computation will occur on the GPU. Orchestrators and transcoders should upgrade to this release as soon as possible to ensure that they will be able to continue serving broadcasters that run fast verification (the complete broadcaster implementation will be shipped at a later date).

Orchestrators and transcoders should also make note of the breaking change in this release that drops support for Nvidia GPUs from the Kepler series.

Thanks to everyone that submitted bug reports and assisted in testing!

Breaking Changes 🚨🚨

  • #2027 Nvidia GPUs belonging to the Kepler series (GeForce 600, 700 series) and older, are no longer supported by go-livepeer. Cuda 11 is needed for newer GPUs, which only supports the Maxwell series or newer.

Features ⚒

General

Transcoder

  • #2036 Generate mpeg7 perceptual hashes for fast verification (@jailuthra)

Bug Fixes 🐞

Transcoder

  • #2027 Fix a memleak in the (experimental) AI content detection filter (@cyberj0g)

Full list of changes

Verifying Release

sha256 hashes for release archives:

  • livepeer-darwin-amd64.tar.gz: 904866395dae2bf5f2dd386d73097ebfbc467c1424e78faf8e178578c806aa04
  • livepeer-linux-amd64.tar.gz: aa966e0af5599faf04d1c9334da36f59e3f6007ca23fc0f21c7c2379b998f0e4
  • livepeer-windows-amd64.zip: 5133cea0bed71cde18891e42908aaefa31bbf87b33b1434ba1cb11b260c75db8

Generate the sha256 hash:

shasum -a 256 livepeer-<PLATFORM>-amd64.<EXTENSION>

v0.5.20

13 Sep 17:55
Compare
Choose a tag to compare

Summary

This release includes a few important bug fixes including:

  • A fix for winning tickets incorrectly being marked as redeemed in the node's database even though they have not been redeemed yet
  • A fix for node crashes due to the submission of a replacement transaction when a max gas price is not configured
  • A fix for increased gas usage of reward transactions if an orchestrator did not receive stake updates in the previous round (via a reward call or delegation)

Additionally, this release includes a new -autoAdjustPrice flag that allows orchestrators to enable/disable automatic price adjustments based on the overhead for ticket redemption (which is determined by the current ETH gas price). Orchestrators can disable automatic price adjustments by setting -autoAdjustPrice=false (default is true) to ensure that they advertise a constant price to broadcasters avoiding the scenario where they lose all jobs due to a gas price spike that causes their advertised price to exceed the max price set by broadcasters. Refer to the docs for more information. If orchestrators disable automatic price adjustments then it is recommended to also use the -maxGasPrice flag to set a maximum gas price for transactions to wait to redeem tickets during lower gas prices periods.

We strongly recommend all orchestrator and transcoder operators to upgrade to this version to access this latest set of bug fixes and improvements.

Thanks to everyone that submitted bug reports and assisted in testing!

Features ⚒

Broadcaster

  • #1946 Send transcoding stream health events to a metadata queue (@victorges)

Orchestrator

  • #2025 Add -autoAdjustPrice flag to enable/disable automatic price adjustments (@yondonfu)

Transcoder

  • #1979 Upgrade to ffmpeg v4.4 and improved API for (experimental) AI tasks (@jailuthra)

Bug Fixes 🐞

General

Broadcaster

  • #2026 Run signature verification even without a verification policy specified (@yondonfu)

Orchestrator

  • #2018 Only mark tickets for failed transactions as redeemed when there is an error checking the transaction (@yondonfu)
  • #2029 Fix active total stake calculation when generating hints for rewardWithHint (@yondonfu)

Full list of changes

Verifying Release

sha256 hashes for release archives:

  • livepeer-darwin-amd64.tar.gz: 22b4a7614d18e82986276c51340bd49515917f4689d146f69dd66e89dde762a0
  • livepeer-linux-amd64.tar.gz: 9a1e1af0867f1232152d538016515f20ca7c2728e7fe3492a85ec5a617676243
  • livepeer-windows-amd64.zip: 7ef76ae08da5631bed8b645710ca7a228d1b936083702f234b9885958703ef22

Generate the sha256 hash:

shasum -a 256 livepeer-<PLATFORM>-amd64.<EXTENSION>

v0.5.19

12 Aug 00:19
Compare
Choose a tag to compare

Summary

This release includes another gas price monitoring fix to address additional cases where Ethereum JSON-RPC providers occassionally return really low gas prices for the eth_gasPrice RPC call, automatic replacements for pending transactions that timeout, fixes for broadcaster stream recording, support for downloading stream recordings as mp4 files as well as variety of other bug fixes and enhancements. We strongly recommend all orchestrator and transcoder operators to upgrade to this version to access this latest set of bug fixes and improvements.

In addition to the gas price monitoring fix and support for automatic replacements for pending transactions that timeout, a few additional configuration options are introduced to give node operators more control over gas prices and transactions:

  • -maxTransactionReplacements <INTEGER> can be used to specify the max number of times to replace a pending transaction that times out. The default value is 1.
  • -txTimeout <DURATION> can be used to specify the timeout duration for a pending transaction after which a replacement transaction would be submitted. The default value is 5m.
  • -minGasPrice <INTEGER> can be used to specify the minimum gas price (in wei) to use for transactions. The default is 1 gwei on mainnet.

More information about these new flags is accessible via livepeer -help.

The default value for the -maxTicketEV flag for broadcasters has been updated to 3000 gwei based on the default value of 1000 gwei for the -ticketEV flag for orchestrators which is safer for broadcasters. For more information on these default values, refer to the payment docs for video developers and the payment docs for video miners.

An experimental version of a deep neural network (DNN) based scene classification capability is mentioned in the changelog, but please note that while this is the first step towards enabling this capability on the network for video miners, this feature is NOT yet usable on the network today and is undergoing rapid development.

Thanks to everyone that submitted bug reports and assisted in testing!

Features ⚒

General

Broadcaster

Orchestrator

  • #1931 Bump ticket redemption gas estimate to 350k to account for occasional higher gas usage (@yondonfu)

Transcoder

Bug Fixes 🐞

General

  • #1968 Fix nil pointer error in embedded transaction receipts returned from the TransactionManager (@kyriediculous)
  • #1977 Fix error logging for failed replacement transaction (@yondonfu)

Full list of changes

Verifying Release

sha256 hashes for release archives:

  • livepeer-darwin-amd64.tar.gz: dd907a0760104552bac1b59a453a25bcb1f0175f23ace74e8d3742322151719e
  • livepeer-linux-amd64.tar.gz: 76be58c81dd41f06c8bab6dacefc9815b4a3c2e85e3c4333ed0dd24c5c4769e5
  • livepeer-windows-amd64.zip: d1aafb9149bbf2440998918d5377529ee1c1efe88a25d09b162b5707b71f94e8

Generate the sha256 hash:

shasum -a 256 livepeer-<PLATFORM>-amd64.<EXTENSION>

Note: The Windows release was cut from a commit that was created after the v0.5.19 tagged commit because there was a Windows build process issue that needed to be fixed after the v0.5.19 commit. As a result, livepeer.exe -version will report 0.5.19-b6b17f1 instead of 0.5.19.