Removed dagger broadcasting to the net

This commit is contained in:
obscuren 2014-01-17 16:57:42 +01:00
parent aed060a4ce
commit ddf82c3337
2 changed files with 4 additions and 3 deletions

View File

@ -65,7 +65,8 @@ func main() {
go func() {
for {
res := dagger.Search(ethutil.Big("01001"), ethutil.BigPow(2, 36))
server.Broadcast("blockmine", ethutil.Encode(res.String()))
log.Println("Res dagger", res)
//server.Broadcast("blockmine", ethutil.Encode(res.String()))
}
}()
}

View File

@ -16,11 +16,11 @@ func Testing() {
bm := NewBlockManager()
tx := NewTransaction("\x00", 20, []string{"PUSH"})
txData := tx.MarshalRlp()
txData := tx.RlpEncode()
//fmt.Printf("%q\n", txData)
copyTx := &Transaction{}
copyTx.UnmarshalRlp(txData)
copyTx.RlpDecode(txData)
//fmt.Println(tx)
//fmt.Println(copyTx)