Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Fix broken link in readme #462

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion .github/workflows/examples-console.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@5c56cd6c9dc07901af25baab6f2b0d9f3b7c3018
with:
version: v1.45.2
version: v1.56.2
working-directory: examples/console
skip-go-installation: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@5c56cd6c9dc07901af25baab6f2b0d9f3b7c3018
with:
version: v1.45.2
version: v1.56.2
working-directory: sdk
skip-go-installation: true

Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Stellar Quickstart: Run"
run: docker run -d -p 8000:8000 --name stellar stellar/quickstart --standalone --enable-core-artificially-accelerate-time-for-testing
run: docker run -d -p 8000:8000 --name stellar stellar/quickstart --local
- name: "Stellar Quickstart: Wait for Ready"
run: while ! [ "$(curl -s --fail localhost:8000 | jq '.history_latest_ledger')" -gt 0 ]; do echo waiting; sleep 1; done
- name: "Stellar Quickstart: Details"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ More details in the [README](https://github.com/stellar/starlight/tree/main/exam

## Get involved

- [Discord](https://discord.gg/xGWRjyNzQh)
- [Discord](https://discord.gg/stellardev)
- [Discussions](https://github.com/stellar/starlight/discussions)
- [Demos](https://github.com/stellar/starlight/discussions/categories/demos)
- [Getting Started](Getting%20Started.md)
Expand Down
2 changes: 1 addition & 1 deletion examples/console/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (s *stats) AgreementsPerSecond() float64 {
if timeFinish.IsZero() {
timeFinish = time.Now()
}
duration := s.timeFinish.Sub(s.timeStart)
duration := timeFinish.Sub(s.timeStart)
leighmcculloch marked this conversation as resolved.
Show resolved Hide resolved
rate := float64(s.agreementsSent+s.agreementsReceived) / duration.Seconds()
if math.IsNaN(rate) || math.IsInf(rate, 0) {
rate = 0
Expand Down
20 changes: 10 additions & 10 deletions sdk/state/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ The Open, Payment, and Close operations are broken up into three steps:
- Finalize*: Called by the payer to finalize the agreement with the payees
signatures.

+-----------+ +-----------+
| Payer | | Payee |
+-----+-----+ +-----+-----+
| |
Propose |
+----------------->+
| Confirm
+<-----------------+
Finalize* |
| |
+-----------+ +-----------+
| Payer | | Payee |
+-----+-----+ +-----+-----+
| |
Propose |
+----------------->+
| Confirm
+<-----------------+
Finalize* |
| |

* Note that the Open and Close processes do not have a Finalize operation, and the
Confirm is used in its place at this time. A Finalize operation is likely to be
Expand Down
Loading