Documentation ¶
Index ¶
- Variables
- func BatchQueryStorage(statedb, localdb dbm.KV, in *ety.BatchQueryStorage) (types.Message, error)
- func GetName() string
- func Init(name string, cfg *types.ChainConfig, sub []byte)
- func InitExecType()
- func Key(txHash string) (key []byte)
- func QueryStorage(statedb, localdb dbm.KV, txHash string) (*ety.Storage, error)
- func QueryStorageByTxHash(db dbm.KV, txhash string) (*ety.Storage, error)
- func QueryStorageFromLocalDB(localdb dbm.KV, key string) (*ety.Storage, error)
- type StorageAction
- func (s *StorageAction) ContentStorage(payload *ety.ContentOnlyNotaryStorage) (*types.Receipt, error)
- func (s *StorageAction) EncryptAdd(payload *ety.EncryptNotaryAdd) (*types.Receipt, error)
- func (s *StorageAction) EncryptShareStorage(payload *ety.EncryptShareNotaryStorage) (*types.Receipt, error)
- func (s *StorageAction) EncryptStorage(payload *ety.EncryptNotaryStorage) (*types.Receipt, error)
- func (s *StorageAction) GetKVSet(payload proto.Message) (kvset []*types.KeyValue)
- func (s *StorageAction) HashStorage(payload *ety.HashOnlyNotaryStorage) (*types.Receipt, error)
- func (s *StorageAction) LinkStorage(payload *ety.LinkNotaryStorage) (*types.Receipt, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //KeyPrefixStateDB state db key必须前缀 KeyPrefixStateDB = "mavl-storage-" //KeyPrefixLocalDB local db的key必须前缀 KeyPrefixLocalDB = "LODB-storage-" )
Functions ¶
func BatchQueryStorage ¶
BatchQueryStorage ...
func QueryStorage ¶
QueryStorage ...
func QueryStorageByTxHash ¶
QueryStorageByTxHash ...
Types ¶
type StorageAction ¶
type StorageAction struct {
// contains filtered or unexported fields
}
StorageAction ...
func (*StorageAction) ContentStorage ¶
func (s *StorageAction) ContentStorage(payload *ety.ContentOnlyNotaryStorage) (*types.Receipt, error)
ContentStorage ...
func (*StorageAction) EncryptAdd ¶
func (s *StorageAction) EncryptAdd(payload *ety.EncryptNotaryAdd) (*types.Receipt, error)
EncryptAdd ...
func (*StorageAction) EncryptShareStorage ¶
func (s *StorageAction) EncryptShareStorage(payload *ety.EncryptShareNotaryStorage) (*types.Receipt, error)
EncryptShareStorage ...
func (*StorageAction) EncryptStorage ¶
func (s *StorageAction) EncryptStorage(payload *ety.EncryptNotaryStorage) (*types.Receipt, error)
EncryptStorage ...
func (*StorageAction) GetKVSet ¶
func (s *StorageAction) GetKVSet(payload proto.Message) (kvset []*types.KeyValue)
GetKVSet ...
func (*StorageAction) HashStorage ¶
func (s *StorageAction) HashStorage(payload *ety.HashOnlyNotaryStorage) (*types.Receipt, error)
HashStorage ...
func (*StorageAction) LinkStorage ¶
func (s *StorageAction) LinkStorage(payload *ety.LinkNotaryStorage) (*types.Receipt, error)
LinkStorage ...
Click to show internal directories.
Click to hide internal directories.