diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-17 19:16:08 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-17 19:16:08 +0200 |
commit | 4abfb75509f216f4d62bc8b18b22eb680eefe2d9 (patch) | |
tree | cf70746c4348cd6523ee11679e35c55f28aea7ba /src/proto.rs | |
parent | db1c4222cefa99c6a4453da13bdb4f206b4b05a5 (diff) | |
download | garage-4abfb75509f216f4d62bc8b18b22eb680eefe2d9.tar.gz garage-4abfb75509f216f4d62bc8b18b22eb680eefe2d9.zip |
Implement sending blocks to nodes that need them
Diffstat (limited to 'src/proto.rs')
-rw-r--r-- | src/proto.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proto.rs b/src/proto.rs index 7d8d3899..cf7ed1cc 100644 --- a/src/proto.rs +++ b/src/proto.rs @@ -20,6 +20,8 @@ pub enum Message { GetBlock(Hash), PutBlock(PutBlockMessage), + NeedBlockQuery(Hash), + NeedBlockReply(bool), TableRPC(String, #[serde(with = "serde_bytes")] Vec<u8>), } |