diff options
author | Determinant <tederminant@gmail.com> | 2018-07-16 19:26:36 -0400 |
---|---|---|
committer | Determinant <tederminant@gmail.com> | 2018-07-16 19:26:36 -0400 |
commit | 02e347dae1a01172dbcc2efe054014c015d96507 (patch) | |
tree | 4b49650ba8d5dac0ab689cdc59867da3127f2bb7 /include/hotstuff/type.h | |
parent | a7cfb274d651e858ab06eff5b28a6f77e0178cf1 (diff) |
...
Diffstat (limited to 'include/hotstuff/type.h')
-rw-r--r-- | include/hotstuff/type.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/hotstuff/type.h b/include/hotstuff/type.h index 4665979..670ee6c 100644 --- a/include/hotstuff/type.h +++ b/include/hotstuff/type.h @@ -1,12 +1,19 @@ #ifndef _HOTSTUFF_TYPE_H #define _HOTSTUFF_TYPE_H +#include "promise.hpp" +#include "salticidae/event.h" +#include "salticidae/ref.h" +#include "salticidae/netaddr.h" #include "salticidae/stream.h" #include "salticidae/type.h" #include "salticidae/util.h" namespace hotstuff { +using salticidae::RcObj; +using salticidae::BoxObj; + using salticidae::uint256_t; using salticidae::DataStream; using salticidae::htole; @@ -14,6 +21,12 @@ using salticidae::letoh; using salticidae::get_hex; using salticidae::from_hex; using salticidae::bytearray_t; +using salticidae::get_hash; + +using salticidae::NetAddr; +using salticidae::Event; +using salticidae::EventContext; +using promise::promise_t; inline std::string get_hex10(const uint256_t &x) { return get_hex(x).substr(0, 10); |