forked from TrueCloudLab/frostfs-node
[#1320] English Check
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
This commit is contained in:
parent
d99800ee93
commit
cc7a723d77
182 changed files with 802 additions and 802 deletions
|
@ -398,7 +398,7 @@ func (c *Client) TxHeight(h util.Uint256) (res uint32, err error) {
|
|||
}
|
||||
|
||||
// NeoFSAlphabetList returns keys that stored in NeoFS Alphabet role. Main chain
|
||||
// stores alphabet node keys of inner ring there, however side chain stores both
|
||||
// stores alphabet node keys of inner ring there, however the sidechain stores both
|
||||
// alphabet and non alphabet node keys of inner ring.
|
||||
func (c *Client) NeoFSAlphabetList() (res keys.PublicKeys, err error) {
|
||||
c.switchLock.RLock()
|
||||
|
|
|
@ -24,7 +24,7 @@ func (x *commonBindArgs) SetScriptHash(v []byte) {
|
|||
x.scriptHash = v
|
||||
}
|
||||
|
||||
// SetKeys sets list of public keys in a binary format.
|
||||
// SetKeys sets a list of public keys in a binary format.
|
||||
func (x *commonBindArgs) SetKeys(v [][]byte) {
|
||||
x.keys = v
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ func (x *CommonBindPrm) SetOwnerID(v []byte) {
|
|||
x.ownerID = v
|
||||
}
|
||||
|
||||
// SetKeys sets list of public keys in a binary format.
|
||||
// SetKeys sets a list of public keys in a binary format.
|
||||
func (x *CommonBindPrm) SetKeys(v [][]byte) {
|
||||
x.keys = v
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
nnsContractID = 1 // NNS contract must be deployed first in side chain
|
||||
nnsContractID = 1 // NNS contract must be deployed first in the sidechain
|
||||
|
||||
// NNSAuditContractName is a name of the audit contract in NNS.
|
||||
NNSAuditContractName = "audit.neofs"
|
||||
|
|
|
@ -229,7 +229,7 @@ type UpdateNotaryListPrm struct {
|
|||
hash util.Uint256
|
||||
}
|
||||
|
||||
// SetList sets list of the new notary role keys.
|
||||
// SetList sets a list of the new notary role keys.
|
||||
func (u *UpdateNotaryListPrm) SetList(list keys.PublicKeys) {
|
||||
u.list = list
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ type UpdateAlphabetListPrm struct {
|
|||
hash util.Uint256
|
||||
}
|
||||
|
||||
// SetList sets list of the new alphabet role keys.
|
||||
// SetList sets a list of the new alphabet role keys.
|
||||
func (u *UpdateAlphabetListPrm) SetList(list keys.PublicKeys) {
|
||||
u.list = list
|
||||
}
|
||||
|
@ -288,7 +288,7 @@ func (u *UpdateAlphabetListPrm) SetHash(hash util.Uint256) {
|
|||
}
|
||||
|
||||
// UpdateNeoFSAlphabetList updates list of alphabet nodes in designate contract.
|
||||
// As for side chain list should contain all inner ring nodes.
|
||||
// As for sidechain list should contain all inner ring nodes.
|
||||
// Requires committee multi signature.
|
||||
//
|
||||
// This function must be invoked with notary enabled otherwise it throws panic.
|
||||
|
|
|
@ -45,7 +45,7 @@ func (x *ManageAdminsPrm) SetGroup(id []byte) {
|
|||
x.group = id
|
||||
}
|
||||
|
||||
// ManageAdminsRes groups resulting values of node administer methods of Subnet contract.
|
||||
// ManageAdminsRes groups the resulting values of node administer methods of Subnet contract.
|
||||
type ManageAdminsRes struct{}
|
||||
|
||||
// ManageAdmins manages admin list of the NeoFS subnet through Subnet contract calls.
|
||||
|
|
|
@ -21,7 +21,7 @@ func (x *UserAllowedPrm) SetClient(id []byte) {
|
|||
x.args[1] = id
|
||||
}
|
||||
|
||||
// UserAllowedRes groups resulting values of UserAllowed method of Subnet contract.
|
||||
// UserAllowedRes groups the resulting values of UserAllowed method of Subnet contract.
|
||||
type UserAllowedRes struct {
|
||||
result bool
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ func (x *ManageClientsPrm) SetClient(id []byte) {
|
|||
x.args[2] = id
|
||||
}
|
||||
|
||||
// ManageClientsRes groups resulting values of client management methods of Subnet contract.
|
||||
// ManageClientsRes groups the resulting values of client management methods of Subnet contract.
|
||||
type ManageClientsRes struct{}
|
||||
|
||||
// ManageClients manages client list of the NeoFS subnet through Subnet contract calls.
|
||||
|
|
|
@ -23,7 +23,7 @@ func (x *DeletePrm) SetID(id []byte) {
|
|||
x.args[0] = id
|
||||
}
|
||||
|
||||
// DeleteRes groups resulting values of Delete method of Subnet contract.
|
||||
// DeleteRes groups the resulting values of Delete method of Subnet contract.
|
||||
type DeleteRes struct{}
|
||||
|
||||
// Delete removes subnet though the call of the corresponding method of the Subnet contract.
|
||||
|
|
|
@ -16,7 +16,7 @@ func (x *GetPrm) SetID(id []byte) {
|
|||
x.args[0] = id
|
||||
}
|
||||
|
||||
// GetRes groups resulting values of Get method of Subnet contract.
|
||||
// GetRes groups the resulting values of Get method of Subnet contract.
|
||||
type GetRes struct {
|
||||
info []byte
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ func (x *NodeAllowedPrm) SetNode(id []byte) {
|
|||
x.args[1] = id
|
||||
}
|
||||
|
||||
// NodeAllowedRes groups resulting values of NodeAllowed method of Subnet contract.
|
||||
// NodeAllowedRes groups the resulting values of NodeAllowed method of Subnet contract.
|
||||
type NodeAllowedRes struct {
|
||||
result bool
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ func (x *ManageNodesPrm) SetNode(id []byte) {
|
|||
x.args[1] = id
|
||||
}
|
||||
|
||||
// ManageNodesRes groups resulting values of node management methods of Subnet contract.
|
||||
// ManageNodesRes groups the resulting values of node management methods of Subnet contract.
|
||||
type ManageNodesRes struct{}
|
||||
|
||||
// ManageNodes manages node list of the NeoFS subnet through Subnet contract calls.
|
||||
|
|
|
@ -33,7 +33,7 @@ func (x *PutPrm) SetInfo(id []byte) {
|
|||
x.args[2] = id
|
||||
}
|
||||
|
||||
// PutRes groups resulting values of Put method of Subnet contract.
|
||||
// PutRes groups the resulting values of Put method of Subnet contract.
|
||||
type PutRes struct{}
|
||||
|
||||
// Put creates subnet though the call of the corresponding method of the Subnet contract.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue