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
↓ 1 callers
Method
_handleError
(err: Error)
src/network/WebSocketClient.ts:206
↓ 1 callers
Method
_handleFulfill
(value)
src/common/ControlledPromise.ts:132
↓ 1 callers
Method
_handleMessage
(event)
src/network/WebSocketClient.ts:188
↓ 1 callers
Method
_handleOpen
(event)
src/network/WebSocketClient.ts:184
↓ 1 callers
Method
_handleReject
(value)
src/common/ControlledPromise.ts:138
↓ 1 callers
Method
_handleResponse
(id: string, data: any)
src/network/WebSocketClient.ts:202
↓ 1 callers
Method
_handleTimeout
()
src/common/ControlledPromise.ts:144
↓ 1 callers
Method
_sendPreparedMessageToHub
(ws: WebSocketClient | string, recipientPubKey: PubKey, messageHash: Base64, json: string)
src/core/device.ts:120
↓ 1 callers
Method
_tryAttachToPromise
(p)
src/common/ControlledPromise.ts:186
↓ 1 callers
Function
addBalls
(mci: number)
src/core/main_chain.ts:398
↓ 1 callers
Method
addListener
(event: K, listener: Listener<T[K]>)
src/events/eventbus.ts:35
↓ 1 callers
Method
broadcastData
(subject: string, body: any)
src/network/Peer.ts:84
↓ 1 callers
Method
broadcastInboundData
(subject: string, body: any)
src/network/Peer.ts:91
↓ 1 callers
Method
calcHeadersCommission
()
src/core/unit.ts:58
↓ 1 callers
Function
calcLIMCIs
()
src/core/main_chain.ts:158
↓ 1 callers
Method
calcPayloadCommission
()
src/core/unit.ts:62
↓ 1 callers
Function
checkAllLatestIncludedMcIndexesAreSet
()
src/core/main_chain.ts:190
↓ 1 callers
Method
checkAndWitness
(wallet: Wallet, address: Address)
src/witness/witness.ts:89
↓ 1 callers
Method
checkForUnconfirmedUnits
(distance2threshold: number)
src/witness/witness.ts:135
↓ 1 callers
Method
checkUnitStatus
(unit: Base64)
src/models/Units.ts:132
↓ 1 callers
Function
compareUnitsByProps
(unitProps1: any, unitProps2: any)
src/core/graph.ts:19
↓ 1 callers
Function
composeGenesisInputs
()
src/core/composer.ts:16
↓ 1 callers
Function
composeGenesisOutputs
(witnesses: Address[])
src/core/composer.ts:25
↓ 1 callers
Function
composeInputs
( targetAmount: number, payingAddresses: Address[], lastBallMCI: number, )
src/core/composer.ts:57
↓ 1 callers
Function
composeOutputs
(outputs: Output[], changeAddress: Address, change: number)
src/core/composer.ts:65
↓ 1 callers
Function
composeParent
(witnesses: Address[])
src/core/composeParent.ts:57
↓ 1 callers
Function
composeUnit
( witnesses: Address[], signingAddresses: Address[], payingAddresses: Address[], changeAddress
src/core/composer.ts:87
↓ 1 callers
Function
composeWitnessListUnit
(witnesses: Address[], lastBallMCI: number)
src/core/composer.ts:83
↓ 1 callers
Method
create
(id: string, fn: (...params: any[]) => Promise<void>, timeout: number)
src/network/WebSocketClient.ts:39
↓ 1 callers
Method
createByMnemonic
(mnemonicPhrase: string, passphrase: string)
src/common/HDKeys.ts:43
↓ 1 callers
Method
createByPassphrase
(passphrase: string)
src/common/HDKeys.ts:34
↓ 1 callers
Function
createListOfBestChildren
(parentUnits: Base64[])
src/core/main_chain.ts:301
↓ 1 callers
Method
createOptimalOutputs
(address: Address)
src/witness/witness.ts:67
↓ 1 callers
Method
del
(key: any)
src/storage/kvstore.ts:9
↓ 1 callers
Method
deriveDevicePrivKey
(xPrivKey)
src/common/HDKey.ts:40
↓ 1 callers
Method
derivePubKey
(xPubKeyStr: PubKey, isChange: number, addressIndex: number)
src/common/HDKeys.ts:49
↓ 1 callers
Function
determineIfIncluded
(earlierUnit: Base64, laterUnits: Base64[])
src/core/graph.ts:116
↓ 1 callers
Method
deviceName
()
src/core/device.ts:57
↓ 1 callers
Method
escape
(xs: any[])
src/storage/sqlstore.ts:47
↓ 1 callers
Function
evaluate
(arr: any[], path: string)
src/wallets/Wallets.ts:91
↓ 1 callers
Method
exec
(sql: string)
src/storage/sqlstore.ts:11
↓ 1 callers
Function
extractComponents
(variable: any)
src/common/string_utils.ts:11
↓ 1 callers
Function
findAddress
(address: Address, signingPath: any)
src/core/signer.ts:61
↓ 1 callers
Method
findByDeviceAddress
(devAdd: DeviceAddress)
src/models/XPubKeys.ts:17
↓ 1 callers
Function
findLastStableMcBall
(witnesses: Address[])
src/core/composeParent.ts:26
↓ 1 callers
Function
findStableConflictingUnits
(unitProps: any)
src/core/main_chain.ts:375
↓ 1 callers
Method
findWitnessListUnit
(witnesses: Address[], lbMCI: number)
src/models/Witnesses.ts:10
↓ 1 callers
Method
forwardData
(ws: WebSocketClient, subject: string, body: any)
src/network/Peer.ts:95
↓ 1 callers
Method
genPrivateKey
()
src/core/device.ts:65
↓ 1 callers
Method
get
(sql: string, ...params: any[])
src/storage/sqlstore.ts:5
↓ 1 callers
Function
getAppsDataDir
()
src/common/desktop.ts:9
↓ 1 callers
Function
getChash160
(obj: any)
src/common/object_hash.ts:8
↓ 1 callers
Function
getChash160
(data: string)
src/common/checksum_hash.ts:144
↓ 1 callers
Function
getDeviceAddressesBySigningPaths
(definitionTemplates: any[])
src/wallets/Wallets.ts:90
↓ 1 callers
Function
getSimilarMcis
(mci: number)
src/core/main_chain.ts:450
↓ 1 callers
Function
getUnitContentHash
(unit: Unit)
src/common/object_hash.ts:46
↓ 1 callers
Function
getWinnerInfo
(children: any[])
src/core/headers_commission.ts:88
↓ 1 callers
Function
goDeeper
(memberAddress: Address, pathPrefix: string)
src/core/signer.ts:83
↓ 1 callers
Function
goDown
(startUnits)
src/core/graph.ts:84
↓ 1 callers
Function
goDownAndCollectBestChildren
(startUnits: Base64[])
src/core/main_chain.ts:308
↓ 1 callers
Function
goDownAndUpdateMainChainIndex
(lastMCI: number, lastMCU: Base64)
src/core/main_chain.ts:76
↓ 1 callers
Function
goUp
(startUnits: Base64[])
src/core/main_chain.ts:103
↓ 1 callers
Function
goUpFromUnit
(unit: Base64)
src/core/main_chain.ts:24
↓ 1 callers
Method
handleBroadcastUnit
(ws: WebSocketClient, unit: Unit)
src/network/Peer.ts:178
↓ 1 callers
Method
handleGetPeers
(ws: WebSocketClient, id: string)
src/network/Peer.ts:167
↓ 1 callers
Method
handleMyAddr
(ws: WebSocketClient, addr: string)
src/network/Peer.ts:209
↓ 1 callers
Method
handlePing
(ws: Endpoint)
src/network/Peer.ts:224
↓ 1 callers
Function
initMaxSpendableMci
()
src/core/headers_commission.ts:100
↓ 1 callers
Method
insertWitnesses
(witnesses: Address[])
src/models/MyWitnesses.ts:29
↓ 1 callers
Function
isNonemptyArray
(arr: any[])
src/common/validation_utils.ts:66
↓ 1 callers
Function
isPositiveInteger
(int: any)
src/common/validation_utils.ts:25
↓ 1 callers
Function
isValidAddressAnyCase
(address: Address)
src/common/validation_utils.ts:54
↓ 1 callers
Method
isWalletExists
(wallet?: string)
src/wallets/Wallets.ts:79
↓ 1 callers
Method
issueAddress
(wallet: Base64, isChange: number, addressIndex: number)
src/models/MyAddresses.ts:72
↓ 1 callers
Method
issueGenesis
(witnesses: Address[])
src/api/api.ts:23
↓ 1 callers
Function
main
()
src/witness/witness.ts:173
↓ 1 callers
Method
minRetrievableMCI
()
src/models/MainChain.ts:5
↓ 1 callers
Function
mixChecksumIntoCleanData
(bincleanData: string, binChecksum: string)
src/common/checksum_hash.ts:75
↓ 1 callers
Method
newPaymentMessage
(inputs: Input[], outputs: Output[])
src/core/message.ts:58
↓ 1 callers
Method
onData
(fn: (data: any) => Promise<void>)
src/network/WebSocketClient.ts:91
↓ 1 callers
Method
onRequest
(fn: (id: string, data: any) => Promise<any>)
src/network/WebSocketClient.ts:95
↓ 1 callers
Method
once
(event: K, listener: Listener<T[K]>)
src/events/eventbus.ts:10
↓ 1 callers
Method
open
(filename: string = ':memory:')
src/storage/sqlstore.ts:22
↓ 1 callers
Method
permanentPrivateKey
()
src/core/device.ts:37
↓ 1 callers
Function
pickParentUnits
(witnesses: Base64[])
src/core/composeParent.ts:12
↓ 1 callers
Function
propagateLIMCI
()
src/core/main_chain.ts:197
↓ 1 callers
Function
quintetCount
(buff: Buffer)
src/common/base32.ts:15
↓ 1 callers
Method
readBalance
(address?: Address)
src/wallets/wallet.ts:30
↓ 1 callers
Function
readFullSigningPaths
(address: Address, signingDeviceAddresses: Address[])
src/core/signer.ts:80
↓ 1 callers
Function
readFundedAddresses
(wallet: Base64, estimatedAmount: number)
src/wallets/wallet.ts:85
↓ 1 callers
Function
readFundedAndSigningAddresses
( walletId: Base64, estimatedAmount: number, signingAddresses: Address[], )
src/wallets/wallet.ts:75
↓ 1 callers
Function
readLastStableMcUnit
()
src/core/main_chain.ts:226
↓ 1 callers
Function
readMaxSpendableMcIndex
(type: string)
src/core/mc_outputs.ts:14
↓ 1 callers
Method
readNextAddressIndex
(wallet: Base64, isChange: number)
src/models/MyAddresses.ts:39
↓ 1 callers
Function
readNextSpendableMcIndex
(type: string, address: Address)
src/core/mc_outputs.ts:3
↓ 1 callers
Function
readNumberOfWitnessingsAvailable
(address: Address, available: number)
src/witness/witness.ts:24
↓ 1 callers
Method
readPropsOfUnits
(earlierUnit: string, laterUnits: any[])
src/models/Units.ts:51
↓ 1 callers
Method
readStaticUnitProps
(unit: Base64)
src/models/Units.ts:23
↓ 1 callers
Function
readUtxoForAmount
(addresses: Address[], lastBallMCI: number, amount: number)
src/core/composer.ts:139
↓ 1 callers
Method
readWalletAddresses
(wallet: string)
src/wallets/Wallets.ts:53
← previous
next →
101–200 of 370, ranked by callers