forked from cerc-io/ipld-eth-server
de2cb3b5cc
* Potential observers include a logger and/or an observer that writes to the DB
14 lines
248 B
Go
14 lines
248 B
Go
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{})
|
|
}
|