MCPcopy Create free account
hub / github.com/daodst/chat / EventStateKeyNIDs

Method EventStateKeyNIDs

roomserver/state/state.go:36–36  ·  view source on GitHub ↗
(ctx context.Context, eventStateKeys []string)

Source from the content-addressed store, hash-verified

34type StateResolutionStorage interface {
35 EventTypeNIDs(ctx context.Context, eventTypes []string) (map[string]types.EventTypeNID, error)
36 EventStateKeyNIDs(ctx context.Context, eventStateKeys []string) (map[string]types.EventStateKeyNID, error)
37 StateBlockNIDs(ctx context.Context, stateNIDs []types.StateSnapshotNID) ([]types.StateBlockNIDList, error)
38 StateEntries(ctx context.Context, stateBlockNIDs []types.StateBlockNID) ([]types.StateEntryList, error)
39 SnapshotNIDFromEventID(ctx context.Context, eventID string) (types.StateSnapshotNID, error)

Callers 3

resolveConflictsV1Method · 0.65
loadAuthEventsMethod · 0.65

Implementers 2

Databaseroomserver/storage/shared/storage.go
RoomUpdaterroomserver/storage/shared/room_updater

Calls

no outgoing calls

Tested by

no test coverage detected