Versions in this module Expand all Collapse all v0 v0.1.1 Feb 9, 2023 v0.1.0 Nov 25, 2022 Changes in this version + func EncodePrepareInfo(exportedMultiSigInfo string) (string, error) + func GetNodePrivateKey(encodedKey string) (tcrypto.PrivKey, error) + type MockWalletAccessor struct + func (m *MockWalletAccessor) CheckTransaction(req *wallet.RequestCheckTransaction) (*wallet.ResponseCheckTransaction, error) + func (m *MockWalletAccessor) CheckTxProof(req *wallet.RequestCheckTxProof) (*wallet.ResponseCheckTxProof, error) + func (m *MockWalletAccessor) CreateWallet(req *wallet.RequestCreateWallet) error + func (m *MockWalletAccessor) ExchangeMultiSigKeys(req *wallet.RequestExchangeMultisigKeys) (*wallet.ResponseExchangeMultisig, error) + func (m *MockWalletAccessor) ExportMultisigInfo() (*wallet.ResponseExportMultisigInfo, error) + func (m *MockWalletAccessor) GetAddress(req *wallet.RequestGetAddress) (*wallet.ResponseGetAddress, error) + func (m *MockWalletAccessor) GetBalance(req *wallet.RequestGetBalance) (*wallet.ResponseGetBalance, error) + func (m *MockWalletAccessor) GetTxProof(req *wallet.RequestGetTxProof) (*wallet.ResponseGetTxProof, error) + func (m *MockWalletAccessor) ImportMultisigInfo(req *wallet.RequestImportMultisigInfo) (*wallet.ResponseImportMultisigInfo, error) + func (m *MockWalletAccessor) IsMultisig() (*wallet.ResponseIsMultisig, error) + func (m *MockWalletAccessor) MakeMultisig(req *wallet.RequestMakeMultisig) (*wallet.ResponseMakeMultisig, error) + func (m *MockWalletAccessor) OpenWallet(req *wallet.RequestOpenWallet) error + func (m *MockWalletAccessor) PrepareMultisig() (*wallet.ResponsePrepareMultisig, error) + func (m *MockWalletAccessor) Refresh(req *wallet.RequestRefresh) (*wallet.ResponseRefresh, error) + func (m *MockWalletAccessor) SignMultisig(req *wallet.RequestSignMultisig) (*wallet.ResponseSignMultisig, error) + func (m *MockWalletAccessor) SubmitMultisig(req *wallet.RequestSubmitMultisig) (*wallet.ResponseSubmitMultisig, error) + func (m *MockWalletAccessor) Transfer(req *wallet.RequestTransfer) (*wallet.ResponseTransfer, error) + type MoneroPrepareMsg struct + ExchangeInfo string + func DecodePrepareInfo(in string) (MoneroPrepareMsg, error) + type MoneroSharesStore struct + func GenMoneroShareStore() *MoneroSharesStore + func (ms *MoneroSharesStore) StoreAndCheck(round int, share *common.MoneroShare, checkLength int) ([]*common.MoneroShare, bool) + type WalletAccessor interface + CheckTransaction func(req *wallet.RequestCheckTransaction) (*wallet.ResponseCheckTransaction, error) + CheckTxProof func(*wallet.RequestCheckTxProof) (*wallet.ResponseCheckTxProof, error) + CreateWallet func(*wallet.RequestCreateWallet) error + ExchangeMultiSigKeys func(*wallet.RequestExchangeMultisigKeys) (*wallet.ResponseExchangeMultisig, error) + ExportMultisigInfo func() (*wallet.ResponseExportMultisigInfo, error) + GetAddress func(*wallet.RequestGetAddress) (*wallet.ResponseGetAddress, error) + GetBalance func(*wallet.RequestGetBalance) (*wallet.ResponseGetBalance, error) + GetTxProof func(*wallet.RequestGetTxProof) (*wallet.ResponseGetTxProof, error) + ImportMultisigInfo func(*wallet.RequestImportMultisigInfo) (*wallet.ResponseImportMultisigInfo, error) + IsMultisig func() (*wallet.ResponseIsMultisig, error) + MakeMultisig func(*wallet.RequestMakeMultisig) (*wallet.ResponseMakeMultisig, error) + OpenWallet func(*wallet.RequestOpenWallet) error + PrepareMultisig func() (*wallet.ResponsePrepareMultisig, error) + Refresh func(*wallet.RequestRefresh) (*wallet.ResponseRefresh, error) + SignMultisig func(req *wallet.RequestSignMultisig) (*wallet.ResponseSignMultisig, error) + SubmitMultisig func(*wallet.RequestSubmitMultisig) (*wallet.ResponseSubmitMultisig, error) + Transfer func(*wallet.RequestTransfer) (*wallet.ResponseTransfer, error) + func DefaultWalletAccessorCreator(rpc string) WalletAccessor + type WalletAccessorCreator func(rpc string) WalletAccessor