Versions in this module Expand all Collapse all v0 v0.6.1 Oct 23, 2018 v0.6.0 Oct 16, 2018 Changes in this version + type NonceSignHandler struct + func NewSignHandler(key *ecdsa.PrivateKey) *NonceSignHandler + func (handler *NonceSignHandler) AddUncheckedNode(hostID id.ID, nonce []byte, ref core.RecordRef) + func (handler *NonceSignHandler) GetPrivateKey() *ecdsa.PrivateKey + func (handler *NonceSignHandler) SignNonce(nonce []byte) ([]byte, error) + func (handler *NonceSignHandler) SignedNonceIsCorrect(coordinator core.NetworkCoordinator, hostID id.ID, signedNonce []byte) bool + type SignHandler interface + AddUncheckedNode func(hostID id.ID, nonce []byte, ref core.RecordRef) + GetPrivateKey func() *ecdsa.PrivateKey + SignNonce func(nonce []byte) ([]byte, error) + SignedNonceIsCorrect func(coordinator core.NetworkCoordinator, hostID id.ID, signedNonce []byte) bool + type UncheckedNode struct + Nonce []byte + Ref core.RecordRef