mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-15 21:02:03 +00:00
feat: add workload-authenticated result API
This commit is contained in:
@@ -79,6 +79,10 @@ type ResultReceipt struct {
|
||||
CommittedAt time.Time
|
||||
}
|
||||
|
||||
// ResultDigest exposes the canonical payload digest to transport adapters;
|
||||
// callers still need the domain validation and workload binding policy.
|
||||
func ResultDigest(result MatchResult) [32]byte { return resultDigest(result) }
|
||||
|
||||
type ResultStore struct {
|
||||
expected WorkloadBinding
|
||||
receipts map[string]ResultReceipt
|
||||
|
||||
Reference in New Issue
Block a user