Channel's derived Identity (holds the private key used to EC-encrypt).
LXMF message to wrap. content/fields
are read here; addressing is overwritten per the spec.
Sender's Identity (signs the LXMF message and supplies the prelude public key).
Sender's lxmf.delivery
destination hash (16 bytes) — the LXMF source_hash.
OptionalstampCost?: number | nullrfed PoW cost. null or 0
disables stamping (no stamp appended); any positive value appends a real
32-byte stamp.
Wraps an LXMF message into a rfed channel SEND payload.
The LXMF message is serialised (signed by
senderIdentity), the RTID prelude + sender public key are prepended to the LXMF tail, the whole thing is EC-encrypted to the channel identity, and the channel hash + optional PoW stamp are framed around it.lxmMessage.sourceHash/destinationHashare forced to the correctlxmf.deliveryhashes (sender and channel respectively) so the classic "source_hash is the identity hash" bug cannot occur.