Skip to content

Instantly share code, notes, and snippets.

View sdtsui's full-sized avatar

Daniel Tsui sdtsui

View GitHub Profile

The notes below describe the approach in designing and writing the initial reference implementation of Handshake. This is not a prescriptive document and should not be used as such. This document's goal is to provide a referenece on the rationale and initial design of the protocol.

Abstract

The foundation for the internet's security has relied upon trusted Certificate Authorities (CAs) which attest that a user is connecting to the correct server or node. This has created a reliance upon a handful of trusted actors, many of

-----BEGIN PGP PUBLIC KEY BLOCK-----
xsFNBFwu6ggBEACjXJaoZ7KGK90Rxj5tbZRjST0OYNOUbsin9OfB8gB9HFWA
0b1rbcyPpsmTGO/r0uuDsILPgRekPp+dR8pfmZ+kv39ZlzCOblp3rgEeqMta
cmE8vkExM1vQOklPN4rWuFZ1WhOZMjeAnvez/gjk5GUk/cHDskLbfBVKB1S4
xAyGFweF0+ov451mBe4w9MK66HrXlp4n7oaKQu+Gd06guftGeU5dN5eqawOG
4cXgkpaxl1tXAoU+5pCm6ogXNdS3/HZWiPWoIIPrAaN18WGmdW3Qb/ETH2qB
5KWVmw5RDX78bvppbt5mas7RZMIbFH2HsY0rmGF2xVd4p3LNGnZQPpn5p6AN
EenT+rhSHs2O6JuU6AzJmS1KGUGiLwhFFSNgdTi2RwsRL0eDXp/LpavHEEl7
55IwLMNttmiAwOFyzEdyIOkTX5CcHfsV6awV5ov1RmshFHW/fnqKPRfzTqb2
@sdtsui
sdtsui / update_curl.sh
Created August 8, 2017 02:32 — forked from fideloper/update_curl.sh
Update curl on Ubuntu 14.04
#! /usr/bin/env bash
# Install any build dependencies needed for curl
sudo apt-get build-dep curl
# Get latest (as of Feb 25, 2016) libcurl
mkdir ~/curl
cd ~/curl
wget http://curl.haxx.se/download/curl-7.50.2.tar.bz2
tar -xvjf curl-7.50.2.tar.bz2
@sdtsui
sdtsui / rinkebytesteth
Created July 27, 2017 07:14
rinkebytesteth
0x82df11beb942BEeeD58d466fCb0F0791365C7684
@sdtsui
sdtsui / webpack-moduleconcatentationplugin-issue-config.js
Created June 19, 2017 23:34
webpack-moduleconcatentationplugin-issue-config.js
// We merge our configs. Here are all of the files used.
// webpack.frontend.prod.js
const webpack = require('webpack');
const merge = require('webpack-merge');
const CompressionPlugin = require('compression-webpack-plugin');
const baseFrontendConfig = require('./webpack.frontend.base');
module.exports = merge.smart(baseFrontendConfig, {
plugins: [

Welcome

This guide is intended to provide resources for those wanting to help test Metropolis EIPs. The CPP team is currently in the middle of a migration from EthDocs to a documentation site that is more dedicated to CPP-Ethereum so the documentation on creating tests for Ethereum using testeth is scattered. Everything you will need to get started should be compiled below.

Suggested skill sets needed to create and run tests

  1. Ability to compile/build testeth and LLL compiler or run a docker file.
  2. Ability to understand the LLL Ethereum language.
  3. Ability to understand EIPs, particuarly [those that are going to be going into t
@sdtsui
sdtsui / bl-bug-template.md
Created January 25, 2017 17:36
bl-bug-template.md

#BlackLight Bug Report Template:

Summary

(What is the bug?)

Repro Steps

(Precise steps to reproduce)

Expected Results

(What should happen)

@sdtsui
sdtsui / reflection.go
Created September 22, 2016 03:23 — forked from drewolson/reflection.go
Golang Reflection Example
package main
import (
"fmt"
"reflect"
)
type Foo struct {
FirstName string `tag_name:"tag 1"`
LastName string `tag_name:"tag 2"`
@sdtsui
sdtsui / first-golang-simpleServer.go
Last active September 13, 2016 22:59
first-golang-simpleServer.go
package main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"strconv"
"strings"
)

System Design Cheatsheet

Step One: Framing The Problem a.k.a get the MVP

  • Identify the use cases that are in scope
  • Determine constraints based on scoped use cases

use case : the things your system needs to be do.

constraints : the things your system will have to consider to be able to do stuff