Move Queue to attic
This commit is contained in:
parent
6a3a37d5a6
commit
8c250cc840
5
Makefile
5
Makefile
|
@ -48,6 +48,9 @@ test_tutorial:
|
||||||
bash $$script ; \
|
bash $$script ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
test_store:
|
||||||
|
@go test store/*.go
|
||||||
|
|
||||||
get_vendor_deps: tools
|
get_vendor_deps: tools
|
||||||
@glide install
|
@glide install
|
||||||
|
|
||||||
|
@ -70,4 +73,4 @@ clean:
|
||||||
fresh: clean get_vendor_deps install
|
fresh: clean get_vendor_deps install
|
||||||
@if [ "$(git status -s)" ]; then echo; echo "Warning: uncommited changes"; git status -s; fi
|
@if [ "$(git status -s)" ]; then echo; echo "Warning: uncommited changes"; git status -s; fi
|
||||||
|
|
||||||
.PHONY: all build install test test_cli test_unit get_vendor_deps build-docker clean fresh benchmark
|
.PHONY: all build install test test_cli test_unit test_store get_vendor_deps build-docker clean fresh benchmark
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
package sdk
|
||||||
|
|
||||||
|
import (
|
||||||
|
types "github.com/cosmos/cosmos-sdk/types"
|
||||||
|
)
|
||||||
|
|
||||||
|
// XXX type aliases for the types/* directory
|
||||||
|
type (
|
||||||
|
Handler = types.Handler
|
||||||
|
)
|
|
@ -9,7 +9,12 @@ type IAVLStore struct {
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
// XXX GUT THIS AND TURN IT INTO AN IAVLSTORE LOADER
|
// XXX
|
||||||
|
func NewIAVLStore() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
// XXX GUT THIS AND TURN IT INTO AN IAVLSTORE LOADER, LoadIAVLStore()
|
||||||
func loadState(dbName string, cacheSize int) (*sm.State, error) {
|
func loadState(dbName string, cacheSize int) (*sm.State, error) {
|
||||||
// memory backed case, just for testing
|
// memory backed case, just for testing
|
||||||
if dbName == "" {
|
if dbName == "" {
|
||||||
|
@ -39,3 +44,4 @@ func loadState(dbName string, cacheSize int) (*sm.State, error) {
|
||||||
|
|
||||||
return sm.NewState(tree), nil
|
return sm.NewState(tree), nil
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
|
@ -2,7 +2,6 @@ package store
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"sort"
|
|
||||||
|
|
||||||
"github.com/tendermint/go-wire"
|
"github.com/tendermint/go-wire"
|
||||||
dbm "github.com/tendermint/tmlibs/db"
|
dbm "github.com/tendermint/tmlibs/db"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package sdk
|
package types
|
||||||
|
|
||||||
// A Decorator executes before/during/after a handler to enhance functionality.
|
// A Decorator executes before/during/after a handler to enhance functionality.
|
||||||
type Decorator interface {
|
type Decorator interface {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package sdk
|
package types
|
||||||
|
|
||||||
import (
|
import (
|
||||||
abci "github.com/tendermint/abci/types"
|
abci "github.com/tendermint/abci/types"
|
||||||
|
|
Loading…
Reference in New Issue