snap_coin/node/mod.rs
1/// A struct that handles one connected peer and all of its connection logic, and message processing
2pub mod peer;
3
4/// The node struct
5pub mod node;
6
7/// A struct for serializing and deserializing p2p messages
8pub mod message;
9
10/// Stores all currently pending transactions, that are waiting to be mined
11pub mod mempool;
12
13/// Synchronize if a fork happens
14mod sync;
15
16/// Host a server for other peers to connect to
17mod server;
18
19/// Automatically find and connect to different peers
20mod auto_peer;