plebble
protocol.h
Go to the documentation of this file.
1 /*
2 -------------------------------------------------------------------------------
3  PLEBBLE
4 -------------------------------------------------------------------------------
5  Copyright (C) 2019-2020 KATLAS Technology. (http://katlastechnology.com)
6  Copyright (C) 2017-2020 Marcos Mayorga. (mm@mm-studios.com)
7 
8  This file is part of our Plebble(R) Platform.
9 
10  The code below cannot be copied, used for any purpose other than the one
11  agreed and/or distributed without the express permission of
12  KATLAS Technology.
13 -------------------------------------------------------------------------------
14 
15 
16 */
17 #ifndef USGOV_d99aa614ace853bcae148b472d209a4651c9b4bcdd2773e1d531e579bde9ba9c
18 #define USGOV_d99aa614ace853bcae148b472d209a4651c9b4bcdd2773e1d531e579bde9ba9c
19 
20 #include <stdint.h>
21 #include <us/gov/relay/protocol.h>
22 
23 namespace us { namespace gov {
24 namespace protocol {
25  static constexpr uint16_t cash_base{700};
26  static constexpr uint16_t cash_tx{((cash_base+1)<<2)+evidence_suffix};
27  static constexpr uint16_t cash_query{((cash_base+2)<<2)+query_suffix}; // 2810
28  static constexpr uint16_t cash_response{((cash_base+3)<<2)+query_suffix};
29 
30  //static constexpr uint16_t cash_map_tx{((cash_base+4)<<2)+evidence_suffix};
31  //static constexpr uint16_t cash_file_tx{((cash_base+5)<<2)+evidence_suffix};
32 }}
33 }
34 
35 #endif
us::gov.protocol::cash_response
static constexpr uint16_t cash_response
Definition: protocol.h:28
us::gov.protocol::query_suffix
static constexpr uint16_t query_suffix
Definition: protocol.h:26
us
Definition: daemon.h:22
protocol.h
us::gov.protocol::cash_query
static constexpr uint16_t cash_query
Definition: protocol.h:27
us::gov.protocol::evidence_suffix
static constexpr uint16_t evidence_suffix
Definition: protocol.h:24
us::gov.protocol::cash_base
static constexpr uint16_t cash_base
Definition: protocol.h:25
us::gov.protocol::cash_tx
static constexpr uint16_t cash_tx
Definition: protocol.h:26