Skip to content

Commit

Permalink
chore: add cid version and hash function to blockstore requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Trottier committed Dec 30, 2019
1 parent 9bec9ac commit 777b75d
Show file tree
Hide file tree
Showing 6 changed files with 316 additions and 120 deletions.
2 changes: 2 additions & 0 deletions doc/PROTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,8 @@ BlockstoreRequest is a message used to control blockstores
| reqOpts | [BSREQOPTS](#pb.BSREQOPTS) | repeated | optional request settings |
| cids | [string](#string) | repeated | cids of blocks sent by: BS_DELETE, BS_GET, BS_GET_MANY |
| data | [bytes](#bytes) | repeated | the data we are putting sent by: BS_PUT, BS_PUT_MANY |
| cidVersion | [string](#string) | | the cid version to use when constructing blocks, default is v1 sent by: BS_PUT, BS_PUT_MANY |
| hashFunc | [string](#string) | | the hash function to use when constructing blocks, default is sha2-256 sent by: BS_PUT, BS_PUT_MANY |



Expand Down
Loading

0 comments on commit 777b75d

Please sign in to comment.