spectre-project / spectred

Spectre full node daemon, privacy without compromise, anonymity by design!
ISC License
12 stars 7 forks source link

Please add support arm 32bit(armv7l and armv8l) #4

Open ChaoLine892 opened 6 months ago

ChaoLine892 commented 6 months ago

I can't compile miner on 32bit cpu root@localhost:~/spectred/cmd/spectreminer# go build ../../util/bech32/bech32.go:28:23: cannot use 0x98f2bc8e61 (untyped int constant 656907472481) as int value in array or slice literal (overflows) ../../util/bech32/bech32.go:28:37: cannot use 0x79b76d99e2 (untyped int constant 522768456162) as int value in array or slice literal (overflows) ../../util/bech32/bech32.go:28:51: cannot use 0xf33e5fb3c4 (untyped int constant 1044723512260) as int value in array or slice literal (overflows) ../../util/bech32/bech32.go:28:65: cannot use 0xae2eabe2a8 (untyped int constant 748107326120) as int value in array or slice literal (overflows) ../../util/bech32/bech32.go:28:79: cannot use 0x1e4f43e470 (untyped int constant 130178868336) as int value in array or slice literal (overflows) ../../util/bech32/bech32.go:286:27: 0x07ffffffff (untyped int constant 34359738367) overflows int

0xA001113 commented 1 month ago

This is a not trivial task as it requires to map the 64-bit int to some long on 32-bit and would require a lot of testing. Clearly something for the far away future as it nice but doesn't pay to our towards goal of initial privacy. However in future it is interesting as it can improve privacy by extending the possible installation targets.