Moving the ethgo to individual packages

This commit is contained in:
obscuren
2014-01-10 22:44:53 +01:00
parent f6fa4f8879
commit 8bbf879cb3
23 changed files with 46 additions and 1251 deletions

View File

@ -7,7 +7,7 @@ import (
"flag"
"runtime"
"log"
_"math/big"
"github.com/ethereum/ethutil-go"
)
const Debug = true
@ -39,7 +39,7 @@ func RegisterInterupts(s *Server) {
func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
InitFees()
ethutil.InitFees()
Init()
@ -63,7 +63,7 @@ func main() {
go func() {
for {
res := dagger.Search(Big("0"), BigPow(2, 36))
res := dagger.Search(ethutil.Big("0"), ethutil.BigPow(2, 36))
server.Broadcast("block", Encode(res.String()))
}
}()