mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 12:16:44 +00:00
Use parallelism
This commit is contained in:
parent
b710ad9568
commit
32ed5ba45d
1 changed files with 2 additions and 0 deletions
|
|
@ -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>")
|
||||
|
|
|
|||
Loading…
Reference in a new issue