aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-06-19 19:47:18 +0800
committerobscuren <geffobscura@gmail.com>2014-06-19 19:47:18 +0800
commit3ec0c719b99b6b14ed6c13128b2caec723bc4a93 (patch)
tree67cee8435452ec101961aeb378d1338d64b67a1b /ethereal
parente517fb5f9da7856c52c771f054166a60e4b8389d (diff)
downloaddexon-3ec0c719b99b6b14ed6c13128b2caec723bc4a93.tar.gz
dexon-3ec0c719b99b6b14ed6c13128b2caec723bc4a93.tar.zst
dexon-3ec0c719b99b6b14ed6c13128b2caec723bc4a93.zip
Verbose logging
Diffstat (limited to 'ethereal')
-rw-r--r--ethereal/assets/samplecoin/samplecoin.html4
-rw-r--r--ethereal/ui/debugger.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/ethereal/assets/samplecoin/samplecoin.html b/ethereal/assets/samplecoin/samplecoin.html
index dc8d0b7e9..7b63f78e4 100644
--- a/ethereal/assets/samplecoin/samplecoin.html
+++ b/ethereal/assets/samplecoin/samplecoin.html
@@ -9,7 +9,7 @@
<script type="text/javascript">
-var jefcoinAddr = "de0bd4ea1947deabf1749d7ed633f289358c9f6c"
+var jefcoinAddr = "22fa3ebce6ef9ca661a960104d3087eec040011e"
var mAddr = ""
function createTransaction() {
@@ -17,7 +17,7 @@ function createTransaction() {
var amount = document.querySelector("#amount").value.pad(32);
var data = (addr + amount).unbin();
- eth.transact(mAddr, jefcoinAddr, 0, "10000000", "250", data, function(receipt) {
+ eth.transact(mAddr, jefcoinAddr, 0, "50000", "1000000", data, function(receipt) {
debug("received tx hash:", reciept.address)
})
}
diff --git a/ethereal/ui/debugger.go b/ethereal/ui/debugger.go
index 919407b34..9ebfc5fe7 100644
--- a/ethereal/ui/debugger.go
+++ b/ethereal/ui/debugger.go
@@ -78,7 +78,6 @@ func (self *DebuggerWindow) Debug(valueStr, gasStr, gasPriceStr, scriptStr, data
var err error
script := ethutil.StringToByteFunc(scriptStr, func(s string) (ret []byte) {
ret, err = ethutil.Compile(s)
- fmt.Printf("%x\n", ret)
return
})
@@ -118,6 +117,7 @@ func (self *DebuggerWindow) Debug(valueStr, gasStr, gasPriceStr, scriptStr, data
Diff: block.Difficulty,
Value: ethutil.Big(valueStr),
})
+ vm.Verbose = true
self.Db.done = false
self.Logf("callsize %d", len(script))