Skip to content

Instantly share code, notes, and snippets.

package lab1;
public class Student {
private final String firstName, lastName;
private String username;
private final int id;
private final boolean isFulltime;
private void generateUsername(String username) {
package lab1;
public class Student {
// Private variables
private final String firstName, lastName;
private String username;
private final int id;
private final boolean isFulltime;
// End private varibales
package lab1;
public class Student {
// Private variables
private final String firstName, lastName;
private String username;
private final int id;
private final boolean isFulltime;
@timxor
timxor / Fullscreen HTML5 Page Background Video.markdown
Created June 14, 2016 14:19
Fullscreen HTML5 Page Background Video
int SSTF(int start_index, int a[]) {
/*
START INITILIZATION
*/
int distance = 0;
int counter_limit = 0;
int current_value = a[start_index];
int current_index = start_index;
// keep track of visited locations

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

Keybase proof

I hereby claim:

  • I am tcsiwula on github.
  • I am tcsiwula (https://keybase.io/tcsiwula) on keybase.
  • I have a public key whose fingerprint is A294 4D08 C48D E189 AD80 E587 6515 4C81 F5A2 EDF0

To claim this, I am signing this object:

@timxor
timxor / parity_benchmark_metropolis_branch.txt
Created July 18, 2017 02:11
parity_benchmark_metropolis_branch.txt
# command executed:
# cargo bench -p ethcore >> /Users/timsiwula/Desktop/metropolis_testing/logs/parity_benchmark_metropolis_branch.txt
#
running 428 tests
test account_provider::stores::tests::should_maintain_a_map_of_recent_dapps ... ignored
test account_provider::stores::tests::should_remove_address ... ignored
test account_provider::stores::tests::should_save_and_reload_address_book ... ignored
test account_provider::stores::tests::should_save_and_reload_dapps_settings ... ignored
test account_provider::stores::tests::should_store_dapps_policy ... ignored
test account_provider::tests::derived_account_nosave ... ignored
@timxor
timxor / run-geth-benchmarks.md
Last active August 2, 2017 10:42
run geth benchmarks from scratch (on mac)

How to run some go-ethereum (geth) metropolis benchmarks

Clone repo and install dependency's:

git clone https://github.com/tcsiwula/go-ethereum.git

cd go-ethereum

go get -d ./...

go get github.com/ethereum/go-ethereum/common

@timxor
timxor / tims_parity_bench_marks.md
Last active August 9, 2017 10:08
tims_parity_bench_marks.md

Parity pre compiled contracts benchmarks.

  • bn_128_add -
  • bn_128_mul -
  • bn_128_pairing -
  • ecrecover -
  • modexp_^ - All range permutations below (15 total)
  • sha256 -
  • gas schedule ? - maybe with instructions.rs