Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) EditCSCAListProposal(ctx sdk.Context, proposal *types.EditCSCAListProposal) error
- func (k Keeper) EndBlocker(ctx sdk.Context)
- func (k Keeper) GetAllNode(ctx sdk.Context) []types.Node
- func (k Keeper) GetNode(ctx sdk.Context, key string) (val types.Node, found bool)
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) GetRootKey(ctx sdk.Context) string
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(goCtx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveNode(ctx sdk.Context, key string)
- func (k Keeper) RemoveTree(ctx sdk.Context)
- func (k Keeper) ReplaceCSCAListProposal(ctx sdk.Context, proposal *types.ReplaceCSCAListProposal) error
- func (k Keeper) SetNode(ctx sdk.Context, n types.Node)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetRootKey(ctx sdk.Context, root string)
- func (k Keeper) Tree(c context.Context, req *types.QueryTreeRequest) (*types.QueryTreeResponse, error)
- type Treap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, rarimo types.RarimocoreKeeper, ) *Keeper
func (Keeper) EditCSCAListProposal ¶
func (Keeper) EndBlocker ¶
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveTree ¶
RemoveTree removes all nodes iteratively from the store. It should be done with dropping just NodeKeyPrefix content, but requires deep research of Cosmos SDK store.
func (Keeper) ReplaceCSCAListProposal ¶
func (Keeper) Tree ¶
func (k Keeper) Tree(c context.Context, req *types.QueryTreeRequest) (*types.QueryTreeResponse, error)
type Treap ¶
type Treap struct {
// contains filtered or unexported fields
}
Treap implements dynamic Merkle tree using treap data structure. Proof of concept: https://github.com/olegfomenko/crypto/tree/master/go/dynamic-merkle
Source Files ¶
Click to show internal directories.
Click to hide internal directories.