Fingertip with stateless DANE#36
Conversation
Update build.sh
main.go
Outdated
| } | ||
| if hnsdCheckpointPath == "" { | ||
| home, _ := os.UserHomeDir() //above already fails if it doesn't exist | ||
| hnsdCheckpointPath = path.Join(home, ".hnsd") |
There was a problem hiding this comment.
Instead of a new directory, we can probably use fingertip's existing one so all data stays in one place: app.config.Path
There was a problem hiding this comment.
Not sure which is better: if user also has hnsd, then it's better to share the checkpoints location with hnsd.
There was a problem hiding this comment.
Oh forgot about this. If hnsd changes any file format in the future, it shouldn't affect fingertip. Same reason why Bob stores hsd data in its own directory, not in ~/.hsd.
It's also easier for the uninstaller to clean up, deleting one folder clears everything, and doesn't break any other hnsd that may still be installed independently.
And since we're using -t, even the first sync will be pretty fast anyway.
Incorporated changes to replace letsdane with sane.