aboutsummaryrefslogtreecommitdiffstats
path: root/testing.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-03-22 08:02:24 +0800
committerobscuren <geffobscura@gmail.com>2014-03-22 08:02:24 +0800
commit1f2547b8a7cfe100f64428d20f4bcf95eb9ecc5c (patch)
treed8be2c7b97a86f2b9949c4b4dc14ab2c2a34dc2e /testing.go
parent22b4e9b6173437b28045d69e8fd0b468e526e559 (diff)
downloadgo-tangerine-1f2547b8a7cfe100f64428d20f4bcf95eb9ecc5c.tar
go-tangerine-1f2547b8a7cfe100f64428d20f4bcf95eb9ecc5c.tar.gz
go-tangerine-1f2547b8a7cfe100f64428d20f4bcf95eb9ecc5c.tar.bz2
go-tangerine-1f2547b8a7cfe100f64428d20f4bcf95eb9ecc5c.tar.lz
go-tangerine-1f2547b8a7cfe100f64428d20f4bcf95eb9ecc5c.tar.xz
go-tangerine-1f2547b8a7cfe100f64428d20f4bcf95eb9ecc5c.tar.zst
go-tangerine-1f2547b8a7cfe100f64428d20f4bcf95eb9ecc5c.zip
Major re-organisation.
The Ethereum node and Gui are now separated.
Diffstat (limited to 'testing.go')
-rw-r--r--testing.go33
1 files changed, 0 insertions, 33 deletions
diff --git a/testing.go b/testing.go
deleted file mode 100644
index 849089a5d..000000000
--- a/testing.go
+++ /dev/null
@@ -1,33 +0,0 @@
-package main
-
-/*
-
-import (
- _"fmt"
-)
-
-// This will eventually go away
-var Db *MemDatabase
-
-func Testing() {
- db, _ := NewMemDatabase()
- Db = db
-
- bm := NewBlockManager()
-
- tx := NewTransaction("\x00", 20, []string{"PUSH"})
- txData := tx.RlpEncode()
- //fmt.Printf("%q\n", txData)
-
- copyTx := &Transaction{}
- copyTx.RlpDecode(txData)
- //fmt.Println(tx)
- //fmt.Println(copyTx)
-
- tx2 := NewTransaction("\x00", 20, []string{"SET 10 6", "LD 10 10"})
-
- blck := CreateTestBlock([]*Transaction{tx2, tx})
-
- bm.ProcessBlock( blck )
-}
-*/