// New returns a new resolution verifier.
New returns a new resolution verifier.
// New returns a new resolution verifier .
func New(namespace string, opts ...Option) (*ResolutionVerifier, error) {
	opStore := &noopOperationStore{}
	rv := &ResolutionVerifier{
		namespace: namespace,
	}
	for _, opt := range opts {
		opt(rv)
	}
	pc, err := getProtocolClient(namespace, rv.anchorOrigins, rv.methodContexts, rv.enableBase)
	if err != nil {
		return nil, fmt.Errorf("failed to create protocol client provider: %w", err)
	}
	rv.protocol = pc
	rv.processor = processor.New(namespace, opStore, pc)
	return rv, nil
}
func New ( namespace string , opts ... Option ) ( * ResolutionVerifier , error ) { opStore := & noopOperationStore { } rv := & ResolutionVerifier { namespace : namespace , } for _ , opt := range opts { opt ( rv ) } pc , err := getProtocolClient ( namespace , rv . anchorOrigins , rv . methodContexts , rv . enableBase ) if err != nil { return nil , fmt . Errorf ( " " , err ) } rv . protocol = pc rv . processor = processor . New ( namespace , opStore , pc ) return rv , nil }
New returns a new resolution verifier.
New returns a new resolution verifier .
// apply options