neoneo-go/pkg/core/memory_store.go
Anthony De Meulemeester 046494dd68
Implemented processing headers + added leveldb as a dependency. (#16)
* Implemented processing headers + added leveldb as a dependency.

* version 0.7.0

* put glide get and install in build_cli section
2018-02-06 07:43:32 +01:00

18 lines
374 B
Go

package core
// MemoryStore is an in memory implementation of a BlockChainStorer.
type MemoryStore struct {
}
// NewMemoryStore returns a pointer to a MemoryStore object.
func NewMemoryStore() *MemoryStore {
return &MemoryStore{}
}
func (m *MemoryStore) write(key, value []byte) error {
return nil
}
func (m *MemoryStore) writeBatch(batch Batch) error {
return nil
}