MCPcopy Create free account

hub / github.com/arcalinea/simplechain / functions

Functions57 in github.com/arcalinea/simplechain

↓ 7 callersMethodGetCid
()
block.go:38
↓ 7 callersMethodSerialize
()
block.go:21
↓ 4 callersMethodGetTxid
()
transaction.go:80
↓ 3 callersMethodAddBlock
(blk *Block)
blockchain.go:171
↓ 3 callersFunctionCall
(cmd string, options map[string]string, out interface{})
cli/cli.go:75
↓ 3 callersMethodGetHash
()
block.go:47
↓ 2 callersMethodCreateNewBlock
()
node.go:121
↓ 2 callersFunctionLoadBlock
(bs bserv.BlockService, c *cid.Cid)
blockchain.go:77
↓ 2 callersFunctionNewMerkleNode
(left *MerkleNode, right *MerkleNode, tx *Transaction)
transaction.go:26
↓ 2 callersFunctionPutBlock
(bs bserv.BlockService, blk *Block)
blockchain.go:94
↓ 2 callersMethodSerialize
()
transaction.go:63
↓ 2 callersFunctionToAddress
(pubkey ecdsa.PublicKey)
wallet.go:30
↓ 2 callersMethodValidateBlock
Check that prevHash of new block is equal to hash of chainTip Transactions validate Time is greater than time of chainTip
blockchain.go:130
↓ 2 callersFunctionnewKey
()
wallet.go:22
↓ 1 callersMethodAddTx
(tx *Transaction)
mempool.go:13
↓ 1 callersMethodBroadcastBlock
(block *Block)
node.go:130
↓ 1 callersFunctionCreateGenesisBlock
()
blockchain.go:110
↓ 1 callersFunctionCreateNewNode
(ctx context.Context)
node.go:27
↓ 1 callersFunctionDeserializeBlock
(buf []byte)
block.go:29
↓ 1 callersFunctionDeserializeTx
(buf []byte)
transaction.go:71
↓ 1 callersMethodFindSolsHash
(c chan *Block)
miner.go:47
↓ 1 callersMethodGetInfo
()
node.go:158
↓ 1 callersMethodGetNewAddress
()
node.go:135
↓ 1 callersMethodGetTxidString
()
transaction.go:85
↓ 1 callersMethodListenBlocks
(ctx context.Context)
node.go:74
↓ 1 callersMethodListenTransactions
(ctx context.Context)
node.go:100
↓ 1 callersMethodMine
(c chan *Block)
miner.go:17
↓ 1 callersFunctionNewBlockchain
(h host.Host)
blockchain.go:40
↓ 1 callersFunctionNewMempool
()
mempool.go:7
↓ 1 callersFunctionNewWallet
()
wallet.go:16
↓ 1 callersMethodSelectTransactions
()
mempool.go:25
↓ 1 callersMethodSendTransaction
(tx *Transaction)
node.go:142
↓ 1 callersMethodStartMiner
()
miner.go:12
↓ 1 callersFunctiongetMessageFromNetwork
(buf *[]byte)
blockchain_test.go:56
↓ 1 callersMethodhasKey
(addr string)
wallet.go:44
↓ 1 callersFunctionisWinner
(ticket string)
miner.go:37
↓ 1 callersMethodremoveTxs
(txs []Transaction)
mempool.go:18
↓ 1 callersMethodreorg
(oldBlock *Block, newBlock *Block)
blockchain.go:151
↓ 1 callersFunctiontakesBar
(b **Block)
blockchain_test.go:41
↓ 1 callersFunctionvalidateTransactions
(txs []Transaction)
blockchain.go:122
FunctionBuildTxMerkleTree
(txs []*Transaction)
transaction.go:43
FunctionFindSolsTimeout
(c chan string)
miner.go:27
MethodGetChainTip
()
blockchain.go:118
FunctionGetInfo
(c *cli.Context)
cli/cli.go:61
FunctionGetNewAddress
(c *cli.Context)
cli/cli.go:47
MethodGetNewAddress
()
wallet.go:37
FunctionSendTx
sendtx you 100 -from=me -memo=hi
cli/cli.go:17
MethodSyncChain
(from *Block)
blockchain.go:189
FunctionTestAddBlock
(t *testing.T)
blockchain_test.go:26
FunctionTestHashBlock
(t* testing.T)
block_test.go:8
FunctionTestMemory
(t *testing.T)
blockchain_test.go:48
FunctionTestPointers
(t *testing.T)
blockchain_test.go:35
FunctionTestToAddress
(t *testing.T)
wallet_test.go:8
FunctionTestValidateBlock
(t *testing.T)
blockchain_test.go:18
Functioninit
()
blockchain.go:33
Functionmain
()
main.go:11
Functionmain
()
cli/cli.go:94