Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

privatesend.h File Reference
#include <bls/bls.h>
#include <chain.h>
#include <chainparams.h>
#include <primitives/transaction.h>
#include <pubkey.h>
#include <sync.h>
#include <spork.h>
#include <timedata.h>
#include <tinyformat.h>
+ Include dependency graph for privatesend.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  is_serializable_enum< PoolMessage >
 
struct  is_serializable_enum< PoolState >
 
struct  is_serializable_enum< PoolStatusUpdate >
 
class  CPrivateSendStatusUpdate
 
class  CTxDSIn
 Holds a mixing input. More...
 
class  CPrivateSendAccept
 
class  CPrivateSendEntry
 
class  CPrivateSendQueue
 A currently in progress mixing merge and denomination information. More...
 
class  CPrivateSendBroadcastTx
 Helper class to store mixing transaction (tx) information. More...
 
class  CPrivateSendBaseSession
 
class  CPrivateSendBaseManager
 
class  CPrivateSend
 

Enumerations

enum  PoolMessage : int32_t {
  ERR_ALREADY_HAVE, ERR_DENOM, ERR_ENTRIES_FULL, ERR_EXISTING_TX,
  ERR_FEES, ERR_INVALID_COLLATERAL, ERR_INVALID_INPUT, ERR_INVALID_SCRIPT,
  ERR_INVALID_TX, ERR_MAXIMUM, ERR_MN_LIST, ERR_MODE,
  ERR_NON_STANDARD_PUBKEY, ERR_NOT_A_MN, ERR_QUEUE_FULL, ERR_RECENT,
  ERR_SESSION, ERR_MISSING_TX, ERR_VERSION, MSG_NOERR,
  MSG_SUCCESS, MSG_ENTRIES_ADDED, ERR_SIZE_MISMATCH, MSG_POOL_MIN = ERR_ALREADY_HAVE,
  MSG_POOL_MAX = ERR_SIZE_MISMATCH
}
 
enum  PoolState : int32_t {
  POOL_STATE_IDLE, POOL_STATE_QUEUE, POOL_STATE_ACCEPTING_ENTRIES, POOL_STATE_SIGNING,
  POOL_STATE_ERROR, POOL_STATE_MIN = POOL_STATE_IDLE, POOL_STATE_MAX = POOL_STATE_ERROR
}
 
enum  PoolStatusUpdate : int32_t { STATUS_REJECTED, STATUS_ACCEPTED }
 

Variables

static const int PRIVATESEND_AUTO_TIMEOUT_MIN = 5
 
static const int PRIVATESEND_AUTO_TIMEOUT_MAX = 15
 
static const int PRIVATESEND_QUEUE_TIMEOUT = 30
 
static const int PRIVATESEND_SIGNING_TIMEOUT = 15
 
static const int MIN_PRIVATESEND_PEER_PROTO_VERSION = 70213
 minimum peer version accepted by mixing pool More...
 
static const size_t PRIVATESEND_ENTRY_MAX_SIZE = 9
 

Enumeration Type Documentation

◆ PoolMessage

enum PoolMessage : int32_t
Enumerator
ERR_ALREADY_HAVE 
ERR_DENOM 
ERR_ENTRIES_FULL 
ERR_EXISTING_TX 
ERR_FEES 
ERR_INVALID_COLLATERAL 
ERR_INVALID_INPUT 
ERR_INVALID_SCRIPT 
ERR_INVALID_TX 
ERR_MAXIMUM 
ERR_MN_LIST 
ERR_MODE 
ERR_NON_STANDARD_PUBKEY 
ERR_NOT_A_MN 
ERR_QUEUE_FULL 
ERR_RECENT 
ERR_SESSION 
ERR_MISSING_TX 
ERR_VERSION 
MSG_NOERR 
MSG_SUCCESS 
MSG_ENTRIES_ADDED 
ERR_SIZE_MISMATCH 
MSG_POOL_MIN 
MSG_POOL_MAX 

Definition at line 33 of file privatesend.h.

◆ PoolState

enum PoolState : int32_t
Enumerator
POOL_STATE_IDLE 
POOL_STATE_QUEUE 
POOL_STATE_ACCEPTING_ENTRIES 
POOL_STATE_SIGNING 
POOL_STATE_ERROR 
POOL_STATE_MIN 
POOL_STATE_MAX 

Definition at line 63 of file privatesend.h.

◆ PoolStatusUpdate

enum PoolStatusUpdate : int32_t
Enumerator
STATUS_REJECTED 
STATUS_ACCEPTED 

Definition at line 75 of file privatesend.h.

Variable Documentation

◆ MIN_PRIVATESEND_PEER_PROTO_VERSION

const int MIN_PRIVATESEND_PEER_PROTO_VERSION = 70213
static

◆ PRIVATESEND_AUTO_TIMEOUT_MAX

const int PRIVATESEND_AUTO_TIMEOUT_MAX = 15
static

Definition at line 23 of file privatesend.h.

Referenced by CPrivateSendClientManager::DoMaintenance().

◆ PRIVATESEND_AUTO_TIMEOUT_MIN

const int PRIVATESEND_AUTO_TIMEOUT_MIN = 5
static

Definition at line 22 of file privatesend.h.

Referenced by CPrivateSendClientManager::DoMaintenance().

◆ PRIVATESEND_ENTRY_MAX_SIZE

◆ PRIVATESEND_QUEUE_TIMEOUT

const int PRIVATESEND_QUEUE_TIMEOUT = 30
static

◆ PRIVATESEND_SIGNING_TIMEOUT

const int PRIVATESEND_SIGNING_TIMEOUT = 15
static
Released under the MIT license