Skip to content

Better Linux checking for Fasthash binaries#1910

Open
tomasthedev wants to merge 2 commits into
duino-coin:masterfrom
tomasthedev:patch-1
Open

Better Linux checking for Fasthash binaries#1910
tomasthedev wants to merge 2 commits into
duino-coin:masterfrom
tomasthedev:patch-1

Conversation

@tomasthedev
Copy link
Copy Markdown
Contributor

@tomasthedev tomasthedev commented May 23, 2026

The issue:
Currently os.name is used to detect Linux to download fasthash binary by comparing the os.name to posix.
However the os.name will result to posix on all unix/unix like operating systems like on FreeBSD or OpenBSD

The same goes for the donate binaries

Fix:
Using os.uname().system instead or alongside would be a better practice. To compare it to Linux.
This is going to add better debugging and better support for unix-like/unix operating systems in future

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.

1 participant