Radix Relay
Hybrid mesh communications with Signal Protocol encryption
Loading...
Searching...
No Matches
radix_relay::nostr Namespace Reference

Namespaces

namespace  events
 
namespace  protocol
 

Classes

struct  discovered_bundle
 Information about a discovered prekey bundle. More...
 
class  message_handler
 Handles processing of incoming and outgoing Nostr messages. More...
 
struct  publish_bundle_result
 Result of publishing a bundle to Nostr. More...
 
class  request_tracker
 Tracks pending Nostr requests and matches them with responses. More...
 
struct  session_orchestrator
 Orchestrates Nostr sessions, message handling, and bundle management. More...
 
struct  transport
 Nostr WebSocket transport layer. More...
 

Functions

auto extract_version_from_tags (const std::vector< std::vector< std::string > > &tags) -> std::optional< std::string >
 Extracts Radix protocol version from Nostr event tags.
 

Function Documentation

◆ extract_version_from_tags()

auto radix_relay::nostr::extract_version_from_tags ( const std::vector< std::vector< std::string > > &  tags) -> std::optional<std::string>
inline

Extracts Radix protocol version from Nostr event tags.

Parameters
tagsEvent tags array
Returns
Version string if "radix_version" tag found, std::nullopt otherwise

Definition at line 16 of file semver_utils.hpp.

Referenced by radix_relay::nostr::message_handler< Bridge >::handle().