go-eth-proxy

Transparent proxy server for eth-cache
Info | Log | Files | Refs

store.go (218B)


      1 package store
      2 
      3 type Store interface {
      4 	GetTransaction(b []byte) ([]byte, error)
      5 	GetBlock(b []byte) ([]byte, error)
      6 	GetBlockNumber(n []byte) ([]byte, error)
      7 	GetTransactionReceipt(b []byte) ([]byte, error)
      8 	Close()
      9 }