Versions in this module Expand all Collapse all v4 v4.0.0 Sep 16, 2020 Changes in this version + func CancelTx(txID *uint32, txSlateID *uuid.UUID) error + func FinalizeTx(slateIn libwallet.Slate) (*libwallet.Slate, error) + func InitSendTx(initTxArgs libwallet.InitTxArgs) (*libwallet.Slate, error) + func NodeHeight() (*libwallet.NodeHeightResult, error) + func PostTx(tx core.Transaction, fluff bool) error + func RetrieveOutputs(includeSpent, refreshFromNode bool, txID *uint32) (bool, *[]libwallet.OutputCommitMapping, error) + func RetrieveSummaryInfo(refreshFromNode bool, minimumConfirmations uint64) (bool, *libwallet.WalletInfo, error) + func RetrieveTxs(refreshFromNode bool, txID *uint32, txSlateID *uuid.UUID) (bool, *[]libwallet.TxLogEntry, error) + func TxLockOutputs(slate *libwallet.Slate, participantID uint) error + type EncryptedData struct + BodyEnc string + Nonce string + type Envelope struct + Error *rpcError + ID JSONRPCID + Method string + Params json.RawMessage + Result json.RawMessage + Version JSONRPCV2Version + type JSONRPCID string + func (e JSONRPCID) MarshalJSON() ([]byte, error) + type JSONRPCV2Version string + func (e JSONRPCV2Version) MarshalJSON() ([]byte, error) + type NodeAPI struct + URL string + func (nodeAPI *NodeAPI) GetBlockByHash(blockHash string) (*api.BlockPrintable, error) + func (nodeAPI *NodeAPI) GetBlockByHeight(height uint64) (*api.BlockPrintable, error) + func (nodeAPI *NodeAPI) GetBlockReward(blockHash string) (uint64, error) + func (nodeAPI *NodeAPI) GetStatus() (*api.Status, error) + type RPCHTTPClient struct + URL string + func (c *RPCHTTPClient) EncryptedRequest(method string, params json.RawMessage, sharedSecret []byte) (*Envelope, error) + func (c *RPCHTTPClient) Request(method string, params json.RawMessage) (*Envelope, error) + type Result struct + Err json.RawMessage + Ok json.RawMessage + type SecureOwnerAPI struct + PublicKey btcec.PublicKey + ServerPublicKey *btcec.PublicKey + func NewSecureOwnerAPI(url string) *SecureOwnerAPI + func (owner *SecureOwnerAPI) Accounts() (*[]libwallet.AccountPathMapping, error) + func (owner *SecureOwnerAPI) CancelTx(txID *uint32, txSlateID *uuid.UUID) error + func (owner *SecureOwnerAPI) Close(name *string) error + func (owner *SecureOwnerAPI) CloseWallet(name *string) error + func (owner *SecureOwnerAPI) CreateSlatepackMessage(derivationIndex uint32, slate slateversions.SlateV4, senderIndex *uint32, ...) (*string, error) + func (owner *SecureOwnerAPI) DecodeSlatepackMessage(message string, secretIndices []uint32) (*slatepack.Slatepack, error) + func (owner *SecureOwnerAPI) FinalizeTx(slateIn slateversions.SlateV4) (*slateversions.SlateV4, error) + func (owner *SecureOwnerAPI) GetSlatepackAddress(derivationIndex uint32) (*string, error) + func (owner *SecureOwnerAPI) GetSlatepackSecretKey(derivationIndex uint32) (*string, error) + func (owner *SecureOwnerAPI) GetStoredTx(id *uint32, slateID *uuid.UUID) (*slateversions.SlateV4, error) + func (owner *SecureOwnerAPI) Init() error + func (owner *SecureOwnerAPI) InitSecureAPI(pubKey []byte) (string, error) + func (owner *SecureOwnerAPI) InitSendTx(initTxArgs libwallet.InitTxArgs) (*slateversions.SlateV4, error) + func (owner *SecureOwnerAPI) NodeHeight() (*libwallet.NodeHeightResult, error) + func (owner *SecureOwnerAPI) Open(name *string, password string) error + func (owner *SecureOwnerAPI) OpenWallet(name *string, password string) (string, error) + func (owner *SecureOwnerAPI) PostTx(slate slateversions.SlateV4, fluff bool) error + func (owner *SecureOwnerAPI) RetrieveOutputs(includeSpent, refreshFromNode bool, txID *uint32) (bool, *[]libwallet.OutputCommitMapping, error) + func (owner *SecureOwnerAPI) RetrieveSummaryInfo(refreshFromNode bool, minimumConfirmations uint64) (bool, *libwallet.WalletInfo, error) + func (owner *SecureOwnerAPI) RetrieveTxs(refreshFromNode bool, txID *uint32, txSlateID *uuid.UUID) (bool, *[]libwallet.TxLogEntry, error) + func (owner *SecureOwnerAPI) SetTorConfig(torConfig libwallet.TorConfig) error + func (owner *SecureOwnerAPI) SlateFromSlatepackMessage(message string, secretIndices []uint32) (*slateversions.SlateV4, error) + func (owner *SecureOwnerAPI) TxLockOutputs(slate slateversions.SlateV4) error Other modules containing this package github.com/blockcypher/libgrin/v5