Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve dmsg-monitor logic #51

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
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ require (
github.com/sirupsen/logrus v1.9.3
github.com/skycoin/dmsg v1.3.14
github.com/skycoin/skywire v1.3.16
github.com/skycoin/skywire-utilities v1.3.14
github.com/skycoin/skywire-utilities v1.3.18-0.20240208220612-9f31eda72f33
github.com/songgao/water v0.0.0-20200317203138-2b4b6d7c09d8
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.4
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,8 @@ github.com/skycoin/skywire v1.3.16 h1:6p6j55FreY9nolih3kC4TM1uAuyq75TCSL+swQiOxw
github.com/skycoin/skywire v1.3.16/go.mod h1:qbefFm0bNhSEcKOXxws/4/1q3I615an0p9zHkFetyL4=
github.com/skycoin/skywire-utilities v1.3.14 h1:AzTV3oiij7b2VgpiZHJj/oy4Tojf22I+r50Riza8Xt0=
github.com/skycoin/skywire-utilities v1.3.14/go.mod h1:yFKWpL1bDRPKU3uK+cTF4PnYUMe+eyIj5N2bk4sF5Cw=
github.com/skycoin/skywire-utilities v1.3.18-0.20240208220612-9f31eda72f33 h1:BzhyKolEWT8cnXZJMxC0TYGCvu3wMYdI6NOpvToN+uQ=
github.com/skycoin/skywire-utilities v1.3.18-0.20240208220612-9f31eda72f33/go.mod h1:yFKWpL1bDRPKU3uK+cTF4PnYUMe+eyIj5N2bk4sF5Cw=
github.com/skycoin/systray v1.10.0 h1:fQZJHMylpVvfmOOTLvUssfyHVDoC8Idx6Ba2BlLEuGg=
github.com/skycoin/systray v1.10.0/go.mod h1:/i17Eni5GxFiboIZceeamY5LktDSFFRCvd3fBMerQ+4=
github.com/songgao/water v0.0.0-20200317203138-2b4b6d7c09d8 h1:TG/diQgUe0pntT/2D9tmUCz4VNwm9MfrtPr0SU2qSX8=
Expand Down
3 changes: 3 additions & 0 deletions pkg/dmsg-monitor/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -443,5 +443,8 @@ func whitelistedPKs() map[string]bool {
for _, pk := range strings.Split(utilenv.SurveyWhitelistPKs, ",") {
whitelistedPKs[pk] = true
}
for _, pk := range strings.Split(utilenv.RewardSystemPKs, ",") {
whitelistedPKs[pk] = true
}
return whitelistedPKs
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ github.com/skycoin/skywire/pkg/visor/usermanager
github.com/skycoin/skywire/pkg/visor/visorconfig
github.com/skycoin/skywire/pkg/visor/visorinit
github.com/skycoin/skywire/static/icons
# github.com/skycoin/skywire-utilities v1.3.14
# github.com/skycoin/skywire-utilities v1.3.18-0.20240208220612-9f31eda72f33
## explicit; go 1.21
github.com/skycoin/skywire-utilities/pkg/buildinfo
github.com/skycoin/skywire-utilities/pkg/cipher
Expand Down
Loading