Kcl.State.new_peer
You're seeing just the function
new_peer
, go back to Kcl.State module for more information.
Specs
update the state for a new peer
The shared secret is computed from the state and new peer public key.
The previous_nonce value is also reset to 0
.