Versions in this module Expand all Collapse all v1 v1.137.2 Nov 5, 2024 v1.137.1 Oct 24, 2024 Changes in this version + type FileStateMgr struct + func NewFileStateMgr(folder string) (*FileStateMgr, error) + func (fsm *FileStateMgr) GetLocalState(pubKey string) (KeygenLocalState, error) + func (fsm *FileStateMgr) RetrieveP2PAddresses() (addr.AddrList, error) + func (fsm *FileStateMgr) SaveAddressBook(address map[peer.ID]addr.AddrList) error + func (fsm *FileStateMgr) SaveLocalState(state KeygenLocalState) error + type KeygenLocalState struct + LocalData keygen.LocalPartySaveData + LocalPartyKey string + ParticipantKeys []string + PubKey string + type LocalStateManager interface + GetLocalState func(pubKey string) (KeygenLocalState, error) + RetrieveP2PAddresses func() (addr.AddrList, error) + SaveAddressBook func(addressBook map[peer.ID]addr.AddrList) error + SaveLocalState func(state KeygenLocalState) error + type MockLocalStateManager struct + func (s *MockLocalStateManager) GetLocalState(pubKey string) (KeygenLocalState, error) + func (s *MockLocalStateManager) RetrieveP2PAddresses() (addr.AddrList, error) + func (s *MockLocalStateManager) SaveAddressBook(address map[peer.ID]addr.AddrList) error + func (s *MockLocalStateManager) SaveLocalState(state KeygenLocalState) error