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 survey #1479

Merged
merged 3 commits into from
Feb 11, 2023
Merged

improve survey #1479

merged 3 commits into from
Feb 11, 2023

Conversation

mrpalide
Copy link
Contributor

Did you run make format && make check? Yes

Fixes #_

Changes:

  • Encrypt survey with skycoin.asc key
  • add timestamp in top of survey file

How to test this PR:

  • in pkg->visor->visorconfig->survey.go change two line:
    1. line 22 -> rewardAddressBytes, err := os.ReadFile(conf.LocalPath + "/" + RewardFile) //nolint
    2. line 49 -> skycoinKeyPath := SkycoinKeyName
  • make sure reward.txt with correct skycoin address be in local folder
  • make build and run visor as root
  • check node-info.json in local folder, it should be encrypted message

@0pcom 0pcom merged commit 2d27faf into skycoin:develop Feb 11, 2023
@mrpalide mrpalide deleted the feat/survey-encrypt branch March 26, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants