Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmd/livepeer/testdata/cli/chain-help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ Flags:
--max-fee-per-gas string Ceiling on the calculated transaction fee cap in wei per gas (env: LIVEPEER_CHAIN_MAX_FEE_PER_GAS)
--network string Network name (custom networks require explicit chain settings) (env: LIVEPEER_CHAIN_NETWORK) (default "arbitrum-one-mainnet")
--output string (default "text")
-p, --print-config Print audited operator configuration and exit
-p, --print-config[=true|false] Print audited operator configuration and exit
--rpc-url-file string (env: LIVEPEER_CHAIN_RPC_URL_FILE)
-h, --help help for livepeer-chain
-v, --version version for livepeer-chain
-h, --help[=true|false] help for livepeer-chain
-v, --version[=true|false] version for livepeer-chain

Use "livepeer-chain [command] --help" for more information about a command.

Expand Down
30 changes: 15 additions & 15 deletions cmd/livepeer/testdata/cli/discovery-help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ Usage:
livepeer-discovery [flags]

Flags:
-c, --config string Configuration file; empty disables config discovery (env: LIVEPEER_DISCOVERY_CONFIG) (default "config.toml")
-n, --network string Network name (custom networks require explicit chain settings) (env: LIVEPEER_DISCOVERY_NETWORK) (default "offchain")
-d, --data-dir string Component data directory; defaults to ~/.lpData/<network>/<component> (env: LIVEPEER_DISCOVERY_DATA_DIR) (default "$HOME/.lpData/offchain/discovery")
-l, --listen string Public HTTP listener (env: LIVEPEER_DISCOVERY_LISTEN) (default "127.0.0.1:8939")
-m, --metrics-listen string Metrics listener (env: LIVEPEER_DISCOVERY_METRICS_LISTEN) (default "127.0.0.1:8940")
--nodes strings Orchestrator or discovery node base URLs (env: LIVEPEER_DISCOVERY_NODES)
-a, --advertise-nodes Advertise available discovery nodes (env: LIVEPEER_DISCOVERY_ADVERTISE_NODES) (default true)
--advertise-runners Advertise collected runners (env: LIVEPEER_DISCOVERY_ADVERTISE_RUNNERS) (default true)
-r, --refresh-interval duration Discovery inventory refresh interval (env: LIVEPEER_DISCOVERY_REFRESH_INTERVAL) (default 5m0s)
--max-failed-refreshes int Consecutive failed refreshes before eviction (env: LIVEPEER_DISCOVERY_MAX_FAILED_REFRESHES) (default 6)
-g, --grants strings Private discovery IP[:port] or CIDR grants (env: LIVEPEER_DISCOVERY_GRANTS)
-p, --print-config Print TOML configuration
--dump Query discovery sources once, print JSON inventory, and exit
-h, --help help for livepeer-discovery
-v, --version version for livepeer-discovery
-c, --config string Configuration file; empty disables config discovery (env: LIVEPEER_DISCOVERY_CONFIG) (default "config.toml")
-n, --network string Network name (custom networks require explicit chain settings) (env: LIVEPEER_DISCOVERY_NETWORK) (default "offchain")
-d, --data-dir string Component data directory; defaults to ~/.lpData/<network>/<component> (env: LIVEPEER_DISCOVERY_DATA_DIR) (default "$HOME/.lpData/offchain/discovery")
-l, --listen string Public HTTP listener (env: LIVEPEER_DISCOVERY_LISTEN) (default "127.0.0.1:8939")
-m, --metrics-listen string Metrics listener (env: LIVEPEER_DISCOVERY_METRICS_LISTEN) (default "127.0.0.1:8940")
--nodes strings Orchestrator or discovery node base URLs (env: LIVEPEER_DISCOVERY_NODES)
-a, --advertise-nodes[=true|false] Advertise available discovery nodes (env: LIVEPEER_DISCOVERY_ADVERTISE_NODES) (default true)
--advertise-runners[=true|false] Advertise collected runners (env: LIVEPEER_DISCOVERY_ADVERTISE_RUNNERS) (default true)
-r, --refresh-interval duration Discovery inventory refresh interval (env: LIVEPEER_DISCOVERY_REFRESH_INTERVAL) (default 5m0s)
--max-failed-refreshes int Consecutive failed refreshes before eviction (env: LIVEPEER_DISCOVERY_MAX_FAILED_REFRESHES) (default 6)
-g, --grants strings Private discovery IP[:port] or CIDR grants (env: LIVEPEER_DISCOVERY_GRANTS)
-p, --print-config[=true|false] Print TOML configuration
--dump[=true|false] Query discovery sources once, print JSON inventory, and exit
-h, --help[=true|false] help for livepeer-discovery
-v, --version[=true|false] version for livepeer-discovery
6 changes: 3 additions & 3 deletions cmd/livepeer/testdata/cli/orchestrator-help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ Flags:
--heartbeat-interval duration Runner heartbeat interval (env: LIVEPEER_ORCHESTRATOR_HEARTBEAT_INTERVAL) (default 5s)
--heartbeat-ttl duration Runner heartbeat expiry (env: LIVEPEER_ORCHESTRATOR_HEARTBEAT_TTL) (default 30s)
--drain-timeout duration Maximum app drain time after withdrawal, from 0 to 12h; zero ends work immediately (env: LIVEPEER_ORCHESTRATOR_DRAIN_TIMEOUT) (default 12h0m0s)
--print-config Print audited redacted TOML configuration
-h, --help help for livepeer-orchestrator
-v, --version version for livepeer-orchestrator
--print-config[=true|false] Print audited redacted TOML configuration
-h, --help[=true|false] help for livepeer-orchestrator
-v, --version[=true|false] version for livepeer-orchestrator

