Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 24 additions & 14 deletions documentation.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,27 @@
}
}
},
"modelRemoveAccountDatasetTransactionBody": {
"type": "object",
"properties": {
"Property": {
"type": "string",
"title": "Property name"
},
"RecipientAccountAddress": {
"type": "string",
"title": "Account Address that got property of Dataset"
},
"SetterAccountAddress": {
"type": "string",
"title": "Account Address that set Dataset"
},
"Value": {
"type": "string",
"title": "Value of property"
}
}
},
"modelRemoveNodeRegistrationTransactionBody": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1296,6 +1317,9 @@
"nodeRegistrationTransactionBody": {
"$ref": "#/definitions/modelNodeRegistrationTransactionBody"
},
"removeAccountDatasetTransactionBody": {
"$ref": "#/definitions/modelRemoveAccountDatasetTransactionBody"
},
"removeNodeRegistrationTransactionBody": {
"$ref": "#/definitions/modelRemoveNodeRegistrationTransactionBody"
},
Expand Down Expand Up @@ -1368,19 +1392,5 @@
}
}
}
},
"x-stream-definitions": {
"modelGetNodeHardwareResponse": {
"properties": {
"error": {
"$ref": "#/definitions/runtimeStreamError"
},
"result": {
"$ref": "#/definitions/modelGetNodeHardwareResponse"
}
},
"title": "Stream result of modelGetNodeHardwareResponse",
"type": "object"
}
}
}
19 changes: 15 additions & 4 deletions model/transaction.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ message Transaction {
RemoveNodeRegistrationTransactionBody removeNodeRegistrationTransactionBody = 18;
ClaimNodeRegistrationTransactionBody claimNodeRegistrationTransactionBody = 19;
SetupAccountDatasetTransactionBody setupAccountDatasetTransactionBody = 20;

RemoveAccountDatasetTransactionBody removeAccountDatasetTransactionBody = 21;
}
bytes Signature = 21;
bytes Signature = 22;
}

message EmptyTransactionBody {}
Expand Down Expand Up @@ -60,6 +60,10 @@ message UpdateNodeRegistrationTransactionBody {
ProofOfOwnership Poown = 4;
}

message RemoveNodeRegistrationTransactionBody {
bytes NodePublicKey = 1;
}

message SetupAccountDatasetTransactionBody {
// Account Address that set Dataset
string SetterAccountAddress = 1;
Expand All @@ -73,8 +77,15 @@ message SetupAccountDatasetTransactionBody {
uint64 MuchTime = 5 [jstype = JS_STRING];
}

message RemoveNodeRegistrationTransactionBody {
bytes NodePublicKey = 1;
message RemoveAccountDatasetTransactionBody {
// Account Address that set Dataset
string SetterAccountAddress = 1;
// Account Address that got property of Dataset
string RecipientAccountAddress = 2;
// Property name
string Property = 3;
// Value of property
string Value = 4;
}

message ClaimNodeRegistrationTransactionBody {
Expand Down