forked from TrueCloudLab/neoneo-go
rpc/client: fix some comments
This commit is contained in:
parent
20d477cbd8
commit
19397ec4a8
1 changed files with 6 additions and 3 deletions
|
@ -42,15 +42,18 @@ type Client struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Options defines options for the RPC client.
|
// Options defines options for the RPC client.
|
||||||
// All Values are optional. If any duration is not specified
|
// All values are optional. If any duration is not specified
|
||||||
// a default of 3 seconds will be used.
|
// a default of 4 seconds will be used.
|
||||||
type Options struct {
|
type Options struct {
|
||||||
// Balancer is an implementation of request.BalanceGetter interface,
|
// Balancer is an implementation of request.BalanceGetter interface,
|
||||||
// if not set then the default Client's implementation will be used, but
|
// if not set then the default Client's implementation will be used, but
|
||||||
// it relies on server support for `getunspents` RPC call which is
|
// it relies on server support for `getunspents` RPC call which is
|
||||||
// standard for neo-go, but only implemented as a plugin for C# node. So
|
// standard for neo-go, but only implemented as a plugin for C# node. So
|
||||||
// you can override it here to use NeoScanServer for example.
|
// you can override it here to use NeoScanServer for example.
|
||||||
Balancer request.BalanceGetter
|
Balancer request.BalanceGetter
|
||||||
|
|
||||||
|
// Cert is a client-side certificate, it doesn't work at the moment along
|
||||||
|
// with the other two options below.
|
||||||
Cert string
|
Cert string
|
||||||
Key string
|
Key string
|
||||||
CACert string
|
CACert string
|
||||||
|
|
Loading…
Add table
Reference in a new issue