This commit is contained in:
Rostyslav Tyshko 2025-05-30 15:23:55 -04:00
parent 9b8ddb0580
commit a9f8dff7e9

View File

@ -69,6 +69,9 @@ impl NodeBlockStore {
Ok(serde_json::from_slice(&self.dbio.get_snapshot_commitment()?)?) Ok(serde_json::from_slice(&self.dbio.get_snapshot_commitment()?)?)
} }
pub fn get_snapshot_nullifier(&self) -> Result<HashSet<UTXONullifier>> {
Ok(serde_json::from_slice(&self.dbio.get_snapshot_nullifier()?)?)
}
pub fn get_snapshot_transaction(&self) -> Result<HashStorageMerkleTree<Transaction>> { pub fn get_snapshot_transaction(&self) -> Result<HashStorageMerkleTree<Transaction>> {
Ok(serde_json::from_slice(&self.dbio.get_snapshot_transaction()?)?) Ok(serde_json::from_slice(&self.dbio.get_snapshot_transaction()?)?)