MCPcopy Create free account

hub / github.com/conradoqg/naivecoin / functions

Functions99 in github.com/conradoqg/naivecoin

↓ 15 callersMethodfromJson
(data)
lib/operator/wallet.js:68
↓ 7 callersMethodhash
(any)
lib/util/cryptoUtil.js:4
↓ 6 callersMethodgetDifficulty
(index)
lib/blockchain/index.js:59
↓ 6 callersMethodwrite
(data)
lib/util/db.js:19
↓ 5 callersMethodbroadcast
(fn, ...args)
lib/node/index.js:163
↓ 5 callersMethodgetWalletById
(walletId)
lib/operator/index.js:43
↓ 5 callersMethodrandomId
(size = 64)
lib/util/cryptoUtil.js:10
↓ 4 callersMethodgetLastBlock
()
lib/blockchain/index.js:55
↓ 4 callersMethodtoHex
(data)
lib/util/cryptoEdDSAUtil.js:34
↓ 3 callersMethodaddBlock
(newBlock, emit = true)
lib/blockchain/index.js:117
↓ 3 callersMethodaddTransaction
(newTransaction, emit = true)
lib/blockchain/index.js:134
↓ 3 callersFunctioncreateNaivecoin
(name, host, port, peers, removeData = true)
test/integrationTest.js:19
↓ 3 callersMethodgetAllBlocks
()
lib/blockchain/index.js:43
↓ 3 callersMethodgetUnspentTransactionsForAddress
(address)
lib/blockchain/index.js:245
↓ 3 callersMethodread
(prototype)
lib/util/db.js:10
↓ 3 callersMethodstop
()
lib/httpServer/index.js:262
↓ 3 callersMethodtoHash
()
lib/blockchain/block.js:28
↓ 2 callersMethodcheck
()
lib/blockchain/transaction.js:53
↓ 2 callersMethodcheckBlock
(newBlock, previousBlock, referenceBlockchain = this.blocks)
lib/blockchain/index.js:153
↓ 2 callersMethodcheckReceivedBlock
(block)
lib/node/index.js:183
↓ 2 callersMethodcheckReceivedBlocks
(blocks)
lib/node/index.js:187
↓ 2 callersMethodcheckWalletPassword
(walletId, passwordHash)
lib/operator/index.js:32
↓ 2 callersMethodconnectToPeers
(newPeers)
lib/node/index.js:37
↓ 2 callersMethodgenerateKeyPairFromSecret
(secret)
lib/util/cryptoEdDSAUtil.js:14
↓ 2 callersMethodgenerateSecret
()
lib/operator/wallet.js:33
↓ 2 callersMethodgetAllTransactions
()
lib/blockchain/index.js:64
↓ 2 callersMethodgetDifficulty
()
lib/blockchain/block.js:33
↓ 2 callersMethodgetTransactionById
(id)
lib/blockchain/index.js:68
↓ 2 callersMethodgetTransactionFromBlocks
(transactionId)
lib/blockchain/index.js:72
↓ 2 callersMethodlisten
(host, port)
lib/httpServer/index.js:252
↓ 2 callersMethodsign
(secretKey)
lib/operator/transactionBuilder.js:39
↓ 2 callersMethodtoHash
()
lib/blockchain/transaction.js:48
↓ 1 callersMethodaddWallet
(wallet)
lib/operator/index.js:21
↓ 1 callersMethodbuild
()
lib/operator/transactionBuilder.js:48
↓ 1 callersMethodchange
(changeAddress)
lib/operator/transactionBuilder.js:29
↓ 1 callersMethodcheckChain
(blockchainToValidate)
lib/blockchain/index.js:98
↓ 1 callersMethodcheckTransaction
(transaction, referenceBlockchain = this.blocks)
lib/blockchain/index.js:210
↓ 1 callersMethodconnectToPeer
(newPeer)
lib/node/index.js:32
↓ 1 callersMethodcreateTransaction
(walletId, fromAddressId, toAddressId, amount, changeAddressId)
lib/operator/index.js:71
↓ 1 callersMethodcreateWalletFromPassword
(password)
lib/operator/index.js:27
↓ 1 callersMethodfee
(amount)
lib/operator/transactionBuilder.js:34
↓ 1 callersMethodfrom
(listOfUTXO)
lib/operator/transactionBuilder.js:18
↓ 1 callersMethodfromJson
(data)
lib/blockchain/block.js:43
↓ 1 callersMethodfromPassword
(password)
lib/operator/wallet.js:54
↓ 1 callersMethodgenerateAddress
()
lib/operator/wallet.js:13
↓ 1 callersMethodgenerateAddressForWallet
(walletId)
lib/operator/index.js:47
↓ 1 callersMethodgenerateNextBlock
(rewardAddress, feeAddress, blockchain)
lib/miner/index.js:54
↓ 1 callersMethodgetAddresses
()
lib/operator/wallet.js:50
↓ 1 callersMethodgetAddressesForWallet
(walletId)
lib/operator/index.js:56
↓ 1 callersMethodgetBalanceForAddress
(addressId)
lib/operator/index.js:64
↓ 1 callersMethodgetBlockByHash
(hash)
lib/blockchain/index.js:51
↓ 1 callersMethodgetBlockByIndex
(index)
lib/blockchain/index.js:47
↓ 1 callersMethodgetConfirmation
(peer, transactionId)
lib/node/index.js:138
↓ 1 callersMethodgetConfirmations
(transactionId)
lib/node/index.js:152
↓ 1 callersMethodgetLatestBlock
(peer)
lib/node/index.js:72
↓ 1 callersMethodgetSecretKeyByAddress
(address)
lib/operator/wallet.js:46
↓ 1 callersMethodgetTransactions
(peer)
lib/node/index.js:124
↓ 1 callersMethodgetWallets
()
lib/operator/index.js:39
↓ 1 callersMethodhookBlockchain
()
lib/node/index.js:17
↓ 1 callersMethodinit
()
lib/blockchain/index.js:30
↓ 1 callersMethodinitConnection
(peer)
lib/node/index.js:55
↓ 1 callersMethodmine
(rewardAddress, feeAddress)
lib/miner/index.js:14
↓ 1 callersMethodproveWorkFor
(jsonBlock, difficulty)
lib/miner/index.js:163
↓ 1 callersMethodremoveBlockTransactionsFromTransactions
(newBlock)
lib/blockchain/index.js:148
↓ 1 callersMethodreplaceChain
(newBlockchain)
lib/blockchain/index.js:76
↓ 1 callersMethodsendPeer
(peer, peerToSend)
lib/node/index.js:61
↓ 1 callersMethodsignHash
(keyPair, messageHash)
lib/util/cryptoEdDSAUtil.js:21
↓ 1 callersMethodsyncTransactions
(transactions)
lib/node/index.js:171
↓ 1 callersMethodto
(address, amount)
lib/operator/transactionBuilder.js:23
↓ 1 callersMethodverifySignature
(publicKey, signature, messageHash)
lib/util/cryptoEdDSAUtil.js:27
Methodconstruct
()
lib/blockchain/transaction.js:38
Methodconstructor
()
lib/operator/wallet.js:6
Methodconstructor
(dbName, blockchain)
lib/operator/index.js:13
Methodconstructor
()
lib/operator/transactionBuilder.js:8
Methodconstructor
(dbName)
lib/blockchain/index.js:17
Methodconstructor
(blockchain, logLevel)
lib/miner/index.js:9
Methodconstructor
(message, context, original)
lib/util/extendedError.js:4
Methodconstructor
(filePath, defaultData)
lib/util/db.js:5
Methodconstructor
(node, blockchain, operator, miner)
lib/httpServer/index.js:17
Methodconstructor
(status, message, context, original)
lib/httpServer/httpError.js:5
Methodconstructor
(host, port, peers, blockchain)
lib/node/index.js:8
MethodfromHash
(passwordHash)
lib/operator/wallet.js:61
MethodfromJson
(data)
lib/operator/wallets.js:5
MethodfromJson
(data)
lib/blockchain/blocks.js:5
MethodfromJson
(data)
lib/blockchain/transactions.js:5
MethodfromJson
(data)
lib/blockchain/transaction.js:116
MethodgenerateSecret
(password)
lib/util/cryptoEdDSAUtil.js:8
Methodgenesis
()
lib/blockchain/block.js:38
MethodgetAddressByIndex
(index)
lib/operator/wallet.js:38
MethodgetAddressByPublicKey
(publicKey)
lib/operator/wallet.js:42
MethodgetBlocks
(peer)
lib/node/index.js:98
MethodprojectWallet
(wallet)
lib/httpServer/index.js:20
MethodselectTxs
(transaction)
lib/blockchain/index.js:246
MethodsendLatestBlock
(peer, block)
lib/node/index.js:87
MethodsendTransaction
(peer, transaction)
lib/node/index.js:113
FunctionsimpleWrapper
(typeDescriptor, ...args)
lib/util/consoleWrapper.js:6
MethodtoJSON
()
lib/util/extendedError.js:10
MethodtoJSON
()
lib/httpServer/httpError.js:11
Methodtype
(type)
lib/operator/transactionBuilder.js:44