forked from TrueCloudLab/frostfs-api
[#62] Put NodeInfo public_key field first
To simplify decoding of NodeInfo structure inside netmap smart contract, the first field, also used as a storage key inside contract, has to be of the fixed length. Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
fc170f56bf
commit
e72dceebd3
2 changed files with 5 additions and 5 deletions
|
@ -92,11 +92,11 @@ message PlacementPolicy {
|
|||
|
||||
// NeoFS node description
|
||||
message NodeInfo {
|
||||
// Ways to connect to a node
|
||||
string address = 1;
|
||||
|
||||
// Public key of the NeoFS node in a binary format.
|
||||
bytes public_key = 2;
|
||||
bytes public_key = 1;
|
||||
|
||||
// Ways to connect to a node
|
||||
string address = 2;
|
||||
|
||||
// Attributes of the NeoFS node.
|
||||
message Attribute {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue