ipld-eth-server/core/blockchain.go
Eric Meyer 646e0fa057 Refactor to use listener
* This removes some duplication between the fake blockchain and
   geth blockchain.
 * This pulls the observers into the blockchain listener
2017-11-02 12:51:46 -05:00

7 lines
100 B
Go

package core
type Blockchain interface {
SubscribeToBlocks(blocks chan Block)
StartListening()
}