Note multicasting
This is an initial implementation of note multicast, which sends posted notes to other notedecks on the same network. This came about after I nerd sniped myself thinking about p2p nostr on local networks[1] You can test this exclusively without joining any other relays by passing -r multicast on the command line. [1] https://damus.io/note1j50pseqwma38g3aqrsnhvld0m0ysdgppw6fjnvvcj0haeulgswgq80lpca Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -7,7 +7,7 @@ mod profile;
|
||||
mod pubkey;
|
||||
mod relay;
|
||||
|
||||
pub use client::ClientMessage;
|
||||
pub use client::{ClientMessage, EventClientMessage};
|
||||
pub use error::Error;
|
||||
pub use ewebsock;
|
||||
pub use filter::Filter;
|
||||
@@ -17,7 +17,7 @@ pub use note::{Note, NoteId};
|
||||
pub use profile::Profile;
|
||||
pub use pubkey::Pubkey;
|
||||
pub use relay::message::{RelayEvent, RelayMessage};
|
||||
pub use relay::pool::{PoolEvent, RelayPool};
|
||||
pub use relay::pool::{PoolEvent, PoolRelay, RelayPool};
|
||||
pub use relay::{Relay, RelayStatus};
|
||||
|
||||
pub type Result<T> = std::result::Result<T, error::Error>;
|
||||
|
||||
Reference in New Issue
Block a user