forked from TrueCloudLab/neoneo-go
046494dd68
* Implemented processing headers + added leveldb as a dependency. * version 0.7.0 * put glide get and install in build_cli section
18 lines
374 B
Go
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
|
|
}
|