Go to file
Denis 989569ce61 Don't output every hash onto console, its too slow
Mining is about 3 times faster in average on my computer with this patch.
2017-10-18 12:21:38 +03:00
.gitignore Update .gitignore 2017-10-01 10:53:19 +07:00
README.md Update README 2017-10-06 17:32:52 +07:00
base58.go Fix ranging in Base58Encode and Base58Decode 2017-10-06 17:42:49 +07:00
block.go Implement block height 2017-10-01 11:02:38 +07:00
blockchain.go Fix the main scenario 2017-10-06 12:29:55 +07:00
blockchain_iterator.go Extract some structs into separate files 2017-09-10 10:54:58 +07:00
cli.go Add -miner flag to 'startnode' command 2017-10-03 16:21:15 +07:00
cli_createblockchain.go Blockchain file name must depend on node ID 2017-10-01 10:42:34 +07:00
cli_createwallet.go Fix wallet file name 2017-10-01 10:53:26 +07:00
cli_getbalance.go Blockchain file name must depend on node ID 2017-10-01 10:42:34 +07:00
cli_listaddress.go Wallet file name must depend on node ID 2017-10-01 10:48:51 +07:00
cli_printchain.go Show block height in 'printchain' command 2017-10-01 11:04:31 +07:00
cli_reindexutxo.go Blockchain file name must depend on node ID 2017-10-01 10:42:34 +07:00
cli_send.go Add -miner flag to 'startnode' command 2017-10-03 16:21:15 +07:00
cli_startnode.go Add -miner flag to 'startnode' command 2017-10-03 16:21:15 +07:00
main.go Implement 'createblockchain' command 2017-09-03 11:17:10 +07:00
merkle_tree.go Implement Merkle tree 2017-09-18 12:45:58 +07:00
merkle_tree_test.go Implement Merkle tree 2017-09-18 12:45:58 +07:00
proofofwork.go Don't output every hash onto console, its too slow 2017-10-18 12:21:38 +03:00
server.go Fix the main scenario 2017-10-06 12:29:55 +07:00
transaction.go When a new block is mined, let everyone know 2017-10-06 11:30:51 +07:00
transaction_input.go Store input sig and key in different fields; rename TXInput.ScriptPubKey to PubKeyHash 2017-09-10 14:05:23 +07:00
transaction_output.go Implement DeserializeOutputs 2017-09-17 11:01:06 +07:00
utils.go Implement address generation and wallets 2017-09-07 14:18:12 +07:00
utxo_set.go Refactor something in UTXOSet 2017-09-18 11:01:24 +07:00
wallet.go Wallet file name must depend on node ID 2017-10-01 10:48:51 +07:00
wallets.go Fix wallet file name 2017-10-01 10:53:26 +07:00

README.md

Blockchain in Go

A blockchain implementation in Go, as described in these articles:

  1. Basic Prototype
  2. Proof-of-Work
  3. Persistence and CLI
  4. Transactions 1
  5. Addresses
  6. Transactions 2
  7. Network