ChainTerra / CloutPool

High performance stratum server in Go w/ BitClout configs
MIT License
2 stars 0 forks source link

No go-stratum-pool folder/file created #2

Closed bcBullish closed 3 years ago

bcBullish commented 3 years ago

After cloning the Git Repository, and issuing the go build ./ command there is no go-stratum-pool folder/file created. No way to start the program.

Output of build command:

go: finding module for package github.com/bitclout/core/clouthash/sha3m
go: found github.com/bitclout/core/clouthash/sha3m in github.com/bitclout/core v1.0.1
# github.com/mining-pool/not-only-mining-pool/algorithm
algorithm/algorithm.go:4:2: imported and not used: "strings"
algorithm/algorithm.go:5:2: imported and not used: "math/big"
algorithm/algorithm.go:8:2: imported and not used: "github.com/ipfs/go-log/v2" as logging
algorithm/algorithm.go:10:2: imported and not used: "github.com/mining-pool/not-only-mining-pool/utils"

For more info: System: Linux Ubuntu-1804-bionic-64-minimal

No dockers on bitclout or Cloutpool. (Backend/core up and running,. Not using /run repository but backend and core.)

bcBullish commented 3 years ago

Also, seems as if I can not run the main.go directly as it just generates the same output as the build.

I am new to GoLang, but from how I read the code it should pick up on my config file (or take the -c variable) or at least output the error, but it only reports:

algorithm/algorithm.go:4:2: imported and not used: "strings"
algorithm/algorithm.go:5:2: imported and not used: "math/big"
algorithm/algorithm.go:8:2: imported and not used: "github.com/ipfs/go-log/v2" as logging
algorithm/algorithm.go:10:2: imported and not used: "github.com/mining-pool/not-only-mining-pool/utils"

and exits out with nothing else outputted. Again, I am new to GoLang - but had no issues building and running the bitclout repositories. And again from what I see it should work even from me running the main.go file directly - and it seems to act like it skips the main function.

Thanks for your time on this project - and sorry if this issue ends up being something on my end that I am just not understanding.

Mentors4EDU commented 3 years ago

Hi, please refer to: https://github.com/bitclout/core/issues/4