1
0
forked from circlecloud/tera

feat: format code move type def

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-07-11 21:54:41 +08:00
parent f8fcab7929
commit 92a1edb789
5 changed files with 116 additions and 70 deletions

96
src/global.d.ts vendored
View File

@@ -279,54 +279,54 @@ declare global {
NO_HISTORY_MODE: boolean;
//#endregion
//#region crypto-library.ts
MAX_SUPER_VALUE_POW: number;
GetHexFromAddres: Function;
GetArr32FromHex: Function;
GetAddresFromHex: Function;
GetHexAddresFromPublicKey: Function;
GetHexFromArr: Function;
GetArrFromHex: Function;
GetHexFromArrBlock: Function;
GetPublicKeyFromAddres: Function;
CheckDevelopSign: Function;
CheckContextSecret: Function;
GetSignHash: Function;
GetVerifyHash: Function;
GetKeyPair: Function;
GetKeyPairTest: Function;
GetHashWithValues: Function;
CreateNoncePOWExtern: Function;
CreateNoncePOWExternMinPower: Function;
CreateNoncePOWInner: Function;
CreateAddrPOW: Function;
CalcMerkl3FromArray: Function;
CalcMerkl0FromArray: Function;
ClientHex: Function;
CalcHash3FromArray: Function;
CalcHashFromArray: Function;
CalcMerklFromArray: Function;
CalcTreeHashFromArrBody: Function;
UpdateMerklTree: Function;
GetMerkleProof: Function;
CheckMerkleProof: Function;
IsZeroArr: Function;
GetHashWithNonce: Function;
GetPowPower: Function;
GetArrFromValue: Function;
GetPowValue: Function;
Mesh: Function;
Encrypt: Function;
Decrypt: Function;
toUTF8Array: Function;
Utf8ArrayToStr: Function;
GetArrFromStr: Function;
IsDeveloperAccount: Function;
DEVELOP_PUB_KEY_ARR: Buffer[] | string[];
DEVELOP_PUB_KEY: any;
DEVELOP_PUB_KEY0: Buffer;
ARR_PUB_KEY: any;
//#endregion
// //#region crypto-library.ts
// MAX_SUPER_VALUE_POW: number;
// GetHexFromAddres: Function;
// GetArr32FromHex: Function;
// GetAddresFromHex: Function;
// GetHexAddresFromPublicKey: Function;
// GetHexFromArr: Function;
// GetArrFromHex: Function;
// GetHexFromArrBlock: Function;
// GetPublicKeyFromAddres: Function;
// CheckDevelopSign: Function;
// CheckContextSecret: Function;
// GetSignHash: Function;
// GetVerifyHash: Function;
// GetKeyPair: Function;
// GetKeyPairTest: Function;
// GetHashWithValues: Function;
// CreateNoncePOWExtern: Function;
// CreateNoncePOWExternMinPower: Function;
// CreateNoncePOWInner: Function;
// CreateAddrPOW: Function;
// CalcMerkl3FromArray: Function;
// CalcMerkl0FromArray: Function;
// ClientHex: Function;
// CalcHash3FromArray: Function;
// CalcHashFromArray: Function;
// CalcMerklFromArray: Function;
// CalcTreeHashFromArrBody: Function;
// UpdateMerklTree: Function;
// GetMerkleProof: Function;
// CheckMerkleProof: Function;
// IsZeroArr: Function;
// GetHashWithNonce: Function;
// GetPowPower: Function;
// GetArrFromValue: Function;
// GetPowValue: Function;
// Mesh: Function;
// Encrypt: Function;
// Decrypt: Function;
// toUTF8Array: Function;
// Utf8ArrayToStr: Function;
// GetArrFromStr: Function;
// IsDeveloperAccount: Function;
// DEVELOP_PUB_KEY_ARR: Buffer[] | string[];
// DEVELOP_PUB_KEY: any;
// DEVELOP_PUB_KEY0: Buffer;
// ARR_PUB_KEY: any;
// //#endregion
//#region log-strict.ts
CheckSizeLogFile: Function;