Documentation ¶
Index ¶
- func Init(name string, s types.RPCServer)
- type Grpc
- type Jrpc
- func (c *Jrpc) CreateRawTransaction(in *mixTy.CreateRawTxReq, result *interface{}) error
- func (c *Jrpc) CreateZkKeyFile(in *mixTy.CreateZkKeyFileReq, result *interface{}) error
- func (c *Jrpc) DecryptSecretData(in *mixTy.DecryptSecretData, result *json.RawMessage) error
- func (c *Jrpc) EnablePrivacy(in *types.ReqAddrs, result *json.RawMessage) error
- func (c *Jrpc) EncryptSecretData(in *mixTy.EncryptSecretData, result *json.RawMessage) error
- func (c *Jrpc) GetRescanStatus(in *types.ReqNil, result *json.RawMessage) error
- func (c *Jrpc) RescanNotes(in *types.ReqNil, result *json.RawMessage) error
- func (c *Jrpc) ShowAccountNoteInfo(in *mixTy.WalletMixIndexReq, result *json.RawMessage) error
- func (c *Jrpc) ShowAccountPrivacyInfo(in *mixTy.PaymentKeysReq, result *json.RawMessage) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Grpc ¶
type Grpc struct {
// contains filtered or unexported fields
}
Grpc grpc class
func (Grpc) EnablePrivacy ¶
func (g Grpc) EnablePrivacy(ctx context.Context, in *types.ReqAddrs) (*mixTy.ReqEnablePrivacyRst, error)
使能隐私账户
func (Grpc) GetRescanStatus ¶
type Jrpc ¶
type Jrpc struct {
// contains filtered or unexported fields
}
Jrpc json rpc class
func (*Jrpc) CreateRawTransaction ¶
func (c *Jrpc) CreateRawTransaction(in *mixTy.CreateRawTxReq, result *interface{}) error
func (*Jrpc) CreateZkKeyFile ¶
func (c *Jrpc) CreateZkKeyFile(in *mixTy.CreateZkKeyFileReq, result *interface{}) error
func (*Jrpc) DecryptSecretData ¶
func (c *Jrpc) DecryptSecretData(in *mixTy.DecryptSecretData, result *json.RawMessage) error
func (*Jrpc) EnablePrivacy ¶
EnablePrivacy enable privacy for json rpc
func (*Jrpc) EncryptSecretData ¶
func (c *Jrpc) EncryptSecretData(in *mixTy.EncryptSecretData, result *json.RawMessage) error
func (*Jrpc) GetRescanStatus ¶
func (*Jrpc) RescanNotes ¶
RescanUtxos rescan utxosl for json rpc
func (*Jrpc) ShowAccountNoteInfo ¶
func (c *Jrpc) ShowAccountNoteInfo(in *mixTy.WalletMixIndexReq, result *json.RawMessage) error
ShowPrivacyAccountSpend display spend privacy account for json rpc
func (*Jrpc) ShowAccountPrivacyInfo ¶
func (c *Jrpc) ShowAccountPrivacyInfo(in *mixTy.PaymentKeysReq, result *json.RawMessage) error
ShowPrivacyAccountInfo display privacy account information for json rpc
Click to show internal directories.
Click to hide internal directories.