Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IoTChainCode/itc-ts
/ functions
Functions
370 in github.com/IoTChainCode/itc-ts
⨍
Functions
370
◇
Types & classes
91
Function
isNonemptyObject
(obj: any)
src/common/validation_utils.ts:74
Function
isNonemptyString
(str: any)
src/common/validation_utils.ts:39
Method
isOpened
()
src/network/WebSocketClient.ts:111
Method
isOpening
()
src/network/WebSocketClient.ts:107
Method
isPending
* Returns true if promise is pending.
src/common/ControlledPromise.ts:30
Method
isRejected
* Returns true if promise rejected.
src/common/ControlledPromise.ts:44
Method
isSettled
* Returns true if promise fulfilled or rejected.
src/common/ControlledPromise.ts:51
Function
isValidBase64
(b64: Base64, len: number)
src/common/validation_utils.ts:78
Function
isValidDeviceAddress
(address: Address)
src/common/validation_utils.ts:62
Method
issueOrSelectNextChangeAddress
(wallet: Base64)
src/models/MyAddresses.ts:68
Method
listenerCount
(type: K)
src/events/eventbus.ts:24
Method
listenerCount
(type: K)
src/events/eventbus.ts:105
Method
listeners
(event: K)
src/events/eventbus.ts:20
Method
listeners
(event: K)
src/events/eventbus.ts:86
Function
loadUnitProps
(unit: Base64)
src/core/main_chain.ts:220
Method
on
(event: K, listener: Listener<T[K]>)
src/events/eventbus.ts:44
Method
onConnection
(ws: WebSocket, req: http.IncomingMessage)
src/network/WebSocketServer.ts:39
Method
once
(event: K, listener: Listener<T[K]>)
src/events/eventbus.ts:49
Method
permanentPubKey
()
src/core/device.ts:41
Method
promise
* Returns promise itself.
src/common/ControlledPromise.ts:16
Function
pubKeyToAddress
(pubKey: PubKey)
src/common/object_hash.ts:105
Method
put
(key: any, value: any)
src/storage/kvstore.ts:19
Method
read
(unit: Base64)
src/models/Authors.ts:9
Method
read
()
src/models/MyAddresses.ts:16
Method
read
(unit: Base64, messageIndex: number)
src/models/Messages.ts:100
Method
read
(unit: Base64)
src/models/Messages.ts:131
Method
read
(unit: Base64)
src/models/Parents.ts:5
Method
read
(unit: Base64)
src/models/Balls.ts:5
Function
readBalance
(address: Address)
src/core/balances.ts:13
Method
readLastMCI
()
src/models/MainChain.ts:9
Method
readLastUsedAddressIndex
(wallet: Base64, isChange: number)
src/models/MyAddresses.ts:53
Method
readWalletIds
()
src/wallets/Wallets.ts:12
Method
removeAllListeners
(event?: K)
src/events/eventbus.ts:14
Method
removeAllListeners
(event?: K)
src/events/eventbus.ts:66
Method
removeListener
(event: K, listener: Listener<T[K]>)
src/events/eventbus.ts:12
Method
removeListener
(event: K, listener: Listener<T[K]>)
src/events/eventbus.ts:57
Method
replaceInVar
(x)
src/core/definition.ts:5
Method
replaceWitnesses
(oldWitness: Address, newWitness: Address)
src/models/MyWitnesses.ts:15
Function
ripemd160
(data: string | Buffer)
src/common/hash.ts:3
Method
run
(sql: string, ...params)
src/storage/sqlstore.ts:37
Method
save
(unit: Unit)
src/models/Authors.ts:34
Method
save
(unit: Unit)
src/models/Messages.ts:114
Method
save
(unit: Unit)
src/models/Messages.ts:153
Method
save
(unit: Unit, sequence: string)
src/models/Units.ts:97
Method
save
(unit: Unit)
src/models/Parents.ts:17
Method
save
(unit: Unit)
src/models/Balls.ts:10
Method
save
(unit: Unit)
src/models/Witnesses.ts:49
Method
sendData
(data: any)
src/network/WebSocketClient.ts:146
Method
sendGetWitnesses
(ws: Endpoint)
src/network/Peer.ts:228
Function
sendMail
(from: string, to: string, subject: string, body: string)
src/common/mail.ts:3
Method
sendPairingMessage
(hub: string, recipientPubKey: PubKey, pairingSecret: string, reversePairingSecret: string)
src/core/device.ts:162
Method
sendPayment
(to: Address, amount: number, witnesses: Address[])
src/wallets/wallet.ts:37
Function
sendPrivatePayments
(to: Address, chains: any[], forwarded: boolean)
src/wallets/wallet_general.ts:3
Method
sendRequest
(data: any, id?: string, timeout?: number)
src/network/WebSocketClient.ts:151
Method
sendResponse
(id: string, data: any)
src/network/WebSocketClient.ts:160
Function
serializeMerkleProof
(proof: MerkleProof)
src/common/merkle.ts:53
Method
setMaxListeners
(n: number)
src/events/eventbus.ts:16
Method
setMaxListeners
(n: number)
src/events/eventbus.ts:77
Function
sha256
(data: string | Buffer)
src/common/hash.ts:15
Function
sha256Hex
(data: string | Buffer)
src/common/hash.ts:7
Method
sign
(hash: string | Buffer, privateKey: Buffer)
src/common/Signature.ts:11
Function
updateMainChain
(fromUnit: Base64, lastAddedUnit: Base64)
src/core/main_chain.ts:18
Function
updatePaidWitnesses
()
src/core/payload_commission.ts:23
Method
url
()
src/network/WebSocketClient.ts:99
Function
validateParents
(unit: Unit, lbMCI: number)
src/core/validation.ts:11
Function
validatePayment
(message: Message, unit: Unit)
src/core/validation.ts:107
Method
value
* Returns value with that promise was fulfilled (resolved or rejected).
src/common/ControlledPromise.ts:23
Function
verifyMerkleProof
(element: any, proof)
src/common/merkle.ts:70
Method
witnessBeforeThreshold
(wallet: Wallet, address: Address)
src/witness/witness.ts:158
Method
ws
()
src/network/WebSocketClient.ts:103
← previous
301–370 of 370, ranked by callers