|
Nostrduino
|
#include <NostrEvent.h>
Public Member Functions | |
| SignedNostrEvent () | |
| bool | isValid () const |
| NostrString | getId () const |
| bool | isStored () const |
| NostrString | getPubkey () const |
| const NostrEventTags * | getTags () const |
| NostrString | getSignature () const |
| NostrString | getSubId () const |
| void | toSendableEvent (JsonArray doc) const |
| void | toJson (JsonObject doc) const |
| bool | verify () const |
Public Member Functions inherited from nostr::NostrEvent | |
| NostrEvent () | |
| virtual | ~NostrEvent () |
| unsigned long int | getCreatedAt () const |
| unsigned int | getKind () const |
| NostrEventTags * | getTags () |
| const NostrEventTags * | getTags () const |
| NostrString | getContent () const |
Static Public Member Functions | |
| static bool | parseRelayFrame (JsonArrayConst relayEvent, SignedNostrEvent &out, const NostrLimits &limits=NostrLimits()) |
Protected Member Functions | |
| SignedNostrEvent (NostrString id, NostrString pubkey, unsigned long int created_at, unsigned int kind, NostrEventTags tags, NostrString content, NostrString signature) | |
Protected Member Functions inherited from nostr::NostrEvent | |
| NostrEvent (unsigned int kind, NostrEventTags tags, NostrString content, unsigned long int created_at) | |
Friends | |
| class | UnsignedNostrEvent |
| class | NostrPool |
Additional Inherited Members | |
Protected Attributes inherited from nostr::NostrEvent | |
| unsigned int | kind |
| NostrEventTags | tags |
| NostrString | content |
| unsigned long int | created_at |
A signed NostrEvent as it is received by the client and sent to the relay.
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
| void SignedNostrEvent::toJson | ( | JsonObject | doc | ) | const |
| bool SignedNostrEvent::verify | ( | ) | const |
|
friend |