aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-18 08:34:33 +0800
committerobscuren <geffobscura@gmail.com>2014-02-18 08:34:33 +0800
commit8c8554f5584dcc0efb4526c1d5f4d50bf2ed3b01 (patch)
treebe87c8ab89a11717da9987df4548f90f86924130
parent5257c25ee22f12913e4d10165c0be7dfa9ae4d99 (diff)
downloaddexon-8c8554f5584dcc0efb4526c1d5f4d50bf2ed3b01.tar.gz
dexon-8c8554f5584dcc0efb4526c1d5f4d50bf2ed3b01.tar.zst
dexon-8c8554f5584dcc0efb4526c1d5f4d50bf2ed3b01.zip
Added license name and updated block output from the dev console
-rw-r--r--LICENSE2
-rw-r--r--dev_console.go3
2 files changed, 3 insertions, 2 deletions
diff --git a/LICENSE b/LICENSE
index 803f2ef4e..b77f7909a 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2013 Geff Obscura
+Copyright (c) 2013 Jeffrey Wilcke
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/dev_console.go b/dev_console.go
index f2283e341..6670d2a44 100644
--- a/dev_console.go
+++ b/dev_console.go
@@ -136,7 +136,8 @@ func (i *Console) ParseInput(input string) bool {
case "block":
encoded, _ := hex.DecodeString(tokens[1])
block := i.ethereum.BlockManager.BlockChain().GetBlock(encoded)
- fmt.Println(block)
+ info := block.BlockInfo()
+ fmt.Printf("++++++++++ #%d ++++++++++\n%v\n", info.Number, block)
case "say":
i.ethereum.Broadcast(ethwire.MsgTalkTy, []interface{}{tokens[1]})
case "addp":