mcl_core_ownership_proof_replay (mcl_core v1.0.0)
View SourceThe nonces of ownership proofs this node accepted in the last two minutes, so an identical proof is accepted once (mcl_core_ownership_proof).
Every inbound CALL runs in its own macula_response child, so the table belongs to this supervised process: a public named ETS table created at boot. record/2 is one ets:insert_new/2, atomic, so two concurrent copies of one proof cannot both pass. A sweep every 30 s drops entries older than twice the 60 s proof skew.
Summary
Functions
true the first time {Identity, Nonce} is recorded, false on every later attempt.
Start the cache, registered under its module name.