mirror of
https://github.com/mikedilger/gossip.git
synced 2024-10-01 09:21:53 +00:00
Fix some typos
This commit is contained in:
parent
d9d0bf2c7a
commit
1065566b29
@ -103,7 +103,7 @@ If you don't already have rust installed, follow the guidance at [rust-lang.org]
|
|||||||
|
|
||||||
### Step 2 - Install some dependencies
|
### Step 2 - Install some dependencies
|
||||||
|
|
||||||
Most dependencies are probably already installed in your base operating system. Here are a few that sometimes arent:
|
Most dependencies are probably already installed in your base operating system. Here are a few that sometimes aren't:
|
||||||
|
|
||||||
- build essentials like gcc and make (debian: "build-essential")
|
- build essentials like gcc and make (debian: "build-essential")
|
||||||
- cmake (debian: "cmake")
|
- cmake (debian: "cmake")
|
||||||
|
@ -6,7 +6,7 @@ BIN=./target/release/gossip
|
|||||||
# This uses ldd to get it's dependencies into a list
|
# This uses ldd to get it's dependencies into a list
|
||||||
DEPS=$(pacman -F $(ldd "$BIN" | awk '{print $3}') | awk '{print $5}' | awk -F/ '{print $2}' | tr " " "\n" | sort -u | tr "\n" " ")
|
DEPS=$(pacman -F $(ldd "$BIN" | awk '{print $3}') | awk '{print $5}' | awk -F/ '{print $2}' | tr " " "\n" | sort -u | tr "\n" " ")
|
||||||
|
|
||||||
# This array will amass dependencies that we wont need to install because they
|
# This array will amass dependencies that we won't need to install because they
|
||||||
# will be pulled in by other dependenices
|
# will be pulled in by other dependenices
|
||||||
TODELETE=
|
TODELETE=
|
||||||
|
|
||||||
|
@ -320,7 +320,7 @@ impl Minion {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Subtract overlap to avoid gaps due to clock sync and event
|
// Subtract overlap to avoid gaps due to clock sync and event
|
||||||
// propogation delay
|
// propagation delay
|
||||||
replies_since = replies_since - overlap;
|
replies_since = replies_since - overlap;
|
||||||
|
|
||||||
// Some relays don't like dates before 1970. Hell, we don't need anything before 2020:
|
// Some relays don't like dates before 1970. Hell, we don't need anything before 2020:
|
||||||
@ -578,7 +578,7 @@ impl Minion {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Subtract overlap to avoid gaps due to clock sync and event
|
// Subtract overlap to avoid gaps due to clock sync and event
|
||||||
// propogation delay
|
// propagation delay
|
||||||
special_since -= overlap as i64;
|
special_since -= overlap as i64;
|
||||||
|
|
||||||
// Some relays don't like dates before 1970. Hell, we don't need anything before 2020:a
|
// Some relays don't like dates before 1970. Hell, we don't need anything before 2020:a
|
||||||
|
@ -793,7 +793,7 @@ impl Overlord {
|
|||||||
add_event_to_tags(&mut tags, reply_to, "root").await;
|
add_event_to_tags(&mut tags, reply_to, "root").await;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Possibly propogate a subject tag
|
// Possibly propagate a subject tag
|
||||||
for tag in &event.tags {
|
for tag in &event.tags {
|
||||||
if let Tag::Subject(subject) = tag {
|
if let Tag::Subject(subject) = tag {
|
||||||
let mut subject = subject.to_owned();
|
let mut subject = subject.to_owned();
|
||||||
|
@ -269,7 +269,7 @@ pub async fn process_new_event(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Follow all those pubkeys, and unfollow everbody else if merge=false
|
// Follow all those pubkeys, and unfollow everybody else if merge=false
|
||||||
// (and the date is used to ignore if the data is outdated)
|
// (and the date is used to ignore if the data is outdated)
|
||||||
GLOBALS
|
GLOBALS
|
||||||
.people
|
.people
|
||||||
|
@ -123,7 +123,7 @@ pub(super) fn update(app: &mut GossipUi, ctx: &Context, _frame: &mut eframe::Fra
|
|||||||
ui.horizontal_wrapped(|ui| {
|
ui.horizontal_wrapped(|ui| {
|
||||||
ui.label("Gossip follows people at whichever relays they post to,");
|
ui.label("Gossip follows people at whichever relays they post to,");
|
||||||
ui.label(RichText::new("not").strong());
|
ui.label(RichText::new("not").strong());
|
||||||
ui.label("some list of relays you choose to read from. This is a core concept. As the nostr network expands, it will be increasingly unlikely that the person you want to follow posts to the same relays that you do. And it will become increasingly untenable for event mirroring to be occuring on all those relays. Most clients will eventually need to work this way, except for clients that intend to be bound to a local community of relays.");
|
ui.label("some list of relays you choose to read from. This is a core concept. As the nostr network expands, it will be increasingly unlikely that the person you want to follow posts to the same relays that you do. And it will become increasingly untenable for event mirroring to be occurring on all those relays. Most clients will eventually need to work this way, except for clients that intend to be bound to a local community of relays.");
|
||||||
});
|
});
|
||||||
|
|
||||||
ui.add_space(10.0);
|
ui.add_space(10.0);
|
||||||
|
@ -13,7 +13,7 @@ pub(super) fn update(app: &mut GossipUi, _ctx: &Context, _frame: &mut eframe::Fr
|
|||||||
ui.label("NOTICE: Gossip doesn't update the filters when you follow someone yet, so you have to restart the client to fetch their events. Will fix soon.
|
ui.label("NOTICE: Gossip doesn't update the filters when you follow someone yet, so you have to restart the client to fetch their events. Will fix soon.
|
||||||
");
|
");
|
||||||
|
|
||||||
ui.label("NOTICE: use CTRL-V to paste (middle/right click wont work)");
|
ui.label("NOTICE: use CTRL-V to paste (middle/right click won't work)");
|
||||||
|
|
||||||
ui.add_space(10.0);
|
ui.add_space(10.0);
|
||||||
ui.separator();
|
ui.separator();
|
||||||
|
Loading…
Reference in New Issue
Block a user