From 624438d4601b7692265dd90edd2d3f9cd896523a Mon Sep 17 00:00:00 2001 From: Dmytrol <46675332+Dimitrolito@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:26:45 +0200 Subject: [PATCH 1/7] typos util.go --- common/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/util.go b/common/util.go index 4a408ba6c8..19fb0b6a9c 100644 --- a/common/util.go +++ b/common/util.go @@ -272,7 +272,7 @@ func PriceToFixed(price *big.Rat) (int64, error) { return ratToFixed(price, priceScalingFactor) } -// FixedToPrice converts an fixed point number with 3 decimal places represented as in int64 into a big.Rat +// FixedToPrice converts a fixed point number with 3 decimal places represented as in int64 into a big.Rat func FixedToPrice(price int64) *big.Rat { return big.NewRat(price, priceScalingFactor) } From fb857346f9c231dea9a7bdb17bc8e9df542e95bb Mon Sep 17 00:00:00 2001 From: Dmytrol <46675332+Dimitrolito@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:27:54 +0200 Subject: [PATCH 2/7] typos README.md --- cmd/devtool/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/devtool/README.md b/cmd/devtool/README.md index 7710a0a078..63eea3a48d 100644 --- a/cmd/devtool/README.md +++ b/cmd/devtool/README.md @@ -27,7 +27,7 @@ docker run -p 8545:8545 -p 8546:8546 --name geth-with-livepeer-protocol livepeer This command will submit the setup transactions for a broadcaster and generate the Bash script `run_broadcaster_.sh` which can be used to start a broadcaster node. -### Step 3: Set up a orchestrator/transcoder +### Step 3: Set up an orchestrator/transcoder `go run cmd/devtool/devtool.go setup transcoder` From 6ee3c05a786a98f2616107e6adf2a90c6e08b594 Mon Sep 17 00:00:00 2001 From: Dmytrol <46675332+Dimitrolito@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:28:23 +0200 Subject: [PATCH 3/7] typos wizard_transcoder.go --- cmd/livepeer_cli/wizard_transcoder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/livepeer_cli/wizard_transcoder.go b/cmd/livepeer_cli/wizard_transcoder.go index 2416aadbd0..262a9b9140 100644 --- a/cmd/livepeer_cli/wizard_transcoder.go +++ b/cmd/livepeer_cli/wizard_transcoder.go @@ -108,7 +108,7 @@ func (w *wizard) activateOrchestrator() { val := w.getOrchestratorConfigFormValues() if d.BondedAmount.Cmp(big.NewInt(0)) <= 0 || d.DelegateAddress != d.Address { - fmt.Printf("You must bond to yourself in order to become a orchestrator\n") + fmt.Printf("You must bond to yourself in order to become an orchestrator\n") rebond := false From 8ba5300d626aaf2ecbd18e2816619de3853d91a0 Mon Sep 17 00:00:00 2001 From: Dmytrol <46675332+Dimitrolito@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:28:58 +0200 Subject: [PATCH 4/7] typos httpcli.md --- doc/httpcli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/httpcli.md b/doc/httpcli.md index 2a5d9e255d..8ff77761d0 100644 --- a/doc/httpcli.md +++ b/doc/httpcli.md @@ -1,6 +1,6 @@ # HTTP endpoint -The Livepeer node exposes a HTTP interface for monitoring and managing the node. This is how the `livepeer_cli` tool interfaces with a running node. +The Livepeer node exposes an HTTP interface for monitoring and managing the node. This is how the `livepeer_cli` tool interfaces with a running node. By default, the CLI listens to localhost:7935. This can be adjusted with the -cliAddr `:` flag. ## Available endpoints: From 6599ba3ce2424ab3cbb87ba0287d67ea560e6f9a Mon Sep 17 00:00:00 2001 From: Dmytrol <46675332+Dimitrolito@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:29:27 +0200 Subject: [PATCH 5/7] typos rtmpwebhookauth.md --- doc/rtmpwebhookauth.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/rtmpwebhookauth.md b/doc/rtmpwebhookauth.md index 1b9bdafea3..63e30b521e 100644 --- a/doc/rtmpwebhookauth.md +++ b/doc/rtmpwebhookauth.md @@ -2,7 +2,7 @@ Incoming streams can be authenticated using webhooks on both orchestrator and broadcaster nodes. To use these webhooks, node operators must implement their own web service / endpoint to be accessed only by the Livepeer node. As new streams appear, the Livepeer node will call this endpoint to determine whether the given stream is allowed. -The webhook server should respond with HTTP status code `200` in order to authenticate / authorize the stream. A response with a HTTP status code other than `200` will cause the Livepeer node to disconnect the stream. +The webhook server should respond with HTTP status code `200` in order to authenticate / authorize the stream. A response with an HTTP status code other than `200` will cause the Livepeer node to disconnect the stream. To enable webhook authentication functionality, the Livepeer node should be started with the `-authWebhookUrl` flag, along with the webhook endpoint URL. @@ -74,4 +74,4 @@ If a valid `priceInfo` object is provided in the response the orchestrator will "pixelsPerUnit": number } } -``` \ No newline at end of file +``` From ba55302ece6e6ba2a58501cfea69daeeb069e48d Mon Sep 17 00:00:00 2001 From: Dmytrol <46675332+Dimitrolito@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:30:39 +0200 Subject: [PATCH 6/7] typos stub.go --- pm/stub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pm/stub.go b/pm/stub.go index 44b8ab0961..4315ffdadd 100644 --- a/pm/stub.go +++ b/pm/stub.go @@ -453,7 +453,7 @@ func (m *MockRecipient) ReceiveTicket(ticket *Ticket, sig []byte, seed *big.Int) } // RedeemWinningTickets redeems all winning tickets with the broker -// for a all sessionIDs +// for an all sessionIDs func (m *MockRecipient) RedeemWinningTickets(sessionIDs []string) error { args := m.Called(sessionIDs) return args.Error(0) From 54e1efaadce3cb4f7172409b2b31f3b29b86641d Mon Sep 17 00:00:00 2001 From: Thom Shutt Date: Fri, 20 Dec 2024 13:38:38 +0000 Subject: [PATCH 7/7] Fix bad grammar --- pm/stub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pm/stub.go b/pm/stub.go index 4315ffdadd..33ba0352d1 100644 --- a/pm/stub.go +++ b/pm/stub.go @@ -453,7 +453,7 @@ func (m *MockRecipient) ReceiveTicket(ticket *Ticket, sig []byte, seed *big.Int) } // RedeemWinningTickets redeems all winning tickets with the broker -// for an all sessionIDs +// for all sessionIDs func (m *MockRecipient) RedeemWinningTickets(sessionIDs []string) error { args := m.Called(sessionIDs) return args.Error(0)