aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-01-23 17:00:14 -0500
committerDeterminant <ted.sybil@gmail.com>2019-01-23 17:00:14 -0500
commit6402f6357bb777d132f176dad8c45fcd9e166dc4 (patch)
tree0c82b65d3a065242a1f02c3f8ff4579433cb2d11
parent7eadf178bdc9043851c1632e0771a6d9c35008d6 (diff)
correct the potential bug caused by multi-threaded messaging system
-rw-r--r--include/hotstuff/entity.h3
m---------salticidae0
2 files changed, 1 insertions, 2 deletions
diff --git a/include/hotstuff/entity.h b/include/hotstuff/entity.h
index 9b1b4b1..c112dd7 100644
--- a/include/hotstuff/entity.h
+++ b/include/hotstuff/entity.h
@@ -90,8 +90,7 @@ class ReplicaConfig {
class Block;
class HotStuffCore;
-using block_t = salticidae::RcObj<Block>;
-using block_weak_t = salticidae::WeakObj<Block>;
+using block_t = salticidae::ArcObj<Block>;
class Command: public Serializable {
friend HotStuffCore;
diff --git a/salticidae b/salticidae
-Subproject b84b00cb9d17a51b2667716229dd3ecde756b70
+Subproject 1d89070e5280985ce3212c6ae1f8befb0910e32