dendrite/cmd
Hilmar Gústafsson 73d2f59e30
WIP: Add libp2p-go (#956)
* Add libp2p-go

* Some tweaks, tidying up

(cherry picked from commit 1a5bb121f8121c4f68a27abbf25a9a35a1b7c63e)

* Move p2p dockerfile

(cherry picked from commit 8d3bf44ea1bf37f950034e73bcdc315afdabe79a)

* Remove containsBackwardsExtremity

* Fix some linter errors, update some libp2p packages/calls, other tidying up

* Add -port for dendrite-p2p-demo

* Use instance name as key ID

* Remove P2P demo docker stuff, no longer needed now that we have SQLite

* Remove Dockerfile-p2p too

* Remove p2p logic from dendrite-monolith-server

* Inject publicRoomsDB in publicroomsapi

Inject publicRoomsDB instead of switching on base.libP2P.
See: https://github.com/matrix-org/dendrite/pull/956/files?file-filters%5B%5D=.go#r406276914

* Fix lint warning

* Extract mDNSListener from base.go

* Extract CreateFederationClient into demo

* Create P2PDendrite from BaseDendrite

Extract logic specific to P2PDendrite from base.go

* Set base.go to upstream/master

* Move pubsub to demo cmd

* Move PostgreswithDHT to cmd

* Remove unstable features

* Add copyrights

* Move libp2pvalidator into p2pdendrite

* Rename dendrite-p2p-demo -> dendrite-demo-libp2p

* Update copyrights

* go mod tidy

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2020-04-14 16:15:59 +01:00
..
client-api-proxy Fix pipeline, emoji and syntax (#713) 2019-06-19 14:05:03 +01:00
create-account use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
create-room-events Further room version wiring (#936) 2020-03-27 16:28:22 +00:00
dendrite-appservice-server patch dendrite microservices with bind config (#795) 2019-10-02 10:29:27 +01:00
dendrite-client-api-server Rename the typing server to EDU server (#948) 2020-03-30 15:02:20 +01:00
dendrite-demo-libp2p WIP: Add libp2p-go (#956) 2020-04-14 16:15:59 +01:00
dendrite-edu-server Rename the typing server to EDU server (#948) 2020-03-30 15:02:20 +01:00
dendrite-federation-api-server Implement typing over federation (#949) 2020-03-30 16:40:28 +01:00
dendrite-federation-sender-server patch dendrite microservices with bind config (#795) 2019-10-02 10:29:27 +01:00
dendrite-media-api-server patch dendrite microservices with bind config (#795) 2019-10-02 10:29:27 +01:00
dendrite-monolith-server WIP: Add libp2p-go (#956) 2020-04-14 16:15:59 +01:00
dendrite-public-rooms-api-server WIP: Add libp2p-go (#956) 2020-04-14 16:15:59 +01:00
dendrite-room-server patch dendrite microservices with bind config (#795) 2019-10-02 10:29:27 +01:00
dendrite-sync-api-server CS API: Support for /messages, fixes for /sync (#847) 2020-01-23 17:51:10 +00:00
dendritejs WIP: Add libp2p-go (#956) 2020-04-14 16:15:59 +01:00
federation-api-proxy Fix pipeline, emoji and syntax (#713) 2019-06-19 14:05:03 +01:00
generate-keys use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
kafka-producer Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
mediaapi-integration-tests use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
roomserver-integration-tests use custom http client instead of the http DefaultClient (#823) 2020-04-03 11:40:50 +01:00
syncserver-integration-tests Implement gomatrixserverlib.HeaderedEvent in roomserver Kafka output (#914) 2020-03-17 11:01:25 +00:00