Browse Source

updates

cl-refactor
Vlad Gluhovsky 10 years ago
parent
commit
9c51074e0b
  1. 4
      libwhisper/Common.h
  2. 4
      libwhisper/WhisperPeer.h

4
libwhisper/Common.h

@ -54,8 +54,8 @@ enum WhisperPacket
{
StatusPacket = 0,
MessagesPacket,
AddFilterPacket,
RemoveFilterPacket,
AddTopicFilterPacket,
RemoveTopicFilterPacket,
PacketCount
};

4
libwhisper/WhisperPeer.h

@ -60,6 +60,8 @@ public:
WhisperHost* host() const;
void setBloom(FixedHash<TopicBloomFilterSize> const& _b) { m_bloom = _b; }
private:
virtual bool interpret(unsigned _id, RLP const&) override;
@ -72,6 +74,8 @@ private:
std::multimap<unsigned, h256> m_unseen; ///< Rated according to what they want.
std::chrono::system_clock::time_point m_timer = std::chrono::system_clock::now();
FixedHash<TopicBloomFilterSize> m_bloom;
};
}

Loading…
Cancel
Save