Unit MPForm
Description
This item has no description.
Uses
- Buttons
- Classes
- Clipbrd
- ComCtrls
- Controls
- DefaultTranslator
- Dialogs
- ExploreForm
- ExtCtrls
- fileutil
- Forms
- fpJSON
- Graphics
- Grids
- IdComponent
- IdContext
- IdCustomHTTPServer
- IdGlobal
- IdHTTP
- IdHTTPServer
- IdTCPClient
- IdTCPServer
- lclintf
- LCLTranslator
- LCLType
- Menus
- 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.WallCon
- StdCtrls
- StrUtils
- SysUtils
- translation
- Types
Overview
Classes, Interfaces, Objects and Records
| Name | Description |
|---|---|
Packed Record TAddress |
Represents an address |
Packed Record TCryptoOperation |
|
Class TCryptoThread |
Handles cryptographic operations in a separate thread |
Class TDirectiveThread |
Executes a specific directive or command in a thread |
Class TForm1 |
TForm1 |
Class TIndexerThread |
Handles indexing tasks in the background |
Class TKeepAliveThread |
Keeps a network connection alive by sending keep-alive signals |
Class TLogUpdateThread |
Updates various logs like console, events, and exceptions |
Packed Record TMasterNodeInfo |
Information about a master node in the network |
Class TMasterNodeUpdaterThread |
Updates the status or information of master nodes |
Class TMessageSenderThread |
Sends out messages to peers or nodes in a separate thread |
Packed Record TNetworkConsensusData |
Stores consensus-related data from the network |
Class TServerSlot |
Manages the server's slot for client connections |
Functions and Procedures
procedure CloseeAppSafely(); |
procedure CompleteInicio(); |
procedure InitMainForm(); |
procedure UpdateStatusBar(); |
Types
TBlockAddresses = array of TAddress; |
Constants
AddressPrefix = 'N'; |
AdminHashAddress = 'N3DthVsfEUtqrgWFHTEB6F88xLkT3Df'; |
AdminPublicKey =
'BACo0LC7mWDn53orLANA2zKVSC1HfSe/jc/Ih7+cBQ1oh53Bu2Zo655WFmWnoKHEeaNflb1CR9WcfXuhmkKaY8Y='; |
AuthorizedAddresses =
'N3DthVsfEUtqrgWFHTEB6F88xLkT3Df N4ZR3fKhTUod34evnEcDQX3i6XufBDU'; |
AvailableMarketPairs = '/LTC'; |
BlockGenerationIntervalSeconds = 600; |
BlockRewardHalvingInterval = 210000; |
BlockSummaryInterval = 100; |
BuildDate = 'September 2024'; |
CoinName = 'Noso'; |
CoinSymbol = 'NOSO'; |
CustomTransactionFee = 200000; |
CustomValidCharacters: String =
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890@*+-_:'; |
DefaultDonationAmount = 10; |
DefaultServerPort = 8080; |
DevFundsAddress: String = 'NpryectdevepmentfundsGE'; |
GenesisTimestamp = 1615132800; |
HexAlphabet: String = '0123456789ABCDEF'; |
HiddenCommands: String = 'CLEAR SENDPOOLSOLUTION SENDPOOLSTEPS DELBOTS'; |
InitialBlockReward = 5000000000; |
InitialDifficulty = 60; |
IsBetaRelease = False; |
IsOfficialRelease = True; |
JackpotAddress: String = 'NPrjectPrtcRandmJacptE5'; |
MainnetVersion = '0.4.4'; |
MasterNodePercentage = 2000; |
MasterNodeStartBlock: Integer = 48010; |
MaxServerConnections = 99; |
MinimumTransactionFee = 10; |
MinimumVersionRequired = '0.4.4'; |
NewMinimumTransactionFee = 1000000; |
NodeRelease = 'Ab7'; |
PoSEndBlock: Integer = 88500; |
PoSPercentage = 1000; |
PoSStackCoins = 20; |
PoSStartBlock: Integer = 8425; |
PremineTotal = 1030390730000; |
ProtocolUpdateBlock = 120000; |
ReservedWords: String = 'NULL,DELADDR'; |
SecurityBlocks = 4000; |
TotalHalvingSteps = 10; |
TransferFee = 10000; |
ValidProtocolCommands: String =
'$PING$PONG$GETPENDING$NEWBL$GETRESUMEN$LASTBLOCK$GETCHECKS' +
'$CUSTOMORDERADMINMSGNETREQ$REPORTNODE$GETMNS$BESTHASH$MNREPO$MNCHECK' +
'GETMNSFILEMNFILEGETHEADUPDATE$GETSUMARY$GETGVTSGVTSFILE$SNDGVTGETCFGDATA' +
'SETCFGDATA$GETPSOSPSOSFILE'; |
Variables
AdvOptionsFile: textfile; |
AdvOptionsFilename: String = 'NOSODATA' + DirectorySeparator + 'advopt.txt'; |
AppClosing: Boolean = False; |
AppLaunching: Boolean = True; |
ArrayCriptoOp: array of TCryptoOperation; |
AutoDetectMasterNodeIP: Boolean = False; |
AutoServerMode: Boolean = False; |
BlockDatabaseEnabled: Boolean = False; |
BlockHeadersZipFileName: String = 'NOSODATA' + DirectorySeparator + 'blchhead.zip'; |
BlocksAccessLock: TRTLCriticalSection; |
BuildingBlock: Integer = 0; |
BuildNMSBlock: Int64 = 0; |
ClosedAppFilename: String = 'NOSODATA' + DirectorySeparator + 'LOGS' +
DirectorySeparator + 'proclo.dat'; |
CloseOnStart: Boolean = True; |
CloseRequest: Boolean = False; |
ClosingAppLock: TRTLCriticalSection; |
ConnectedRotor: Integer = 0; |
ConsoleLogFilename: String = 'NOSODATA' + DirectorySeparator +
'LOGS' + DirectorySeparator + 'console.txt'; |
CryptoThread: TCryptoThread; |
CryptoThreadLock: TRTLCriticalSection; |
CurrentBalance: Int64 = 0; |
DeepDebugLogFilename: String = 'NOSODATA' + DirectorySeparator +
'LOGS' + DirectorySeparator + 'deepdeb.txt'; |
EnableAutoUpdate: Boolean = True; |
EnableMultiSend: Boolean = False; |
EnableRPCAutoStart: Boolean = False; |
EventLogFilename: String = 'NOSODATA' + DirectorySeparator + 'LOGS' +
DirectorySeparator + 'eventlog.txt'; |
ExceptionLogFilename: String = 'NOSODATA' + DirectorySeparator +
'LOGS' + DirectorySeparator + 'exceptlog.txt'; |
Form1: TForm1; |
FormState_Heigth: Integer; |
FormState_Left: Integer; |
FormState_Status: Integer; |
FormState_Top: Integer; |
FormState_Width: Integer; |
FullNodeMode: Boolean = True; |
GVTMarksDirectory: String = 'NOSODATA' + DirectorySeparator +
'SUMMARKS' + DirectorySeparator + 'GVTS' + DirectorySeparator; |
HideEmptyBalances: Boolean = False; |
IdsProcessedLock: TRTLCriticalSection; |
IncomingAmount: Int64 = 0; |
IndexerThread: TIndexerThread; |
InfoPanelTime: Integer = 0; |
IsConnectedToNetwork: Boolean = False; |
IsRebuildingSummary: Boolean = False; |
KeepAliveThread: TKeepAliveThread; |
KeepServerOn: Boolean = False; |
LanguageSetting: String = 'en'; |
LastEngineUpdate: Int64 = 0; |
LastExecutedCommand: String = ''; |
LastLogEntry: String = ''; |
LastMainnetSyncTime: Int64 = 0; |
LastMasternodeGridUpdate: Int64 = 0; |
LastMasterNodeReportTime: Int64 = 0; |
LastPingTime: Int64; |
LastPoUpdate: String = MainnetVersion + NodeRelease; |
LastTryServerOn: Int64 = 0; |
LogsDirectory: String = 'NOSODATA' + DirectorySeparator + 'LOGS' + DirectorySeparator; |
LogUpdateThread: TLogUpdateThread; |
MarksDirectory: String = 'NOSODATA' + DirectorySeparator + 'SUMMARKS' +
DirectorySeparator; |
MasterNodesInfoArray: array of TMasterNodeInfo; |
MasternodesRandomWait: Integer = 0; |
MasterNodeUpdaterThread: TMasterNodeUpdaterThread; |
MaxAllowedPeers: Integer = 50; |
MaxOutgoingConnections: Integer = 3; |
MessageSenderThread: TMessageSenderThread; |
NodeConnectionStatus: Integer = 0; |
NodeFTPLogFilename: String = 'NOSODATA' + DirectorySeparator +
'LOGS' + DirectorySeparator + 'nodeftp.txt'; |
NosoCFGStrLock: TRTLCriticalSection; |
OutgoingAmount: Int64 = 0; |
OutgoingMessagesMP: TStringList; |
OutgoingMessagesMPLock: TRTLCriticalSection; |
PendingRestart: Int64 = 0; |
PerformanceLogFilename: String = 'NOSODATA' + DirectorySeparator +
'LOGS' + DirectorySeparator + 'performance.txt'; |
PosWarningThreshold: Int64 = 7; |
ProcessedCommandLines: TStringList; |
ProcessedOrderIDs: array of String; |
ProcessLinesLock: TRTLCriticalSection; |
ReportLogFilename: String = 'NOSODATA' + DirectorySeparator + 'LOGS' +
DirectorySeparator + 'report.txt'; |
RestartNodeAfterExit: Boolean = False; |
RPCAllowedIPs: String = '127.0.0.1,localhost'; |
RPCBackupDirectory: String = 'NOSODATA' + DirectorySeparator +
'SUMMARKS' + DirectorySeparator + 'RPC' + DirectorySeparator; |
RPCBannedIPs: String = ''; |
RPCPassword: String = 'default'; |
RPCPort: Integer = 8078; |
SaveNewRPCConnections: Boolean = False; |
SendErrorReports: Boolean = False; |
ServerStartTime: Int64 = 0; |
ShowAdvOptions: Boolean = False; |
ShowWalletForm: Boolean = False; |
SkipBlockSync: Boolean = False; |
StopGUI: Boolean = False; |
TotalPingCount: Int64 = 0; |
UpdateDataPanel: Boolean = True; |
UpdateDirPanel: Boolean = False; |
UpdateMasternodesGrid: Boolean = False; |
UpdatesDirectory: String = 'NOSODATA' + DirectorySeparator + 'UPDATES' +
DirectorySeparator; |
UseRPCFilter: Boolean = True; |
Description
Functions and Procedures
procedure CloseeAppSafely(); |
|
This item has no description. |
procedure CompleteInicio(); |
|
This item has no description. |
procedure InitMainForm(); |
|
Init the mainform |
procedure UpdateStatusBar(); |
|
Updates status bar |
Types
TBlockAddresses = array of TAddress; |
|
Array of block-related addresses for network operations |
Constants
AddressPrefix = 'N'; |
|
Address prefix for this coin |
AdminHashAddress = 'N3DthVsfEUtqrgWFHTEB6F88xLkT3Df'; |
|
Admin hash address |
AdminPublicKey =
'BACo0LC7mWDn53orLANA2zKVSC1HfSe/jc/Ih7+cBQ1oh53Bu2Zo655WFmWnoKHEeaNflb1CR9WcfXuhmkKaY8Y='; |
|
Admin public key |
AuthorizedAddresses =
'N3DthVsfEUtqrgWFHTEB6F88xLkT3Df N4ZR3fKhTUod34evnEcDQX3i6XufBDU'; |
|
Authorized addresses |
AvailableMarketPairs = '/LTC'; |
|
Supported market pairs |
BlockGenerationIntervalSeconds = 600; |
|
10 minutes per block. |
BlockRewardHalvingInterval = 210000; |
|
Interval for halving the block reward |
BlockSummaryInterval = 100; |
|
Interval for block summaries |
BuildDate = 'September 2024'; |
|
The build date. |
CoinName = 'Noso'; |
|
Full name of the coin. |
CoinSymbol = 'NOSO'; |
|
Symbol of the coin |
CustomTransactionFee = 200000; |
|
0.05% fee on custom transactions |
CustomValidCharacters: String =
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890@*+-_:'; |
|
This item has no description. |
DefaultDonationAmount = 10; |
|
This item has no description. |
DefaultServerPort = 8080; |
|
This item has no description. |
DevFundsAddress: String = 'NpryectdevepmentfundsGE'; |
|
Developer funds address. |
GenesisTimestamp = 1615132800; |
|
Unix timestamp of the genesis block |
HexAlphabet: String = '0123456789ABCDEF'; |
|
This item has no description. |
HiddenCommands: String = 'CLEAR SENDPOOLSOLUTION SENDPOOLSTEPS DELBOTS'; |
|
This item has no description. |
InitialBlockReward = 5000000000; |
|
Initial block reward |
InitialDifficulty = 60; |
|
Initial difficulty for the first 20 blocks |
IsBetaRelease = False; |
|
Whether it is a beta release. |
IsOfficialRelease = True; |
|
Whether it is an official release. |
JackpotAddress: String = 'NPrjectPrtcRandmJacptE5'; |
|
Jackpot address. |
MainnetVersion = '0.4.4'; |
|
Mainnet version of the node. |
MasterNodePercentage = 2000; |
|
Masternode reward percentage (20%) |
MasterNodeStartBlock: Integer = 48010; |
|
Block to start MN payments |
MaxServerConnections = 99; |
|
This item has no description. |
MinimumTransactionFee = 10; |
|
Minimum fee for transactions |
MinimumVersionRequired = '0.4.4'; |
|
The minimum version required. |
NewMinimumTransactionFee = 1000000; |
|
Updated minimum fee for transfer |
NodeRelease = 'Ab7'; |
|
Node software release |
PoSEndBlock: Integer = 88500; |
|
Block to end PoS |
PoSPercentage = 1000; |
|
PoS reward percentage (10%) |
PoSStackCoins = 20; |
|
PoS stake requirement: supply * 20 / PoSStack |
PoSStartBlock: Integer = 8425; |
|
Block to start PoS |
PremineTotal = 1030390730000; |
|
Total premine amount. |
ProtocolUpdateBlock = 120000; |
|
This item has no description. |
ReservedWords: String = 'NULL,DELADDR'; |
|
Represents reserved keywords. |
SecurityBlocks = 4000; |
|
Number of blocks for security checks |
TotalHalvingSteps = 10; |
|
Total number of halvings |
TransferFee = 10000; |
|
0.01% fee on transfer |
ValidProtocolCommands: String =
'$PING$PONG$GETPENDING$NEWBL$GETRESUMEN$LASTBLOCK$GETCHECKS' +
'$CUSTOMORDERADMINMSGNETREQ$REPORTNODE$GETMNS$BESTHASH$MNREPO$MNCHECK' +
'GETMNSFILEMNFILEGETHEADUPDATE$GETSUMARY$GETGVTSGVTSFILE$SNDGVTGETCFGDATA' +
'SETCFGDATA$GETPSOSPSOSFILE'; |
|
Valid protocol commands used in the system |
Variables
AdvOptionsFile: textfile; |
|
This item has no description. |
AdvOptionsFilename: String = 'NOSODATA' + DirectorySeparator + 'advopt.txt'; |
|
This item has no description. |
AppClosing: Boolean = False; |
|
This item has no description. |
AppLaunching: Boolean = True; |
|
This item has no description. |
ArrayCriptoOp: array of TCryptoOperation; |
|
This item has no description. |
AutoDetectMasterNodeIP: Boolean = False; |
|
This item has no description. |
AutoServerMode: Boolean = False; |
|
This item has no description. |
BlockDatabaseEnabled: Boolean = False; |
|
This item has no description. |
BlockHeadersZipFileName: String = 'NOSODATA' + DirectorySeparator + 'blchhead.zip'; |
|
This item has no description. |
BlocksAccessLock: TRTLCriticalSection; |
|
This item has no description. |
BuildingBlock: Integer = 0; |
|
This item has no description. |
BuildNMSBlock: Int64 = 0; |
|
This item has no description. |
ClosedAppFilename: String = 'NOSODATA' + DirectorySeparator + 'LOGS' +
DirectorySeparator + 'proclo.dat'; |
|
This item has no description. |
CloseOnStart: Boolean = True; |
|
This item has no description. |
CloseRequest: Boolean = False; |
|
This item has no description. |
ClosingAppLock: TRTLCriticalSection; |
|
This item has no description. |
ConnectedRotor: Integer = 0; |
|
This item has no description. |
ConsoleLogFilename: String = 'NOSODATA' + DirectorySeparator +
'LOGS' + DirectorySeparator + 'console.txt'; |
|
This item has no description. |
CryptoThread: TCryptoThread; |
|
This item has no description. |
CryptoThreadLock: TRTLCriticalSection; |
|
This item has no description. |
CurrentBalance: Int64 = 0; |
|
This item has no description. |
DeepDebugLogFilename: String = 'NOSODATA' + DirectorySeparator +
'LOGS' + DirectorySeparator + 'deepdeb.txt'; |
|
This item has no description. |
EnableAutoUpdate: Boolean = True; |
|
This item has no description. |
EnableMultiSend: Boolean = False; |
|
This item has no description. |
EnableRPCAutoStart: Boolean = False; |
|
This item has no description. |
EventLogFilename: String = 'NOSODATA' + DirectorySeparator + 'LOGS' +
DirectorySeparator + 'eventlog.txt'; |
|
This item has no description. |
ExceptionLogFilename: String = 'NOSODATA' + DirectorySeparator +
'LOGS' + DirectorySeparator + 'exceptlog.txt'; |
|
This item has no description. |
Form1: TForm1; |
|
This item has no description. |
FormState_Heigth: Integer; |
|
This item has no description. |
FormState_Left: Integer; |
|
This item has no description. |
FormState_Status: Integer; |
|
This item has no description. |
FormState_Top: Integer; |
|
This item has no description. |
FormState_Width: Integer; |
|
This item has no description. |
FullNodeMode: Boolean = True; |
|
This item has no description. |
GVTMarksDirectory: String = 'NOSODATA' + DirectorySeparator +
'SUMMARKS' + DirectorySeparator + 'GVTS' + DirectorySeparator; |
|
This item has no description. |
HideEmptyBalances: Boolean = False; |
|
This item has no description. |
IdsProcessedLock: TRTLCriticalSection; |
|
This item has no description. |
IncomingAmount: Int64 = 0; |
|
This item has no description. |
IndexerThread: TIndexerThread; |
|
This item has no description. |
InfoPanelTime: Integer = 0; |
|
This item has no description. |
IsConnectedToNetwork: Boolean = False; |
|
This item has no description. |
IsRebuildingSummary: Boolean = False; |
|
This item has no description. |
KeepAliveThread: TKeepAliveThread; |
|
This item has no description. |
KeepServerOn: Boolean = False; |
|
This item has no description. |
LanguageSetting: String = 'en'; |
|
This item has no description. |
LastEngineUpdate: Int64 = 0; |
|
This item has no description. |
LastExecutedCommand: String = ''; |
|
This item has no description. |
LastLogEntry: String = ''; |
|
This item has no description. |
LastMainnetSyncTime: Int64 = 0; |
|
This item has no description. |
LastMasternodeGridUpdate: Int64 = 0; |
|
This item has no description. |
LastMasterNodeReportTime: Int64 = 0; |
|
This item has no description. |
LastPingTime: Int64; |
|
This item has no description. |
LastPoUpdate: String = MainnetVersion + NodeRelease; |
|
This item has no description. |
LastTryServerOn: Int64 = 0; |
|
This item has no description. |
LogsDirectory: String = 'NOSODATA' + DirectorySeparator + 'LOGS' + DirectorySeparator; |
|
This item has no description. |
LogUpdateThread: TLogUpdateThread; |
|
This item has no description. |
MarksDirectory: String = 'NOSODATA' + DirectorySeparator + 'SUMMARKS' +
DirectorySeparator; |
|
This item has no description. |
MasterNodesInfoArray: array of TMasterNodeInfo; |
|
This item has no description. |
MasternodesRandomWait: Integer = 0; |
|
This item has no description. |
MasterNodeUpdaterThread: TMasterNodeUpdaterThread; |
|
This item has no description. |
MaxAllowedPeers: Integer = 50; |
|
This item has no description. |
MaxOutgoingConnections: Integer = 3; |
|
This item has no description. |
MessageSenderThread: TMessageSenderThread; |
|
This item has no description. |
NodeConnectionStatus: Integer = 0; |
|
This item has no description. |
NodeFTPLogFilename: String = 'NOSODATA' + DirectorySeparator +
'LOGS' + DirectorySeparator + 'nodeftp.txt'; |
|
This item has no description. |
NosoCFGStrLock: TRTLCriticalSection; |
|
This item has no description. |
OutgoingAmount: Int64 = 0; |
|
This item has no description. |
OutgoingMessagesMP: TStringList; |
|
This item has no description. |
OutgoingMessagesMPLock: TRTLCriticalSection; |
|
This item has no description. |
PendingRestart: Int64 = 0; |
|
This item has no description. |
PerformanceLogFilename: String = 'NOSODATA' + DirectorySeparator +
'LOGS' + DirectorySeparator + 'performance.txt'; |
|
This item has no description. |
PosWarningThreshold: Int64 = 7; |
|
This item has no description. |
ProcessedCommandLines: TStringList; |
|
This item has no description. |
ProcessedOrderIDs: array of String; |
|
This item has no description. |
ProcessLinesLock: TRTLCriticalSection; |
|
This item has no description. |
ReportLogFilename: String = 'NOSODATA' + DirectorySeparator + 'LOGS' +
DirectorySeparator + 'report.txt'; |
|
This item has no description. |
RestartNodeAfterExit: Boolean = False; |
|
This item has no description. |
RPCAllowedIPs: String = '127.0.0.1,localhost'; |
|
This item has no description. |
RPCBackupDirectory: String = 'NOSODATA' + DirectorySeparator +
'SUMMARKS' + DirectorySeparator + 'RPC' + DirectorySeparator; |
|
This item has no description. |
RPCBannedIPs: String = ''; |
|
This item has no description. |
RPCPassword: String = 'default'; |
|
This item has no description. |
RPCPort: Integer = 8078; |
|
This item has no description. |
SaveNewRPCConnections: Boolean = False; |
|
This item has no description. |
SendErrorReports: Boolean = False; |
|
This item has no description. |
ServerStartTime: Int64 = 0; |
|
This item has no description. |
ShowAdvOptions: Boolean = False; |
|
This item has no description. |
ShowWalletForm: Boolean = False; |
|
This item has no description. |
SkipBlockSync: Boolean = False; |
|
This item has no description. |
StopGUI: Boolean = False; |
|
This item has no description. |
TotalPingCount: Int64 = 0; |
|
This item has no description. |
UpdateDataPanel: Boolean = True; |
|
This item has no description. |
UpdateDirPanel: Boolean = False; |
|
This item has no description. |
UpdateMasternodesGrid: Boolean = False; |
|
This item has no description. |
UpdatesDirectory: String = 'NOSODATA' + DirectorySeparator + 'UPDATES' +
DirectorySeparator; |
|
This item has no description. |
UseRPCFilter: Boolean = True; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.