MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / validateLineageProvider

Method validateLineageProvider

lineage.go:201–224  ·  view source on GitHub ↗

validateLineageProvider checks if the specified provider exists on the source balance. If the source tracks fund lineage but doesn't have the specified provider, returns empty string (provider should be ignored). If the source doesn't track lineage (e.g., @world), any provider is valid. Parameters:

(ctx context.Context, provider string, sourceBalance *model.Balance)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

processLineageMethod · 0.95

Calls 1

Tested by 1