MCPcopy Create free account

hub / github.com/0xs34n/blockchain / functions

Functions41 in github.com/0xs34n/blockchain

↓ 5 callersMethodwrite
(peer, message)
P2p.js:72
↓ 3 callersMethodcalculateHash
(index, previousHash, timestamp, data, nonce)
Blockchain.js:38
↓ 2 callersMethodaddBlock
(newBlock)
Blockchain.js:91
↓ 2 callersMethodisValidHashDifficulty
(hash)
Blockchain.js:18
↓ 2 callersMethodisValidNextBlock
(nextBlock, previousBlock)
Blockchain.js:99
↓ 2 callersMethodsendLatestBlock
(block)
Messages.js:18
↓ 1 callersMethodbroadcast
(message)
P2p.js:68
↓ 1 callersMethodbroadcastLatest
()
P2p.js:64
↓ 1 callersMethodcalculateHashForBlock
(block)
Blockchain.js:27
↓ 1 callersMethodconnectToPeer
(host, port)
P2p.js:46
↓ 1 callersMethoddiscoverPeers
()
P2p.js:36
↓ 1 callersMethodgenerateNextBlock
(data)
Blockchain.js:54
↓ 1 callersMethodget
()
Blockchain.js:10
↓ 1 callersMethodgetBlockchain
()
Messages.js:25
↓ 1 callersMethodgetLatestBlock
()
Messages.js:12
↓ 1 callersMethodhandleMessage
(peer, message)
P2p.js:96
↓ 1 callersMethodhandleReceivedBlockchain
(message)
P2p.js:132
↓ 1 callersMethodhandleReceivedLatestBlock
(message, peer)
P2p.js:115
↓ 1 callersMethodinitErrorHandler
(connection)
P2p.js:90
↓ 1 callersMethodinitMessageHandler
(connection)
P2p.js:83
↓ 1 callersMethodisChainLonger
(chain)
Blockchain.js:131
↓ 1 callersMethodisValidChain
(chain)
Blockchain.js:115
↓ 1 callersMethodmine
(data)
Blockchain.js:45
↓ 1 callersMethodreplaceChain
(newChain)
Blockchain.js:135
↓ 1 callersMethodsendBlockchain
(blockchain)
Messages.js:31
↓ 1 callersMethodstartServer
(port)
P2p.js:22
FunctionblockchainCommand
(vorpal)
cli.js:58
Functioncli
(vorpal)
cli.js:7
MethodcloseConnection
()
P2p.js:58
FunctionconnectCommand
(vorpal)
cli.js:28
Methodconstructor
(index, previousHash, timestamp, data, hash, nonce)
Block.js:2
Methodconstructor
(blockchain)
P2p.js:17
Methodconstructor
()
Blockchain.js:5
FunctiondiscoverCommand
(vorpal)
cli.js:44
Methodgenesis
()
Block.js:11
MethodinitConnection
(connection)
P2p.js:76
MethodlatestBlock
()
Blockchain.js:14
FunctionmineCommand
(vorpal)
cli.js:80
FunctionopenCommand
(vorpal)
cli.js:93
FunctionpeersCommand
(vorpal)
cli.js:68
Functionwelcome
(vorpal)
cli.js:23