Unit Noso.WallCon

Description

This item has no description.

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Packed Record WalletData  

Functions and Procedures

function ChangeWallArrPos(PosA, PosB: Integer): Boolean;
procedure ClearWalletArray();
procedure ClearWallPendings();
function CreateNewWallet(): Boolean;
function GetAddressFromFile(FileLocation: String; out WalletInfo: WalletData): Boolean;
function GetWallArrIndex(Index: Integer): WalletData;
function GetWalletAsStream(out LStream: TMemoryStream): Int64;
function ImportAddressesFromBackup(BakFolder: String): Integer;
function InsertToWallArr(LData: WalletData): Boolean;
function LenWallArr(): Integer;
function LoadWallet(wallet: String): Boolean;
function SaveAddresstoFile(FileName: String; LData: WalletData): Boolean;
function SaveWalletToFile(): Boolean;
procedure SetPendingForAddress(Index: Integer; Value: Int64);
function SetWalletFileName(Fname: String): Boolean;
function VerifyAddressOnDisk(HashAddress: String): Boolean;
function WallAddIndex(Address: String): Integer;

Variables

FileWallet: file of WalletData;
WalletArray: array of walletData;
WalletArrayLocks: TRTLCriticalSection;
WalletFileLock: TRTLCriticalSection;
WalletFilename: String = 'NOSODATA' + DirectorySeparator + 'wallet.pkw';

Description

Functions and Procedures

function ChangeWallArrPos(PosA, PosB: Integer): Boolean;

This item has no description.

procedure ClearWalletArray();

This item has no description.

procedure ClearWallPendings();

This item has no description.

function CreateNewWallet(): Boolean;

Creates a new wallet file with a new generated address

function GetAddressFromFile(FileLocation: String; out WalletInfo: WalletData): Boolean;

Import an address data from a file

function GetWallArrIndex(Index: Integer): WalletData;

This item has no description.

function GetWalletAsStream(out LStream: TMemoryStream): Int64;

Load the wallet file into a memory stream

function ImportAddressesFromBackup(BakFolder: String): Integer;

Verify if all baked up keys are present on active wallet

function InsertToWallArr(LData: WalletData): Boolean;

This item has no description.

function LenWallArr(): Integer;

This item has no description.

function LoadWallet(wallet: String): Boolean;

This item has no description.

function SaveAddresstoFile(FileName: String; LData: WalletData): Boolean;

Saves an address info to a specific file

function SaveWalletToFile(): Boolean;

Save the wallet array to the file

procedure SetPendingForAddress(Index: Integer; Value: Int64);

This item has no description.

function SetWalletFileName(Fname: String): Boolean;

Set the wallet filename; if not exists, returns false

function VerifyAddressOnDisk(HashAddress: String): Boolean;

This item has no description.

function WallAddIndex(Address: String): Integer;

This item has no description.

Variables

FileWallet: file of WalletData;

Wallet addresses

WalletArray: array of walletData;

This item has no description.

WalletArrayLocks: TRTLCriticalSection;

This item has no description.

WalletFileLock: TRTLCriticalSection;

This item has no description.

WalletFilename: String = 'NOSODATA' + DirectorySeparator + 'wallet.pkw';

This item has no description.


Generated by PasDoc 0.16.0-snapshot.