mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 19:46:50 +00:00
Removing all default relays from gossip (were added in schema updates), at least until I can contact relay owners and get permission.
This commit is contained in:
parent
170c90d374
commit
cc917122a8
@ -76,17 +76,3 @@ INSERT INTO settings (key, value) values ('version', '1');
|
|||||||
INSERT INTO settings (key, value) values ('overlap', '600');
|
INSERT INTO settings (key, value) values ('overlap', '600');
|
||||||
INSERT INTO settings (key, value) values ('feed_chunk', '43200');
|
INSERT INTO settings (key, value) values ('feed_chunk', '43200');
|
||||||
INSERT INTO settings (key, value) values ('autofollow', '0');
|
INSERT INTO settings (key, value) values ('autofollow', '0');
|
||||||
|
|
||||||
INSERT OR IGNORE INTO relay (url) values
|
|
||||||
('wss://nostr-pub.wellorder.net'),
|
|
||||||
('wss://nostr.bitcoiner.social'),
|
|
||||||
('wss://nostr-relay.wlvs.space'),
|
|
||||||
('wss://nostr-pub.semisol.dev'),
|
|
||||||
('wss://relay.damus.io'),
|
|
||||||
('wss://nostr.openchain.fr'),
|
|
||||||
('wss://nostr.delo.software'),
|
|
||||||
('wss://relay.nostr.info'),
|
|
||||||
('wss://nostr.oxtr.dev'),
|
|
||||||
('wss://nostr.ono.re'),
|
|
||||||
('wss://relay.grunch.dev'),
|
|
||||||
('wss://nostr.sandwich.farm');
|
|
||||||
|
@ -1,7 +1 @@
|
|||||||
INSERT OR IGNORE INTO relay (url) values
|
-- This used to have code which has been removed.
|
||||||
('wss://nostr.fmt.wiz.biz'),
|
|
||||||
('wss://nostr.v0l.io'),
|
|
||||||
('wss://nostr.zebedee.cloud'),
|
|
||||||
('wss://nostr-2.zebedee.cloud'),
|
|
||||||
('wss://nostr.orangepill.dev'),
|
|
||||||
('wss://relay.nostr.bg');
|
|
||||||
|
@ -3,7 +3,7 @@ use crate::comms::ToOverlordMessage;
|
|||||||
use crate::db::DbRelay;
|
use crate::db::DbRelay;
|
||||||
use crate::globals::GLOBALS;
|
use crate::globals::GLOBALS;
|
||||||
use eframe::egui;
|
use eframe::egui;
|
||||||
use egui::{Align, Context, Layout, RichText, ScrollArea, TextEdit, TextStyle, Ui};
|
use egui::{Align, Context, Layout, RichText, ScrollArea, TextEdit, Ui};
|
||||||
use nostr_types::Url;
|
use nostr_types::Url;
|
||||||
|
|
||||||
pub(super) fn update(app: &mut GossipUi, _ctx: &Context, _frame: &mut eframe::Frame, ui: &mut Ui) {
|
pub(super) fn update(app: &mut GossipUi, _ctx: &Context, _frame: &mut eframe::Frame, ui: &mut Ui) {
|
||||||
@ -11,13 +11,6 @@ pub(super) fn update(app: &mut GossipUi, _ctx: &Context, _frame: &mut eframe::Fr
|
|||||||
ui.heading("Relays");
|
ui.heading("Relays");
|
||||||
ui.add_space(18.0);
|
ui.add_space(18.0);
|
||||||
|
|
||||||
ui.label(
|
|
||||||
RichText::new(
|
|
||||||
"Relays on this list were selected by the developer, but more relays will show up as they are automatically discovered in various kinds of events.",
|
|
||||||
)
|
|
||||||
.text_style(TextStyle::Body),
|
|
||||||
);
|
|
||||||
|
|
||||||
ui.horizontal(|ui| {
|
ui.horizontal(|ui| {
|
||||||
ui.label("Enter a new relay URL:");
|
ui.label("Enter a new relay URL:");
|
||||||
ui.add(TextEdit::singleline(&mut app.new_relay_url));
|
ui.add(TextEdit::singleline(&mut app.new_relay_url));
|
||||||
|
Loading…
Reference in New Issue
Block a user