The signature signs the whole object (minus the signature of course). Let me quote NIP-01:
> "sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>
The signature signs the whole object (minus the signature of course). Let me quote NIP-01:
> "sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>
https://github.com/0xtlt/nostr_rust/blob/main/src/events.rs#L127
https://github.com/scsibug/nostr-rs-relay/blob/master/src/event.rs#L359
What's your point? They are all signing the hash of the serialized event data (the whole object basically)