Unit MP.Block
Classes, Interfaces, Objects and Records
Types
Constants
Variables
Description
This item has no description.
Uses
- Classes
- Dialogs
- fileutil
- Math
- MP.Coin
- MPForm
- Noso.Block
- Noso.Config
- Noso.Crypto
- Noso.Debug
- Noso.General
- Noso.Gvt
- Noso.Headers
- Noso.Masternodes
- Noso.Network
- Noso.Pso
- Noso.Summary
- Noso.Time
- Noso.WallCon
- strutils
- SysUtils
Overview
Functions and Procedures
procedure BuildNewBlock(Numero, TimeStamp: Int64; TargetHash, Minero, Solucion: String); |
procedure CrearBloqueCero(); |
function GetBlockMNs(BlockNumber: Integer): TBlockAddresses; |
function GetBlockPoSes(BlockNumber: Integer): TBlockAddresses; |
function GetBlockReward(BlNumber: Int64): Int64; |
function GEtNSLBlkOrdInfo(LineText: String): String; |
function GuardarBloque(NombreArchivo: String; Cabezera: BlockHeaderData; Ordenes: array of TOrderData; PosPay: Int64; PoSnumber: Integer; PosAddresses: array of TAddress; MNsPay: Int64; MNsNumber: Integer; MNsAddresses: array of TAddress): Boolean; |
function RemoveBlocks(UpToBlock: Int64): Integer; |
procedure UndoneLastBlock(); |
Description
Functions and Procedures
procedure BuildNewBlock(Numero, TimeStamp: Int64; TargetHash, Minero, Solucion: String); |
|
Crea un bloque nuevo con la informacion suministrada |
procedure CrearBloqueCero(); |
|
Build the default block 0 |
function GetBlockMNs(BlockNumber: Integer): TBlockAddresses; |
|
This item has no description. |
function GetBlockPoSes(BlockNumber: Integer): TBlockAddresses; |
|
This item has no description. |
function GetBlockReward(BlNumber: Int64): Int64; |
|
Function GetDiffHashrate(bestdiff:String):integer; Function BestHashReadeable(BestDiff:String):string; function GetDiffForNextBlock(UltimoBloque,Last20Average,lastblocktime,previous:integer):integer; function GetLast20Time(LastBlTime:integer):integer; RETURNS THE MINING REWARD FOR A BLOCK |
function GEtNSLBlkOrdInfo(LineText: String): String; |
|
This item has no description. |
function GuardarBloque(NombreArchivo: String; Cabezera: BlockHeaderData; Ordenes: array of TOrderData; PosPay: Int64; PoSnumber: Integer; PosAddresses: array of TAddress; MNsPay: Int64; MNsNumber: Integer; MNsAddresses: array of TAddress): Boolean; |
|
Guarda el archivo de bloque en disco |
function RemoveBlocks(UpToBlock: Int64): Integer; |
|
This item has no description. |
procedure UndoneLastBlock(); |
|
function GetBlockTrxs(BlockNumber:integer):TBlockOrdersArray; Deshacer el ultimo bloque |
Generated by PasDoc 0.16.0-snapshot.