Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetMyBlocksRequest ¶
type GetMyBlocksRequest struct { Version uint32 `monerobinkv:"version"` Params WalletChainInfoV1 `monerobinkv:"params"` }
type GetMyBlocksResponse ¶
type GetMyBlocksResponse struct { Status []byte `monerobinkv:"status"` Result WalletBlocksResult `monerobinkv:"result"` }
func (*GetMyBlocksResponse) SetStatus ¶
func (g *GetMyBlocksResponse) SetStatus(status string)
type SupportedVersionsResponse ¶
type SupportedVersionsResponse struct {
Versions []uint32 `monerobinkv:"supported_versions"`
}
type WalletBlockInfo ¶
type WalletBlockInfo struct { Hash []byte `monerobinkv:"hash"` Timestamp uint64 `monerobinkv:"timestamp"` Bce moneroproto.BlockCompleteEntry `monerobinkv:"block"` OutputIndices moneroproto.BlockOutputIndices `monerobinkv:"output_indices"` }
func (*WalletBlockInfo) SetOutputIndices ¶
func (w *WalletBlockInfo) SetOutputIndices(outs [][]uint64)
type WalletBlocksResult ¶
type WalletBlocksResult struct { StartHeight uint64 `monerobinkv:"start_height"` TotalHeight uint64 `monerobinkv:"total_height"` Blocks []WalletBlockInfo `monerobinkv:"blocks"` }
type WalletChainInfoV1 ¶
type WalletChainInfoV1 struct { Keys []WalletKeysInfo `monerobinkv:"keys"` ShortChain []byte `monerobinkv:"short_chain"` }
func (*WalletChainInfoV1) GetShortChain ¶
func (w *WalletChainInfoV1) GetShortChain() ([]moneroutil.Hash, error)
func (*WalletChainInfoV1) SetShortChain ¶
func (w *WalletChainInfoV1) SetShortChain(chain []moneroutil.Hash)
type WalletKeysInfo ¶
type WalletKeysInfo struct { ViewSecretKey []byte `monerobinkv:"view_secret_key"` SpendPublicKey []byte `monerobinkv:"spend_public_key"` CreatedAt uint64 `monerobinkv:"created_at"` }
func (*WalletKeysInfo) GetWalletKeys ¶
func (w *WalletKeysInfo) GetWalletKeys() (utils.WalletKeys, error)
func (*WalletKeysInfo) SetWalletKeys ¶
func (w *WalletKeysInfo) SetWalletKeys(keys utils.WalletKeys)
Click to show internal directories.
Click to hide internal directories.