File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -64,9 +64,15 @@ pub trait ClarityBackingStore {
64
64
fn put_all_data ( & mut self , items : Vec < ( String , String ) > ) -> Result < ( ) > ;
65
65
/// fetch K-V out of the committed datastore
66
66
fn get_data ( & mut self , key : & str ) -> Result < Option < String > > ;
67
+ /// fetch Hash(K)-V out of the commmitted datastore
68
+ fn get_data_from_path ( & mut self , hash : & TrieHash ) -> Result < Option < String > > ;
67
69
/// fetch K-V out of the committed datastore, along with the byte representation
68
70
/// of the Merkle proof for that key-value pair
69
71
fn get_data_with_proof ( & mut self , key : & str ) -> Result < Option < ( String , Vec < u8 > ) > > ;
72
+ fn get_data_with_proof_from_path (
73
+ & mut self ,
74
+ hash : & TrieHash ,
75
+ ) -> Result < Option < ( String , Vec < u8 > ) > > ;
70
76
fn has_entry ( & mut self , key : & str ) -> Result < bool > {
71
77
Ok ( self . get_data ( key) ?. is_some ( ) )
72
78
}
You can’t perform that action at this time.
0 commit comments