generated from Warchant/cmake-hunter-seed
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Storage market protocols versions 1.1.0 (#505)
* storage market protocols versions 1.1.1 added * respect cbor map order Signed-off-by: Alexey Chernyshov <[email protected]>
- Loading branch information
1 parent
5fcc3bb
commit 0ec0155
Showing
32 changed files
with
1,779 additions
and
754 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/** | ||
* Copyright Soramitsu Co., Ltd. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include "vm/actor/builtin/types/market/deal.hpp" | ||
|
||
namespace fc::markets::storage::client { | ||
using vm::actor::builtin::types::market::ClientDealProposal; | ||
|
||
/** Internal state of a deal on the client side. */ | ||
struct ClientDeal { | ||
ClientDealProposal client_deal_proposal; | ||
CID proposal_cid; | ||
boost::optional<CID> add_funds_cid; | ||
StorageDealStatus state; | ||
PeerInfo miner; | ||
Address miner_worker; | ||
DealId deal_id; | ||
DataRef data_ref; | ||
bool is_fast_retrieval; | ||
std::string message; | ||
CID publish_message; | ||
}; | ||
|
||
} // namespace fc::markets::storage::client |
Oops, something went wrong.