Skip to content

Instantly share code, notes, and snippets.

danielcooperxyz /
Last active July 27, 2019 19:43
The conventions as defined in the ethereum yellow paper, section 3 -


Notation        Definition
σ world-state
µ machine-state
𝚼 Ethereum state transition function
C the general cost function
CSSTORE the cost function for the SSTORE operation
KEC Keccak-256
KEC512 Keccak 512
class SawtoothService:
def __init__(self, rest_api_url):
context = create_context('secp256k1')
private_key = context.new_random_private_key()
signer = CryptoFactory(context).new_signer(private_key)
self._signer = signer
self._rest_api_url = rest_api_url
View docker-compose.yml
# Copyright 2017 Intel Corporation
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
View Dockerfile
FROM golang:1.10-alpine
RUN apk update
RUN apk add git cmake make g++
RUN git clone
WORKDIR /src/libzmq
View excel-column-names.cs
//Rextester.Program.Main is the entry point for your code. Don't change it.
//Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Rextester