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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.10-alpine | |
RUN apk update | |
RUN apk add git cmake make g++ | |
WORKDIR /src/ | |
RUN git clone https://github.com/zeromq/libzmq | |
WORKDIR /src/libzmq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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 | |
{ |