#include "define.h"
#include "ClientRequest.h"
#include "FountainWireProt.h"
#include "NodeID.h"
#include "LokiInclude.h"
#include <bamboo/libbamboo.h>
#include <bamboo/ConfigReader.h>
#include <bamboo/qLog.h>
#include <ncurses.h>
#include <memory>
#include <iomanip>
#include <cstddef>
#include <csignal>
#include <cstdlib>
#include <vector>
#include <string>
#include <iostream>
#include <sstream>
#include <cerrno>
Functions | |
| void | version (char **argv) |
| Displays the Fountain version. | |
| bool | initialize () |
| Performs initialization work for the master and slave Fountain node daemons. | |
| void | interruptHandler (int signalNumber) |
| Called when we catch a signal. | |
|
|
Performs initialization work for the master and slave Fountain node daemons. This function does two important things, registering for signal events and initializing the Bamboo library.
|
|
|
Called when we catch a signal. If the signal is SIGINT or SIGTERM we'll set the global done variable to true
|
|
|
Displays the Fountain version.
|
1.4.6