Skip to content

Instantly share code, notes, and snippets.

@esemoney
esemoney / blockchain-topics.md
Created October 5, 2022 15:07
blockchain-topics

Blockchain

  • p2p
    • Kademlia
    • Turbine (Solana)
    • libp2p?
    • gossip?
  • Consensus. References: decentralizedthoughts
    • Common knowledge and Two Generals Problem
  • Mis-spend vs double-spend
@esemoney
esemoney / CountingSVG.sol
Created September 15, 2022 16:11 — forked from rgottleber/CountingSVG.sol
Code For Keepers Masterclass
// SPDX-License-Identifier: MIT
// An example of a consumer contract that relies on a subscription for funding.
pragma solidity ^0.8.17;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Base64.sol";
@esemoney
esemoney / list.md
Created August 27, 2022 16:42 — forked from ih2502mk/list.md
Quantopian Lectures Saved

A description of known problems in Satoshi Nakamoto's paper, "Bitcoin: A Peer-to-Peer Electronic Cash System", as well as notes on terminology changes and how Bitcoin's implementation differs from that described in the paper.

Abstract

The longest chain not only serves as proof of the sequence of events witnessed, but proof that it came from the largest pool of CPU power.