General
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 |
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 |
# 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, |
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 |
//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 | |
{ |