SYMBOL INDEX (64 symbols across 9 files) FILE: blockchain.py class Blockchain (line 11) | class Blockchain: method __init__ (line 12) | def __init__(self): method register_node (line 20) | def register_node(self, address): method valid_chain (line 37) | def valid_chain(self, chain): method resolve_conflicts (line 67) | def resolve_conflicts(self): method new_block (line 101) | def new_block(self, proof, previous_hash): method new_transaction (line 124) | def new_transaction(self, sender, recipient, amount): method last_block (line 142) | def last_block(self): method hash (line 146) | def hash(block): method proof_of_work (line 157) | def proof_of_work(self, last_block): method valid_proof (line 178) | def valid_proof(last_proof, proof, last_hash): function mine (line 205) | def mine(): function new_transaction (line 233) | def new_transaction(): function full_chain (line 249) | def full_chain(): function register_nodes (line 258) | def register_nodes(): function consensus (line 276) | def consensus(): FILE: csharp/BlockChain.Console/Program.cs class Program (line 3) | class Program method Main (line 5) | static void Main(string[] args) FILE: csharp/BlockChain/Block.cs class Block (line 6) | public class Block method ToString (line 14) | public override string ToString() FILE: csharp/BlockChain/BlockChain.cs class BlockChain (line 13) | public class BlockChain method BlockChain (line 23) | public BlockChain() method RegisterNode (line 30) | private void RegisterNode(string address) method IsValidChain (line 35) | private bool IsValidChain(List chain) method ResolveConflicts (line 62) | private bool ResolveConflicts() method CreateNewBlock (line 100) | private Block CreateNewBlock(int proof, string previousHash = null) method CreateProofOfWork (line 116) | private int CreateProofOfWork(int lastProof, string previousHash) method IsValidProof (line 125) | private bool IsValidProof(int lastProof, int proof, string previousHash) method GetHash (line 132) | private string GetHash(Block block) method GetSha256 (line 138) | private string GetSha256(string data) method Mine (line 153) | internal string Mine() method GetFullChain (line 172) | internal string GetFullChain() method RegisterNodes (line 183) | internal string RegisterNodes(string[] nodes) method Consensus (line 198) | internal string Consensus() method CreateTransaction (line 212) | internal int CreateTransaction(string sender, string recipient, int am... FILE: csharp/BlockChain/Node.cs class Node (line 5) | public class Node FILE: csharp/BlockChain/Transaction.cs class Transaction (line 3) | public class Transaction FILE: csharp/BlockChain/WebServer.cs class WebServer (line 9) | public class WebServer method WebServer (line 11) | public WebServer(BlockChain chain) FILE: js/blockchain.js class Blockchain (line 4) | class Blockchain { method constructor (line 5) | constructor() { method addPeer (line 15) | addPeer(host) { method getPeers (line 22) | getPeers() { method newBlock (line 29) | newBlock(previousHash, nonce = null) { method hash (line 52) | static hash(block) { method lastBlock (line 60) | lastBlock() { method powIsAcceptable (line 70) | static powIsAcceptable(hashOfBlock, difficulty) { method nonce (line 77) | static nonce() { method mine (line 87) | mine(blockToMine = null, difficulty = 4) { FILE: tests/test_blockchain.py class BlockchainTestCase (line 8) | class BlockchainTestCase(TestCase): method setUp (line 10) | def setUp(self): method create_block (line 13) | def create_block(self, proof=123, previous_hash='abc'): method create_transaction (line 16) | def create_transaction(self, sender='a', recipient='b', amount=1): class TestRegisterNodes (line 24) | class TestRegisterNodes(BlockchainTestCase): method test_valid_nodes (line 26) | def test_valid_nodes(self): method test_malformed_nodes (line 33) | def test_malformed_nodes(self): method test_idempotency (line 40) | def test_idempotency(self): class TestBlocksAndTransactions (line 49) | class TestBlocksAndTransactions(BlockchainTestCase): method test_block_creation (line 51) | def test_block_creation(self): method test_create_transaction (line 63) | def test_create_transaction(self): method test_block_resets_transactions (line 73) | def test_block_resets_transactions(self): method test_return_last_block (line 85) | def test_return_last_block(self): class TestHashingAndProofs (line 94) | class TestHashingAndProofs(BlockchainTestCase): method test_hash_is_correct (line 96) | def test_hash_is_correct(self):