MCPcopy Create free account

hub / github.com/IoTChainCode/itc-ts / functions

Functions370 in github.com/IoTChainCode/itc-ts

↓ 1 callersMethodreadWitnesses
()
src/models/MyWitnesses.ts:6
↓ 1 callersMethodrejectAll
(error?: any)
src/network/WebSocketClient.ts:52
↓ 1 callersMethodreplaceTemplate
(templates: any[], params: any)
src/core/definition.ts:4
↓ 1 callersMethodreset
* Resets to initial state.
src/common/ControlledPromise.ts:97
↓ 1 callersMethodresolve
* Resolves pending promise with specified `value`.
src/common/ControlledPromise.ts:79
↓ 1 callersMethodsave
(address: Address, wallet: Base64, isChange: number, addressIndex: number, definition: any[])
src/models/MyAddresses.ts:78
↓ 1 callersFunctionsendMailThroughUnixSendMail
(from: string, to: string, subject: string, body: string)
src/common/mail.ts:7
↓ 1 callersMethodsendMessageToDevice
(to: Address, subject: string, body: any)
src/core/device.ts:74
↓ 1 callersMethodsendPayment
(to: Address, amount: number, witnesses?: Address[])
src/api/api.ts:19
↓ 1 callersFunctionseparateIntoCleanDataAndChecksum
(bin: string)
src/common/checksum_hash.ts:48
↓ 1 callersFunctionsha256B64
(data: string | Buffer)
src/common/hash.ts:11
↓ 1 callersMethodsignWithLocalPrivateKey
( wallet: string, account: number, isChange: number, addressIndex: number,
src/core/signer.ts:13
↓ 1 callersMethodstart
()
src/witness/witness.ts:60
↓ 1 callersFunctiontrimParentList
(parentUnits: Base64[], witnesses: Address[])
src/core/composeParent.ts:45
↓ 1 callersFunctionupdateLatestIncludedMcIndex
(lastMCI: number, rebuiltMc: boolean)
src/core/main_chain.ts:127
↓ 1 callersFunctionupdateMC
()
src/core/main_chain.ts:117
↓ 1 callersFunctionupdateStableMcFlag
()
src/core/main_chain.ts:235
↓ 1 callersFunctionvalidatePaymentInputsAndOutputs
(payload: Payload, messageIndex: number, unit: Unit)
src/core/validation.ts:114
↓ 1 callersMethodverify
(hash: string, signature: Base64, pubKey: PubKey)
src/common/Signature.ts:16
↓ 1 callersMethodverifySigned
(signed: ISigned, signature: Base64)
src/common/Signature.ts:25
MethodaddListener
(event: K, listener: Listener<T[K]>)
src/events/eventbus.ts:6
Methodall
(sql: string, ...params)
src/storage/sqlstore.ts:32
Methodall
()
src/models/XPubKeys.ts:9
Methodall
()
src/models/Messages.ts:96
FunctioncalcEarnings
(type: string, fromMCI: number, toMCI: number, address: Address)
src/core/mc_outputs.ts:69
FunctioncalcHeadersCommissions
()
src/core/headers_commission.ts:7
FunctioncalcWitnessEarnings
(type: string, fromMCI: number, toMCI: number, address: Address)
src/core/payload_commission.ts:5
FunctioncheckNoSameAddressInDifferentParents
()
src/core/validation.ts:14
FunctioncleanNulls
(obj: any)
src/common/object_hash.ts:97
Methodclose
()
src/network/WebSocketClient.ts:165
Methodclose
()
src/network/WebSocketServer.ts:24
FunctioncompareUnits
(unit1: Base64, unit2: Base64)
src/core/graph.ts:6
Methodconnect
(ws?: string | WebSocketClient)
src/network/Peer.ts:57
Methodconstructor
(readonly port: number, readonly ipv4?: string, readonly ipv6?: string)
src/network/SocketAddr.ts:7
Methodconstructor
()
src/network/WebSocketClient.ts:35
Methodconstructor
(ws: string | WebSocket, req?: http.IncomingMessage)
src/network/WebSocketClient.ts:75
Methodconstructor
()
src/network/WebSocketServer.ts:20
Methodconstructor
()
src/network/Peer.ts:26
Methodconstructor
( readonly address: Address, readonly authentifiers: Authentifiers, readonly definitio
src/core/author.ts:7
Methodconstructor
( readonly parentUnits: Base64[], readonly lastBall: Base64, readonly lastBallUnit: Ba
src/core/unit.ts:45
Methodconstructor
(privateKey?: DevicePrivKey)
src/core/device.ts:28
Methodconstructor
(readonly xPrivKey)
src/core/signer.ts:10
Methodconstructor
( readonly address: Address, readonly amount: number, )
src/core/message.ts:32
Methodconstructor
( readonly app: string, readonly payloadLocation: string, inputs: Input[], out
src/core/message.ts:48
Methodconstructor
()
src/storage/kvstore.ts:15
Methodconstructor
(readonly str: string)
src/events/eventbus.test.ts:4
Methodconstructor
(readonly num: number)
src/events/eventbus.test.ts:8
Methodconstructor
(readonly wallet: Wallet, readonly address: Address, readonly peer: Peer)
src/api/api.ts:8
Methodconstructor
(readonly wallet: Wallet)
src/witness/witness.ts:57
Methodconstructor
(readonly xPrivKey, readonly mnemonic: string)
src/common/HDKey.ts:14
Methodconstructor
( readonly wallet: Base64, readonly key: HDKey, )
src/wallets/wallet.ts:18
Functiondecode
(encoded: string | Buffer)
src/common/base32.ts:60
MethoddecryptPackage
(encrypted: EncryptedPackage, pubKey: PubKey, privateKey: DevicePrivKey)
src/common/encrypt.ts:17
MethoddecryptPackage
(encrypted: EncryptedPackage, pubKey: PubKey, privateKey: DevicePrivKey)
src/common/encrypt.ts:62
Methoddel
(key: any)
src/storage/kvstore.ts:27
FunctionderiveAddress
(pubKey: PubKey)
src/common/address.ts:3
MethodderiveBIP44
(type: number, account: number, change: number, addressIndex: number)
src/common/HDKey.ts:29
MethodderivePublicKey
(isChange: number, addressIndex: number)
src/common/HDKey.ts:36
FunctiondeserializeMerkleProof
(serializedProof: string)
src/common/merkle.ts:61
FunctiondetermineIfIncludedOrEqual
(earlierUnit: Base64, laterUnits: Base64[])
src/core/graph.ts:172
FunctiondetermineIfStableInLaterUnits
(earlierUnit: string, laterUnits: any[])
src/core/main_chain.ts:11
MethoddeviceHub
()
src/core/device.ts:61
Methodemit
(event: K, arg: T[K])
src/events/eventbus.ts:90
Functionencode
(plain: string | Buffer)
src/common/base32.ts:20
MethodencryptMessage
(obj: any, pubKey: PubKey)
src/common/encrypt.ts:27
MethodephemeralPrivateKey
()
src/core/device.ts:45
MethodephemeralPubKey
()
src/core/device.ts:49
MethodeventNames
()
src/events/eventbus.ts:26
MethodeventNames
()
src/events/eventbus.ts:109
Methodexec
(sql: string)
src/storage/sqlstore.ts:42
MethodfindLastBallMciOfMci
(mci: number)
src/models/MainChain.ts:17
FunctionfindMcIndexIntervalToTargetAmount
(type: string, address: Address, maxMCI: number, targetAmount: number)
src/core/mc_outputs.ts:20
Methodget
(sql: string, ...params)
src/storage/sqlstore.ts:27
Methodget
(key: any)
src/storage/kvstore.ts:23
FunctiongetBallHash
(unit: any, arrParentBalls: any, arrSkiplistBalls: any, bNonserial: any)
src/common/object_hash.ts:78
FunctiongetChash288
(obj: any)
src/common/object_hash.ts:12
FunctiongetChash288
(data: string)
src/common/checksum_hash.ts:148
FunctiongetDeviceMessageHashToSign
(objDeviceMessage: any)
src/common/object_hash.ts:109
FunctiongetHeadersSize
(unit: Unit)
src/common/object_length.ts:5
MethodgetMaxListeners
()
src/events/eventbus.ts:18
MethodgetMaxListeners
()
src/events/eventbus.ts:82
FunctiongetMaxSpendableMciForLastBallMci
(lastBallMCI: number)
src/core/headers_commission.ts:106
FunctiongetMaxSpendableMciForLastBallMci
(lastBallMCI: number)
src/core/payload_commission.ts:19
FunctiongetMerkleProof
(elements: any[], elementIndex: number)
src/common/merkle.ts:22
FunctiongetMerkleRoot
(elements: any[])
src/common/merkle.ts:9
FunctiongetObjHashHex
(obj: any)
src/common/object_hash.ts:20
FunctiongetPackageJsonDir
(startDir: string)
src/common/desktop.ts:22
FunctiongetTotalPayloadSize
(unit: Unit)
src/common/object_length.ts:20
FunctiongetUnitHash
(unit: Unit)
src/common/object_hash.ts:50
FunctiongetUnitHashToSign
(objUnit: any)
src/common/object_hash.ts:73
MethodgetUnixTimestamp
(date: string)
src/storage/sqlstore.ts:51
MethodgetWitnesses
(ws: string | WebSocketClient)
src/network/Peer.ts:129
MethodhandleGetWitnesses
(ws: WebSocketClient, id: string)
src/network/Peer.ts:235
FunctionisArrayOfLength
(arr: any[], len: number)
src/common/validation_utils.ts:70
MethodisCalled
* Returns true if promise already called via `.call()` method.
src/common/ControlledPromise.ts:58
FunctionisChashValid
(encoded: string)
src/common/checksum_hash.ts:156
MethodisClosed
()
src/network/WebSocketClient.ts:119
MethodisClosing
()
src/network/WebSocketClient.ts:115
MethodisFulfilled
* Returns true if promise is fulfilled.
src/common/ControlledPromise.ts:37
FunctionisGenesisBall
(ball: Base64)
src/core/genesis.ts:13
← previousnext →201–300 of 370, ranked by callers