Skip to content

Commit

Permalink
Merge pull request #16 from dajohi/dcrlnd
Browse files Browse the repository at this point in the history
build: Bump dcrlnd dep
  • Loading branch information
dajohi authored Feb 20, 2024
2 parents e796ee4 + 77638dc commit 106e9bd
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.20', '1.21']
go: ['1.21', '1.22']
steps:
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0
with:
go-version: ${{ matrix.go }}
- name: Check out source
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: Install Linters
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2"
run: "go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.0"
- name: Build
run: go build ./...
- name: Lint
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/decred/dcrd/chaincfg/v3 v3.2.0
github.com/decred/dcrd/dcrutil/v4 v4.0.1
github.com/decred/dcrd/wire v1.6.0
github.com/decred/dcrlnd v0.5.1-0.20240123175816-ae2058fde3dd
github.com/decred/dcrlnd v0.5.1-0.20240220145029-ac6673a2bc7f
github.com/decred/slog v1.2.0
github.com/gorilla/mux v1.8.1
github.com/jessevdk/go-flags v1.5.0
Expand All @@ -20,7 +20,7 @@ require (

require (
decred.org/cspp/v2 v2.1.0 // indirect
decred.org/dcrwallet/v3 v3.1.1-0.20240123171509-cb3222c211b9 // indirect
decred.org/dcrwallet/v3 v3.1.1-0.20240219233943-89327b1f292f // indirect
github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/btcsuite/btcwallet/walletdb v1.4.0 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vf
cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA=
decred.org/cspp/v2 v2.1.0 h1:HeHb9+BFqrBaAPc6CsPiUpPFmC1uyBM2mJZUAbUXkRw=
decred.org/cspp/v2 v2.1.0/go.mod h1:9nO3bfvCheOPIFZw5f6sRQ42CjBFB5RKSaJ9Iq6G4MA=
decred.org/dcrwallet/v3 v3.1.1-0.20240123171509-cb3222c211b9 h1:pzXtrLFRbHUeyz/SrgJ8Xez15lk65yCXkZqx+lxLUsQ=
decred.org/dcrwallet/v3 v3.1.1-0.20240123171509-cb3222c211b9/go.mod h1:KYWzL2R6ghBLSvB7XXU9S29QwgcqnApCvONMDJ6KCR0=
decred.org/dcrwallet/v3 v3.1.1-0.20240219233943-89327b1f292f h1:U7Hqknl9iWt1VXK1e++4ezMWXr8QDg1PMZv5yq4fzZQ=
decred.org/dcrwallet/v3 v3.1.1-0.20240219233943-89327b1f292f/go.mod h1:KYWzL2R6ghBLSvB7XXU9S29QwgcqnApCvONMDJ6KCR0=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
Expand Down Expand Up @@ -535,8 +535,8 @@ github.com/decred/dcrd/wire v1.2.0/go.mod h1:/JKOsLInOJu6InN+/zH5AyCq3YDIOW/Eqcf
github.com/decred/dcrd/wire v1.5.0/go.mod h1:fzAjVqw32LkbAZIt5mnrvBR751GTa3e0rRQdOIhPY3w=
github.com/decred/dcrd/wire v1.6.0 h1:YOGwPHk4nzGr6OIwUGb8crJYWDiVLpuMxfDBCCF7s/o=
github.com/decred/dcrd/wire v1.6.0/go.mod h1:XQ8Xv/pN/3xaDcb7sH8FBLS9cdgVctT7HpBKKGsIACk=
github.com/decred/dcrlnd v0.5.1-0.20240123175816-ae2058fde3dd h1:/vsIDpg//5OzT5W8vLxHj4Y0BeDVaKaaNE4VKLguhUk=
github.com/decred/dcrlnd v0.5.1-0.20240123175816-ae2058fde3dd/go.mod h1:cyp2hwnvNc+PU4OTMT/5WtPsG48C62RzvranYFURp2I=
github.com/decred/dcrlnd v0.5.1-0.20240220145029-ac6673a2bc7f h1:HeNCXks0/4ApaWaMQKEJf/RoumhpQKHMjhUCpKkZB5M=
github.com/decred/dcrlnd v0.5.1-0.20240220145029-ac6673a2bc7f/go.mod h1:KMGegIx5s6S+zfs8neIysOyySIjcwxmgOCLWlrG665o=
github.com/decred/dcrtest/dcrdtest v1.0.0 h1:M50BpCPwkCJLtRa2MAo7QMs9sQFgZdCjTnZahnak594=
github.com/decred/dcrtest/dcrdtest v1.0.0/go.mod h1:kpuTg2gpr7ze14cumpsLa2ecRC1M4mt36IrRKzNRipU=
github.com/decred/go-socks v1.1.0 h1:dnENcc0KIqQo3HSXdgboXAHgqsCIutkqq6ntQjYtm2U=
Expand Down
7 changes: 7 additions & 0 deletions server/mock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,13 @@ func (lc *lightningClientMock) EnforceNodePing(ctx context.Context, in *lnrpc.En
panic("not implemented") // TODO: Implement
}

// lncli: `calcpaymentstats`
// CalcPaymentStats goes through the DB and generates a report on total
// number of payments recorded.
func (lc *lightningClientMock) CalcPaymentStats(ctx context.Context, in *lnrpc.CalcPaymentStatsRequest, opts ...grpc.CallOption) (*lnrpc.CalcPaymentStatsResponse, error) {
panic("not implemented") // TODO: Implement
}

type clientStream struct{}

// Header returns the header metadata received from the server if there
Expand Down

0 comments on commit 106e9bd

Please sign in to comment.