Implement GethBlockchain

This commit is contained in:
Eric Meyer
2017-10-23 13:58:33 -05:00
parent de2cb3b5cc
commit de0bdff579
6 changed files with 45 additions and 9 deletions
+1 -3
View File
@@ -1,13 +1,11 @@
package main
import (
"fmt"
"github.com/8thlight/vulcanizedb/core"
)
func main() {
fmt.Println("Starting connection")
var blockchain core.Blockchain = core.NewGethBlockchain()
blockchain.RegisterObserver(core.BlockchainLoggingObserver{})
blockchain.SubscribeToEvents()
}