Skip to content

Commit

Permalink
Merge branch 'master' into docupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
bonedaddy authored Apr 14, 2020
2 parents 2342daf + 5b3867e commit 931fde3
Show file tree
Hide file tree
Showing 7 changed files with 725 additions and 660 deletions.
3 changes: 3 additions & 0 deletions doc/PROTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,9 @@ BSREQTYPE is a particular blockstore request type
| BS_GET_MANY | 4 | BS_GET_MANY is used to get many blocks from the store |
| BS_GET_ALL | 5 | BS_GET_ALL is used to retrieve all blocks from the store It is the gRPC equivalent of Blockstore::AllKeysChan |
| BS_GET_STATS | 6 | BS_GET_STATS is used to retrieve statistics about individual blocks |
| BS_HAS | 7 | BS_HAS is used to retrieve whether or not we have the block |
| BS_HASH_ON_READ_ENABLE | 8 | BS_HASH_ON_READ_ENABLE is used to enable hash on read |
| BS_HASH_ON_READ_DISABLE | 9 | BS_HASH_ON_READ_DISABLE is used to disable hash on read |



Expand Down
246 changes: 130 additions & 116 deletions go/node.pb.go

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion js/node_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -4877,7 +4877,10 @@ proto.pb.BSREQTYPE = {
BS_GET: 3,
BS_GET_MANY: 4,
BS_GET_ALL: 5,
BS_GET_STATS: 6
BS_GET_STATS: 6,
BS_HAS: 7,
BS_HASH_ON_READ_ENABLE: 8,
BS_HASH_ON_READ_DISABLE: 9
};

/**
Expand Down
6 changes: 6 additions & 0 deletions pb/node.proto
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ enum BSREQTYPE {
BS_GET_ALL = 5;
// BS_GET_STATS is used to retrieve statistics about individual blocks
BS_GET_STATS = 6;
// BS_HAS is used to retrieve whether or not we have the block
BS_HAS = 7;
// BS_HASH_ON_READ_ENABLE is used to enable hash on read
BS_HASH_ON_READ_ENABLE = 8;
// BS_HASH_ON_READ_DISABLE is used to disable hash on read
BS_HASH_ON_READ_DISABLE = 9;
}

// BSREQOPTS are options for blockstore requests
Expand Down
37 changes: 26 additions & 11 deletions py/node_pb2.py

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

Loading

0 comments on commit 931fde3

Please sign in to comment.