Blockchain became very popular due to the cryptocurrencies boom in the last few years. It is an interesting technology choice, but with every advantage comes a challenge that needs to be thoroughly reviewed and addressed. Feedback: https://joind.in/talk/2fdb3 .
dive deep into
Tomasz Kowalczyk @tmmx
chain of blocks
block of data
few hours later...
aka. binary hash tree
A B C D
B Merkle path: R-HAB-HB
HA HB HC HD
proof of work
proof of stake
$storage = new SqliteStorage('chain.sq3');
$signer = new OpenSslSigner('private.key', 'public.key');
$genesis = new GenesisBlock('fiat lux');
$state = new State();
$chain = new Hashchain($storage, $signer, $genesis, $state);
$chain->createBlock(new CreateAccount('A', 'Alpha'));
$chain->createBlock(new CreateAccountWithCredits('Z', 'Zulu', 1000));
$chain->createBlock(new SendCredits('Z', 'A', 100));
// Not enough credits: Z sent 100 to A and has only 900!
$chain->createBlock(new SendCredits('Z', 'A', 1000));
// Sender X does not exist!
$chain->createBlock(new SendCredits('X', 'A', 1000));
// Account Zulu already exists!
$chain->createBlock(new CreateAccount('Z', 'Zulu'));
mining and incentives
rewards for maintaining network nodes
for the right kind of problem
http://chimera.labs.oreilly.com/books/1234000001802/index.html (Mastering Bitcoin)
https://blog.acolyer.org/2017/08/30/a-concurrent-perspective-on-smart-contracts (smart contracts)
https://en.bitcoin.it/wiki/Secp256k1 (Bitcoin Elliptic Curve)
Pictures (Creative Commons)
please rate the talk and give feedback on