You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extend vef_type_desc_t (protocol 2) with encode/decode/compare/hash_vdf_name
fields so extensions can name a registered VDF as the implementation of each
type operation instead of providing a raw function pointer.
Server-side: resolve VDF names at extension registration, validate signatures
(including rejecting prerun/postrun hooks), and encapsulate fn-ptr vs VDF
dispatch in new EncodeOp/DecodeOp/CompareOp/HashOp wrapper classes.
These wrappers are registered in the TypeDescriptor; all call sites use
invoke() which hide the protocol differences
SDK: add overloaded .encode()/.decode()/.compare()/.hash() builder
methods, that take the VDF. Convert vsql-complex and vsql-tvector
examples to the new style.
0 commit comments