Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Namespaces | Enumerations
CommonNet.h File Reference
#include <string>
#include <chrono>
#include <libdevcore/Common.h>
#include <libdevcore/Log.h>
Include dependency graph for CommonNet.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dev::eth::SyncStatus
 

Namespaces

 dev
 Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Originally by RenĂ© Nyffenegger.
 
 dev::eth
 

Enumerations

enum  dev::eth::SubprotocolPacketType : byte {
  dev::eth::StatusPacket = 0x00, dev::eth::NewBlockHashesPacket = 0x01, dev::eth::TransactionsPacket = 0x02, dev::eth::GetBlockHeadersPacket = 0x03,
  dev::eth::BlockHeadersPacket = 0x04, dev::eth::GetBlockBodiesPacket = 0x05, dev::eth::BlockBodiesPacket = 0x06, dev::eth::NewBlockPacket = 0x07,
  dev::eth::GetNodeDataPacket = 0x0d, dev::eth::NodeDataPacket = 0x0e, dev::eth::GetReceiptsPacket = 0x0f, dev::eth::ReceiptsPacket = 0x10,
  dev::eth::PacketCount
}
 
enum  dev::eth::Asking {
  dev::eth::Asking::State, dev::eth::Asking::BlockHeaders, dev::eth::Asking::BlockBodies, dev::eth::Asking::NodeData,
  dev::eth::Asking::Receipts, dev::eth::Asking::Nothing
}
 
enum  dev::eth::SyncState {
  dev::eth::SyncState::NotSynced, dev::eth::SyncState::Idle, dev::eth::SyncState::Waiting, dev::eth::SyncState::Blocks,
  dev::eth::SyncState::State, dev::eth::SyncState::NewBlocks, dev::eth::SyncState::Size
}
 

Detailed Description

Author
Gav Wood i@gav.nosp@m.wood.nosp@m..com
Date
2014

Miscellanea required for the PeerServer/Session classes.

Definition in file CommonNet.h.