Unit MP.Protocol
Description
This item has no description.
Uses
- Classes
- MP.Block
- MP.Coin
- MP.Disk
- MP.Parser
- MP.Red
- MPForm
- Noso.Block
- Noso.Config
- Noso.Consensus
- Noso.Crypto
- Noso.Debug
- Noso.General
- Noso.Gvt
- Noso.Headers
- Noso.IP.Control
- Noso.Masternodes
- Noso.Network
- Noso.Pso
- Noso.Summary
- Noso.Time
- StrUtils
- SysUtils
- Zipper
Overview
Functions and Procedures
procedure AddCriptoOp(tipo: Integer; proceso, resultado: String); |
function CreateZipBlockfile(firstblock: Integer): String; |
procedure DeleteCriptoOp(); |
function GetOrderFromString(textLine: String; out ThisData: TOrderData): Boolean; |
function GetPingString(): String; |
function GetStringFromBlockHeader(blockheader: BlockHeaderdata): String; |
procedure INC_PTC_Custom(TextLine: String; connection: Integer); |
procedure INC_PTC_Order(TextLine: String; connection: Integer); |
procedure INC_PTC_SendGVT(TextLine: String; connection: Integer); |
function IsAddressLocked(LAddress: String): Boolean; |
function IsOrderIDAlreadyProcessed(OrderText: String): Boolean; |
procedure ParseProtocolLines(); |
procedure PTC_AdminMSG(TextLine: String); |
procedure PTC_CFGData(Linea: String); |
function PTC_Custom(TextLine: String): Integer; |
procedure PTC_HeadUpdate(linea: String); |
function PTC_Order(TextLine: String): String; |
procedure PTC_ProcessMNFileIncoming(LText: String); |
procedure PTC_SendBlocks(Slot: Integer; TextLine: String); |
function PTC_SendGVT(TextLine: String): Integer; |
procedure PTC_SendGVTs(Slot: Int64); |
procedure PTC_SendLine(Slot: Int64; Message: String); |
procedure PTC_SendPSOS(Slot: Int64); |
procedure PTC_SendResumen(Slot: Int64); |
procedure PTC_SendSumary(Slot: Int64); |
procedure PTC_SendUpdateHeaders(Slot: Integer; Linea: String); |
function ValidateTrfr(order: TOrderData; Origen: String): Integer; |
function ZipHeaders(): Boolean; |
Constants
BestHash = 12; |
Custom = 9; |
GetCFG = 30; |
GetChecks = 15; |
GetGVTs = 20; |
GetHeadUpdate = 18; |
GetMNs = 11; |
GetMNsFile = 16; |
Getnodes = 1; |
GetPending = 5; |
GetPSOs = 32; |
GetResumen = 7; |
GetSumary = 6; |
HeadUpdate = 19; |
LastBlock = 8; |
MNCheck = 14; |
MNFile = 17; |
MNReport = 13; |
Nodes = 2; |
OnlyHeaders = 0; |
Ping = 3; |
Pong = 4; |
SETCFG = 31; |
Description
Functions and Procedures
procedure AddCriptoOp(tipo: Integer; proceso, resultado: String); |
|
AƱade una operacion a la espera de cripto |
function CreateZipBlockfile(firstblock: Integer): String; |
|
Creates the zip block file |
procedure DeleteCriptoOp(); |
|
Elimina la operacion cripto |
function GetOrderFromString(textLine: String; out ThisData: TOrderData): Boolean; |
|
function GetPTCEcn():String; convierte los datos de la cadena en una order |
function GetPingString(): String; |
|
Procedure ClearOutTextToSlot(slot:integer); Function GetTextToSlot(slot:integer):string; Procedure ProcessPing(LineaDeTexto: string; Slot: integer; Responder:boolean); Devuelve la informacion contenida en un ping |
function GetStringFromBlockHeader(blockheader: BlockHeaderdata): String; |
|
function GetStringFromOrder(order:Torderdata):String; devuelve una cadena con los datos de la cabecera de un bloque |
procedure INC_PTC_Custom(TextLine: String; connection: Integer); |
|
This item has no description. |
procedure INC_PTC_Order(TextLine: String; connection: Integer); |
|
This item has no description. |
procedure INC_PTC_SendGVT(TextLine: String; connection: Integer); |
|
This item has no description. |
function IsAddressLocked(LAddress: String): Boolean; |
|
This item has no description. |
function IsOrderIDAlreadyProcessed(OrderText: String): Boolean; |
|
This item has no description. |
procedure ParseProtocolLines(); |
|
Function ProtocolLine(tipo:integer):String; Procesa todas las lineas procedentes de las Connections |
procedure PTC_AdminMSG(TextLine: String); |
|
This item has no description. |
procedure PTC_CFGData(Linea: String); |
|
This item has no description. |
function PTC_Custom(TextLine: String): Integer; |
|
Procesa una solicitud de customizacion |
procedure PTC_HeadUpdate(linea: String); |
|
This function must go to NosoHeaders |
function PTC_Order(TextLine: String): String; |
|
This item has no description. |
procedure PTC_ProcessMNFileIncoming(LText: String); |
|
This item has no description. |
procedure PTC_SendBlocks(Slot: Integer; TextLine: String); |
|
Send Zipped blocks to peer |
function PTC_SendGVT(TextLine: String): Integer; |
|
This item has no description. |
procedure PTC_SendGVTs(Slot: Int64); |
|
This item has no description. |
procedure PTC_SendLine(Slot: Int64; Message: String); |
|
function IsValidProtocol(line:String):Boolean; Envia una linea a un determinado slot |
procedure PTC_SendPSOS(Slot: Int64); |
|
This item has no description. |
procedure PTC_SendResumen(Slot: Int64); |
|
procedure PTC_SendPending(Slot:int64); Send cHeaders file to peer |
procedure PTC_SendSumary(Slot: Int64); |
|
This item has no description. |
procedure PTC_SendUpdateHeaders(Slot: Integer; Linea: String); |
|
Procedure PTC_SendMNsList(slot:integer); |
function ValidateTrfr(order: TOrderData; Origen: String): Integer; |
|
Verify a transfer |
function ZipHeaders(): Boolean; |
|
Zips the cHeaders file. Uses deprecated methods, to be removed... |
Constants
BestHash = 12; |
|
This item has no description. |
Custom = 9; |
|
This item has no description. |
GetCFG = 30; |
|
This item has no description. |
GetChecks = 15; |
|
This item has no description. |
GetGVTs = 20; |
|
This item has no description. |
GetHeadUpdate = 18; |
|
This item has no description. |
GetMNs = 11; |
|
NodeReport = 10; |
GetMNsFile = 16; |
|
This item has no description. |
Getnodes = 1; |
|
This item has no description. |
GetPending = 5; |
|
This item has no description. |
GetPSOs = 32; |
|
This item has no description. |
GetResumen = 7; |
|
This item has no description. |
GetSumary = 6; |
|
This item has no description. |
HeadUpdate = 19; |
|
This item has no description. |
LastBlock = 8; |
|
This item has no description. |
MNCheck = 14; |
|
This item has no description. |
MNFile = 17; |
|
This item has no description. |
MNReport = 13; |
|
This item has no description. |
Nodes = 2; |
|
This item has no description. |
OnlyHeaders = 0; |
|
This item has no description. |
Ping = 3; |
|
This item has no description. |
Pong = 4; |
|
This item has no description. |
SETCFG = 31; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.