23 Commits

Author SHA1 Message Date
Devin Ragotzy
5e7f60e5d9 Add gen-eventid feature to generate EventId every deserialize
So we do not rely on any found EventId, this makes all the tests break.
2020-12-11 18:04:41 -08:00
Devin Ragotzy
6661771b31 StateEvent now holds EventId in variant + custom ser/de 2020-12-11 18:04:41 -08:00
Devin Ragotzy
c3ba1e33eb Use unstable-join branch of ruma from my fork 2020-12-11 18:04:41 -08:00
Devin Ragotzy
26b0f738a5 Fix unstable-pre-spec for federation membership join 2020-12-11 18:04:41 -08:00
Devin Ragotzy
d19c0d4129 Rebase with timos changes and update/pin ruma 2020-12-11 18:04:41 -08:00
Devin Ragotzy
ee6aa35612 StateEvent's event_id method must return owned EventId 2020-12-11 18:04:41 -08:00
Timo Kösters
ad4fb6420a Various improvements 2020-12-11 18:04:41 -08:00
Timo Kösters
f587b88a60 Fixes 2020-12-11 18:04:41 -08:00
Devin Ragotzy
e8acae05ff Add test testing conduits event sorting logic
This could possibly be turned into another public function for exporting.
A list of ruma::Pdu (events) and another list of ruma::Pdu (auth_events)
and returns the sorted list of events.
2020-08-26 07:10:47 -04:00
Devin Ragotzy
63be0b550f Add room version check to event auth and room_version to StateEvent 2020-08-22 06:36:22 -04:00
Devin Ragotzy
789c814089 Update ruma to latest 2020-08-15 13:32:48 -04:00
Devin Ragotzy
5f77bc11a2 Update ruma with conduit, make event_id return EventId not Option<> 2020-08-12 18:24:58 -04:00
Devin Ragotzy
9a388fc813 Bump ruma to same rev as conduit federation-p2p branch 2020-08-11 23:22:20 -04:00
Devin Ragotzy
185047918a StateResolution's methods take &self now + more clean up 2020-08-05 23:34:49 -04:00
Devin Ragotzy
8a9f15e01f House keeping, remove &mut self in all methods
Improved perf -7.8220%
2020-07-28 07:09:07 -04:00
Devin Ragotzy
d8fb5ca112 Add benchmark for longer auth chain and Error type
This required that the code being run in the benchmark be tested to
verify it works correctly. Now work can begin cleaning up and optimizing
state-res.
2020-07-27 00:09:21 -04:00
Devin Ragotzy
29d86ebf3c Fix separate ignoring missing ids and auth_check details 2020-07-24 23:14:30 -04:00
Devin R
5842ddf36e Working ban_vs_power_level test, add travis.yml, logging 2020-07-22 23:26:55 -04:00
Devin R
0c21f38cb1 Fixing failing first failing state res test
lexicographical_topological_sort test passes. Chasing bug somewhere in
resolve.
2020-07-20 22:02:29 -04:00
Devin R
954fe5e51e Done transcribing all logic is filled in no more unimplemented! 2020-07-19 08:42:45 -04:00
Devin R
d3c3c95985 Use ruma's PDU events not the sent events 2020-07-18 16:14:57 -04:00
Devin R
c043b10d64 Sketch is mostly finalized now fill in with code 2020-07-18 14:01:22 -04:00
Devin R
61f485ea3f Initial commit sketching out ideas 2020-07-17 10:07:03 -04:00