Use "livepeer-orchestrator [command] --help" for more information about a command.

Expand Down
6 changes: 3 additions & 3 deletions cmd/livepeer/testdata/cli/redeemer-help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ Flags:
--redeemer-max-fee-per-gas string Optional maximum fee in wei per gas (env: LIVEPEER_REDEEMER_REDEEMER_MAX_FEE_PER_GAS)
--max-pending-tickets int Maximum unsettled winning tickets (env: LIVEPEER_REDEEMER_MAX_PENDING_TICKETS) (default 100000)
--max-tickets-per-recipient int Maximum unsettled tickets per recipient (env: LIVEPEER_REDEEMER_MAX_TICKETS_PER_RECIPIENT) (default 10000)
-p, --print-config Print audited redacted TOML configuration
-h, --help help for livepeer-redeemer
-v, --version version for livepeer-redeemer
-p, --print-config[=true|false] Print audited redacted TOML configuration
-h, --help[=true|false] help for livepeer-redeemer
-v, --version[=true|false] version for livepeer-redeemer

Use "livepeer-redeemer [command] --help" for more information about a command.

Expand Down
4 changes: 2 additions & 2 deletions cmd/livepeer/testdata/cli/signer-help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ Flags:
--orchestrator-webhook-file string (env: LIVEPEER_SIGNER_ORCHESTRATOR_WEBHOOK_FILE)
--orchestrator-webhook-headers-file string (env: LIVEPEER_SIGNER_ORCHESTRATOR_WEBHOOK_HEADERS_FILE)
--orchestrator-webhook-refresh-interval duration Orchestrator webhook refresh interval; must be positive when enabled (env: LIVEPEER_SIGNER_ORCHESTRATOR_WEBHOOK_REFRESH_INTERVAL) (default 5m0s)
-h, --help help for livepeer-signer
-v, --version version for livepeer-signer
-h, --help[=true|false] help for livepeer-signer
-v, --version[=true|false] version for livepeer-signer

Use "livepeer-signer [command] --help" for more information about a command.

Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ require (
github.com/google/uuid v1.6.0
github.com/gorilla/websocket v1.5.3
github.com/holiman/uint256 v1.3.2
github.com/j0sh/boa v1.0.4
github.com/j0sh/boa v1.0.5
github.com/j0sh/minikafka v0.0.0-20261001174935-0bc8dcedd322
github.com/prometheus/client_golang v1.25.0
github.com/prometheus/client_model v0.6.3
github.com/santhosh-tekuri/jsonschema/v6 v6.0.3
github.com/segmentio/kafka-go v0.4.51
github.com/spf13/cobra v1.10.2
github.com/spf13/pflag v1.0.10
github.com/spf13/pflag v1.1.0
github.com/stretchr/testify v1.12.1
google.golang.org/protobuf v1.36.12
modernc.org/sqlite v1.61.0
modernc.org/sqlite v1.62.0
)

