Skip to content

Commit

Permalink
Merge pull request #183 from TRON-US/BTFS-2721-scan-data
Browse files Browse the repository at this point in the history
mod scan data
  • Loading branch information
NathanQiu666 authored May 7, 2021
2 parents a0a606a + 5c04fc0 commit 906b3c7
Show file tree
Hide file tree
Showing 6 changed files with 130 additions and 127 deletions.
6 changes: 3 additions & 3 deletions js/protos/node/node_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -6043,7 +6043,7 @@ proto.node.BtfsScanTab.deserializeBinaryFromReader = function(msg, reader) {
msg.setNewOnlineMinersCount(value);
break;
case 19:
var value = /** @type {number} */ (reader.readUint32());
var value = /** @type {number} */ (reader.readInt64());
msg.setMinersAllAmount(value);
break;
default:
Expand Down Expand Up @@ -6199,7 +6199,7 @@ proto.node.BtfsScanTab.serializeBinaryToWriter = function(message, writer) {
}
f = message.getMinersAllAmount();
if (f !== 0) {
writer.writeUint32(
writer.writeInt64(
19,
f
);
Expand Down Expand Up @@ -6578,7 +6578,7 @@ proto.node.BtfsScanTab.prototype.setNewOnlineMinersCount = function(value) {


/**
* optional uint32 miners_all_amount = 19;
* optional int64 miners_all_amount = 19;
* @return {number}
*/
proto.node.BtfsScanTab.prototype.getMinersAllAmount = function() {
Expand Down
6 changes: 3 additions & 3 deletions js/protos/status/status_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ proto.status.BtfsScanAggrReq.deserializeBinaryFromReader = function(msg, reader)
msg.setNewOnlineMinersCount(value);
break;
case 19:
var value = /** @type {number} */ (reader.readUint32());
var value = /** @type {number} */ (reader.readInt64());
msg.setMinersAllAmount(value);
break;
default:
Expand Down Expand Up @@ -1019,7 +1019,7 @@ proto.status.BtfsScanAggrReq.serializeBinaryToWriter = function(message, writer)
}
f = message.getMinersAllAmount();
if (f !== 0) {
writer.writeUint32(
writer.writeInt64(
19,
f
);
Expand Down Expand Up @@ -1398,7 +1398,7 @@ proto.status.BtfsScanAggrReq.prototype.setNewOnlineMinersCount = function(value)


/**
* optional uint32 miners_all_amount = 19;
* optional int64 miners_all_amount = 19;
* @return {number}
*/
proto.status.BtfsScanAggrReq.prototype.getMinersAllAmount = function() {
Expand Down
77 changes: 40 additions & 37 deletions protos/node/node.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion protos/node/node.proto
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ message BtfsScanTab {
double storage_left_when_contract = 16;
uint32 super_online_miners_count = 17;
uint32 new_online_miners_count = 18;
uint32 miners_all_amount = 19;
int64 miners_all_amount = 19;
}

message ScoreHistoryTab {
Expand Down
Loading

0 comments on commit 906b3c7

Please sign in to comment.