Create a new history entry with minimal information. # Arguments `sequence` - The sequence number in the view log `node_id` - The internal node ID `hash` - The content hash of the change `state` - The Merkle state after this change # Returns A new `HistoryEntry` with no header loaded.
(sequence: u64, node_id: NodeId, hash: Hash, state: Merkle)
| 110 | /// |
| 111 | /// A new `HistoryEntry` with no header loaded. |
| 112 | pub fn new(sequence: u64, node_id: NodeId, hash: Hash, state: Merkle) -> Self { |
| 113 | Self { |
| 114 | sequence, |
| 115 | node_id, |
| 116 | hash, |
| 117 | state, |
| 118 | header: None, |
| 119 | is_tagged: false, |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | /// Create a history entry with full metadata. |
| 124 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected