MCPcopy Create free account
hub / github.com/rsc/tmp / Prove

Method Prove

mpt/tree.go:59–59  ·  view source on GitHub ↗

Prove looks up key in the tree and returns a proof either of key's value or that key is not present. Use [Verify] to retrieve the lookup result. Prove is a read-only operation and can be called concurrently with other calls to Prove, but not other calls to Set or Snap. It is an error to call Prove

(key Key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getMethod · 0.65
benchmarkProofFunction · 0.65

Implementers 2

diskTreempt/disk.go
memTreempt/mem.go

Calls

no outgoing calls

Tested by 2

getMethod · 0.52
benchmarkProofFunction · 0.52