Expand description
Plain DataUpdate payload struct.
Field order and types match the on-chain SubmitDataUpdateArgs instruction argument so a
mechanical field copy converts between the two. With the borsh feature enabled the byte
layout also matches the 129-byte anchor borsh layout, but the crate does not rely on that.
The signed message commits to the feed value as keccak256(raw_value) plus its byte length
rather than carrying those fields in the wire payload. The raw bytes travel alongside and are
hashed into the message during verification (crate::message::compute_message_hash).
Structsยง
- Data
Update - A signed Molpha data update.