forked from cerc-io/ipld-eth-server
646e0fa057
* This removes some duplication between the fake blockchain and geth blockchain. * This pulls the observers into the blockchain listener
7 lines
100 B
Go
7 lines
100 B
Go
package core
|
|
|
|
type Blockchain interface {
|
|
SubscribeToBlocks(blocks chan Block)
|
|
StartListening()
|
|
}
|