require (
Expand Down Expand Up @@ -67,7 +67,7 @@ require (
golang.org/x/sync v0.24.0 // indirect
golang.org/x/sys v0.49.0 // indirect
golang.org/x/text v0.42.0 // indirect
modernc.org/libc v1.79.0 // indirect
modernc.org/libc v1.80.1 // indirect
modernc.org/mathutil v1.7.1 // indirect
modernc.org/memory v1.12.1 // indirect
)
24 changes: 12 additions & 12 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ github.com/influxdata/influxdb1-client v0.0.0-20220302092344-a9ab5670611c h1:qSH
github.com/influxdata/influxdb1-client v0.0.0-20220302092344-a9ab5670611c/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo=
github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839 h1:W9WBk7wlPfJLvMCdtV4zPulc4uCPrlywQOmbFOhgQNU=
github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839/go.mod h1:xaLFMmpvUxqXtVkUJfg9QmT88cDaCJ3ZKgdZ78oO8Qo=
github.com/j0sh/boa v1.0.4 h1:FUqqc10GrhJmD4A9VZ378k86vxUbmA8eXJ2soSJ1DiI=
github.com/j0sh/boa v1.0.4/go.mod h1:GtCtrCPWheFkawgSUm9iMa/j2i3QKa6U1kllDx2Kizw=
github.com/j0sh/boa v1.0.5 h1:Z4WHS9jxLvTkDvqnp46sGAJn0ap1UUrXcCZQaA9GijM=
github.com/j0sh/boa v1.0.5/go.mod h1:GtCtrCPWheFkawgSUm9iMa/j2i3QKa6U1kllDx2Kizw=
github.com/j0sh/minikafka v0.0.0-20261001174935-0bc8dcedd322 h1:CmfMHAslXpaf1zol3OqiUZowYrwRaxa2gGVawaq287g=
github.com/j0sh/minikafka v0.0.0-20261001174935-0bc8dcedd322/go.mod h1:akLKEMvm/CLxdF3C07jwUvdwYt1tRjXds1vlRY+XrOE=
github.com/jackpal/go-nat-pmp v1.0.2 h1:KzKSgb7qkJvOUTqYl9/Hg/me3pWgBmERKrTGD7BdWus=
Expand Down Expand Up @@ -215,8 +215,8 @@ github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible/go
github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU=
github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4=
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk=
github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/pflag v1.1.0 h1:6W6MbVUrnMb8PEhjkqwsVLY7ryuzRfFHF4mQd7L94ag=
github.com/spf13/pflag v1.1.0/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE=
github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg=
github.com/supranational/blst v0.3.16 h1:bTDadT+3fK497EvLdWRQEjiGnUtzJ7jjIUMF0jqwYhE=
Expand Down Expand Up @@ -316,10 +316,10 @@ gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
modernc.org/cc/v4 v4.30.3 h1:aDq8gIX1X7+VFgO/JYYji6pLWL2H4tv3g8WatT3KCys=
modernc.org/cc/v4 v4.30.3/go.mod h1:OnovgIhbbMXMu1aISnJ0wvVD1KnW+cAUJkIrAWh+kVI=
modernc.org/ccgo/v4 v4.37.0 h1:BAuJCUtIHIxFIYaFhqXIw5YaoMBlNCUlFovejHfMip4=
modernc.org/ccgo/v4 v4.37.0/go.mod h1:/8627VhwWtAbqUXmPORxFQU5SgLrAx2jl9seLw9GBhY=
modernc.org/cc/v4 v4.30.6-0.20261101114202-1b9d1a076f6b h1:WE5SLOURcNd8s6uPR/n4WV4weQxxYKi5OpEZkfNVvdE=
modernc.org/cc/v4 v4.30.6-0.20261101114202-1b9d1a076f6b/go.mod h1:OnovgIhbbMXMu1aISnJ0wvVD1KnW+cAUJkIrAWh+kVI=
modernc.org/ccgo/v4 v4.38.1 h1:wdxJVBuFT8JufZnnQyS6Bbz3NOWhViD0xJOGR96Bpd4=
modernc.org/ccgo/v4 v4.38.1/go.mod h1:kOpEkJRbFwBvjUWwn4j1j9B7iFHbl1+orhgTMCDkDBk=
modernc.org/fileutil v1.4.0 h1:j6ZzNTftVS054gi281TyLjHPp6CPHr2KCxEXjEbD6SM=
modernc.org/fileutil v1.4.0/go.mod h1:EqdKFDxiByqxLk8ozOxObDSfcVOv/54xDs/DUHdvCUU=
modernc.org/gc/v2 v2.6.5 h1:nyqdV8q46KvTpZlsw66kWqwXRHdjIlJOhG6kxiV/9xI=
Expand All @@ -328,8 +328,8 @@ modernc.org/gc/v3 v3.2.0 h1:/Y3LGDMQaoYf55PebP1qsZ5FDGgAZyG1RYKEHeQzh1o=
modernc.org/gc/v3 v3.2.0/go.mod h1:HFK/6AGESC7Ex+EZJhJ2Gni6cTaYpSMmU/cT9RmlfYY=
modernc.org/goabi0 v0.2.0 h1:HvEowk7LxcPd0eq6mVOAEMai46V+i7Jrj13t4AzuNks=
modernc.org/goabi0 v0.2.0/go.mod h1:CEFRnnJhKvWT1c1JTI3Avm+tgOWbkOu5oPA8eH8LnMI=
modernc.org/libc v1.79.0 h1:9Dvvv++bAMSkSuBzuOFAatbTV5OIoq6Y6FohmD3e7q8=
modernc.org/libc v1.79.0/go.mod h1:uT3kR61NsbeKJSLqq83GJwSnZMVLlSjyAz4DfTaBy1M=
modernc.org/libc v1.80.1 h1:ejn7HtTV3GknNKbklqWQ1nvUrfX8mTxs1D+xp/JQwy4=
modernc.org/libc v1.80.1/go.mod h1:pvo25Rs3OJEbDqhUV9jdEGevxeLJrJeDmNid/AcQV1g=
modernc.org/mathutil v1.7.1 h1:GCZVGXdaN8gTqB1Mf/usp1Y/hSqgI2vAGGP4jZMCxOU=
modernc.org/mathutil v1.7.1/go.mod h1:4p5IwJITfppl0G4sUEDtCr4DthTaT47/N3aT6MhfgJg=
modernc.org/memory v1.12.1 h1:nFMiWrpStgZczNl6XI9GnIk/rWhYIyHGUaR04pGbp9g=
Expand All @@ -338,8 +338,8 @@ modernc.org/opt v0.2.0 h1:tGyef5ApycA7FSEOMraay9SaTk5zmbx7Tu+cJs4QKZg=
modernc.org/opt v0.2.0/go.mod h1:03fq9lsNfvkYSfxrfUhZCWPk1lm4cq4N+Bh//bEtgns=
modernc.org/sortutil v1.2.1 h1:+xyoGf15mM3NMlPDnFqrteY07klSFxLElE2PVuWIJ7w=
modernc.org/sortutil v1.2.1/go.mod h1:7ZI3a3REbai7gzCLcotuw9AC4VZVpYMjDzETGsSMqJE=
modernc.org/sqlite v1.61.0 h1:sQi63oLQ9uquAUA4CzOisH35Q3pEszkPBuHM0tFL8CY=
modernc.org/sqlite v1.61.0/go.mod h1:f4gr5tbpx2umklaT/QVtbi/50hNdM+4ng+2zMo8KXJ0=
modernc.org/sqlite v1.62.0 h1:gMaCjSM1qpl+iOjiWhR1LYP3zqrYDI+5GYLGt6veP2g=
modernc.org/sqlite v1.62.0/go.mod h1:Jzjh1mt4s0HuQ0KvtB1LIuHiGRmU2D5pgj8dUhW7/SE=
modernc.org/strutil v1.2.1 h1:UneZBkQA+DX2Rp35KcM69cSsNES9ly8mQWD71HKlOA0=
modernc.org/strutil v1.2.1/go.mod h1:EHkiggD70koQxjVdSBM3JKM7k6L0FbGE5eymy9i3B9A=
modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y=
Expand Down
Loading