feat: upgrade to zerokit 0.3.4

This commit is contained in:
Richard Ramos 2023-09-14 19:08:28 -04:00
parent 05f4cda614
commit d9528d416c
No known key found for this signature in database
GPG Key ID: 1CE87DB518195760
9 changed files with 8 additions and 2 deletions

Binary file not shown.

View File

@ -42,6 +42,8 @@ bool set_leaf(struct RLN *ctx, uintptr_t index, const struct Buffer *input_buffe
bool get_leaf(struct RLN *ctx, uintptr_t index, struct Buffer *output_buffer);
uintptr_t leaves_set(struct RLN *ctx);
bool set_next_leaf(struct RLN *ctx, const struct Buffer *input_buffer);
bool set_leaves_from(struct RLN *ctx, uintptr_t index, const struct Buffer *input_buffer);

View File

@ -244,3 +244,7 @@ func (r *RLN) GetLeaf(index uint) ([]byte, error) {
return C.GoBytes(unsafe.Pointer(out.ptr), C.int(out.len)), nil
}
func (r *RLN) LeavesSet() uint {
return uint(C.leaves_set(r.ptr))
}

@ -1 +1 @@
Subproject commit b51896c3a710f567fc7e054681767d6547a8eb9b
Subproject commit b903d8d740e0b8b82057bcc5377ddce05ae5676b