Module aptos_types::write_set
source · [−]Expand description
For each transaction the VM executes, the VM will output a WriteSet that contains each access
path it updates. For each access path, the VM can either give its new value or delete it. For
aggregator, delta updates are used (note: this is a temporary solution and ideally we should
modify ChangeSet and TransactionOutput to keep deltas internal to executor).
Structs
WriteSet contains all access paths that one transaction modifies. Each of them is a WriteOp
where Value(val) means that serialized representation should be updated to val, and
Deletion means that we are going to delete this access path.
Cryptographic hasher for an BCS-serializable #item
A mutable version of WriteSet.
Enums
Specifies partial function such as +X or -X to use with WriteOp::Delta.