Use parallelism

This commit is contained in:
Daniel A. Nagy 2015-02-01 15:43:52 +01:00
parent b710ad9568
commit 32ed5ba45d

View file

@ -6,9 +6,11 @@ import (
"github.com/ethereum/go-ethereum/bzz"
"io"
"os"
"runtime"
)
func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
if len(os.Args) < 2 {
fmt.Println("Usage: bzzhash <file name>")