Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Typedefs | Enumerations | Functions
dev::shh Namespace Reference

Classes

class  BuildTopic
 
class  BuildTopicMask
 
struct  ClientWatch
 
class  Envelope
 
struct  FailedDeleteInLevelDB
 
struct  FailedInsertInLevelDB
 
struct  FailedLookupInLevelDB
 
struct  FailedToOpenLevelDB
 
struct  FilterKey
 
struct  InstalledFilter
 
class  Interface
 
class  Message
 An (unencrypted) message, constructed from the combination of an Envelope, and, potentially, a Secret key to decrypt the Message. More...
 
class  TopicBloomFilterBase
 
class  TopicFilter
 
class  Watch
 
struct  WatshhChannel
 
class  WhisperDB
 
class  WhisperFiltersDB
 
class  WhisperHost
 
class  WhisperMessagesDB
 
class  WhisperPeer
 
struct  WrongTypeLevelDB
 

Typedefs

using TopicBloomFilter = TopicBloomFilterBase< TopicBloomFilterSize >
 
using AbridgedTopic = FixedHash< 4 >
 
using Topic = h256
 
using AbridgedTopics = std::vector< AbridgedTopic >
 
using Topics = h256s
 
using TopicBloomFilterHash = FixedHash< TopicBloomFilterSize >
 
using TopicMask = std::vector< std::pair< AbridgedTopic, AbridgedTopic >>
 
using TopicMasks = std::vector< TopicMask >
 

Enumerations

enum  WhisperPacket { StatusPacket = 0, MessagesPacket, TopicFilterPacket, PacketCount }
 
enum  IncludeNonce { WithoutNonce = 0, WithNonce = 1 }
 
enum  { ContainsSignature = 1 }
 

Functions

Json::Value toJson (h256 const &_h, shh::Envelope const &_e, shh::Message const &_m)
 
shh::Message toMessage (Json::Value const &_json)
 
shh::Envelope toSealed (Json::Value const &_json, shh::Message const &_m, Secret const &_from)
 
pair< shh::Topics, PublictoWatch (Json::Value const &_json)
 
AbridgedTopic abridge (Topic const &_topic)
 
AbridgedTopics abridge (Topics const &_topics)
 

Typedef Documentation

using dev::shh::AbridgedTopic = typedef FixedHash<4>

Definition at line 65 of file Common.h.

using dev::shh::AbridgedTopics = typedef std::vector<AbridgedTopic>

Definition at line 68 of file Common.h.

using dev::shh::Topic = typedef h256

Definition at line 66 of file Common.h.

using dev::shh::TopicBloomFilter = typedef TopicBloomFilterBase<TopicBloomFilterSize>

Definition at line 134 of file BloomFilter.h.

using dev::shh::TopicBloomFilterHash = typedef FixedHash<TopicBloomFilterSize>

Definition at line 71 of file Common.h.

using dev::shh::TopicMask = typedef std::vector<std::pair<AbridgedTopic, AbridgedTopic>>

Definition at line 98 of file Common.h.

using dev::shh::TopicMasks = typedef std::vector<TopicMask>

Definition at line 99 of file Common.h.

using dev::shh::Topics = typedef h256s

Definition at line 69 of file Common.h.

Enumeration Type Documentation

anonymous enum
Enumerator
ContainsSignature 

Definition at line 93 of file Message.h.

Enumerator
WithoutNonce 
WithNonce 

Definition at line 53 of file Message.h.

Enumerator
StatusPacket 
MessagesPacket 
TopicFilterPacket 
PacketCount 

Definition at line 53 of file Common.h.

Function Documentation

AbridgedTopic dev::shh::abridge ( Topic const &  _topic)

Definition at line 32 of file Common.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

AbridgedTopics dev::shh::abridge ( Topics const &  _topics)

Definition at line 37 of file Common.cpp.

Here is the call graph for this function:

Json::Value dev::shh::toJson ( h256 const &  _h,
shh::Envelope const &  _e,
shh::Message const &  _m 
)

Definition at line 465 of file JsonHelper.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Message dev::shh::toMessage ( Json::Value const &  _json)

Definition at line 482 of file JsonHelper.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Envelope dev::shh::toSealed ( Json::Value const &  _json,
shh::Message const &  _m,
Secret const &  _from 
)

Definition at line 494 of file JsonHelper.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

std::pair< Topics, Public > dev::shh::toWatch ( Json::Value const &  _json)

Definition at line 522 of file JsonHelper.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: