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

Method StateEntries

roomserver/state/state.go:38–38  ·  view source on GitHub ↗
(ctx context.Context, stateBlockNIDs []types.StateBlockNID)

Source from the content-addressed store, hash-verified

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)
40 StateEntriesForTuples(ctx context.Context, stateBlockNIDs []types.StateBlockNID, stateKeyTuples []types.StateKeyTuple) ([]types.StateEntryList, error)
41 StateAtEventIDs(ctx context.Context, eventIDs []string) ([]types.StateAtEvent, error)

Callers 2

LoadStateAtSnapshotMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected