Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Enumerations | Functions
rest.cpp File Reference
#include <chain.h>
#include <chainparams.h>
#include <core_io.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <validation.h>
#include <httpserver.h>
#include <rpc/blockchain.h>
#include <rpc/server.h>
#include <streams.h>
#include <sync.h>
#include <txmempool.h>
#include <utilstrencodings.h>
#include <version.h>
#include <boost/algorithm/string.hpp>
#include <univalue.h>
Include dependency graph for rest.cpp:

Go to the source code of this file.

Classes

struct  CCoin
 

Enumerations

enum  RetFormat { RF_UNDEF, RF_BINARY, RF_HEX, RF_JSON }
 

Functions

UniValue getblockchaininfo (const JSONRPCRequest &request)
 
bool StartREST ()
 Start HTTP REST subsystem. More...
 
void InterruptREST ()
 Interrupt RPC REST subsystem. More...
 
void StopREST ()
 Stop HTTP REST subsystem. More...
 

Enumeration Type Documentation

enum RetFormat
Enumerator
RF_UNDEF 
RF_BINARY 
RF_HEX 
RF_JSON 

Definition at line 27 of file rest.cpp.

Function Documentation

UniValue getblockchaininfo ( const JSONRPCRequest request)

Definition at line 2051 of file blockchain.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void InterruptREST ( )

Interrupt RPC REST subsystem.

Definition at line 643 of file rest.cpp.

Here is the caller graph for this function:

bool StartREST ( )

Start HTTP REST subsystem.

Precondition; HTTP and RPC has been started.

Definition at line 636 of file rest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void StopREST ( )

Stop HTTP REST subsystem.

Precondition; HTTP and RPC has been stopped.

Definition at line 647 of file rest.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

bool(* handler) (HTTPRequest *req, const std::string &strReq)

Definition at line 624 of file rest.cpp.

const char* name

Definition at line 36 of file rest.cpp.

const char* prefix

Definition at line 623 of file rest.cpp.

enum RetFormat rf

Definition at line 35 of file rest.cpp.