Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am keo on github.
  • I am keo604 (https://keybase.io/keo604) on keybase.
  • I have a public key ASDLFADQyZuXCMY_9FT30TJJbtZzbpgjBErva-CFj-u8QAo

To claim this, I am signing this object:

@keo
keo / genesis-miner-verification.md
Last active November 18, 2022 06:43
Proof of Ethereum genesis block mining

Message:

This is @keo on Twitter. This message's purpose is to prove that I control 0x05a56e2d52c817161883f50c441c3228cfe54d9f, that is the address that mined the genesis block of Ethereum.

Current time: 2017-04-30 08:51 UTC
Current ETH block hash: 0x4595933d3c4366f5d9a32c946a3fc2561fa5a8d57ac749106cb2c07b0095f07f

Tweet to sign:
BitLord‏ @Tcorp_  30 Jul 2015
Reserved for legend who mines first #ethereum genesis block. Worlds first #ether coin. 100 exist @FiniteByDesign
#!/bin/bash
## easiest way to run: curl -fsSL https://gist.githubusercontent.com/keo/aa66408437cf0b135951/raw/master/setup-bitcoin-classic-0.12-armhf.sh | bash
## Download the release tarball
wget -O bitcoin-0.12.0cl1-armhf.tar.gz https://github.com/bitcoinclassic/bitcoinclassic/releases/download/v0.12.0cl1/bitcoin-0.12.0cl1-armhf.tar.gz
## Check that the hash matches (hash taken from https://github.com/bitcoinclassic/bitcoinclassic/releases/download/v0.12.0cl1/SHA256SUMS.asc
echo 12dc7246142944e7367b681032dcdbe56d41a79cfd55e38778a4e7fb94b002ff bitcoin-0.12.0cl1-armhf.tar.gz | sha256sum -c || (echo "SHA256 failed, please retry download."; exit 1)
## Size of the database cache in megabytes; minimum 4.
## Lowering this lowers the amount of memory your node uses
dbcache=64
## Number of CPU cores to use for signature verification. The Raspberry Pi 2
## has four cores, so leaving one core free will help prevent your
## computer from slowing down too much when receiving blocks and
## transactions. If you want to verify faster (useful in mining and
## merchant settings), increase this number (up to the max 4 cores)
par=3
Checking glibc back compat...
bitcoin-cli: export of symbol __data_start not allowed
bitcoin-cli: export of symbol sigx_app not allowed
bitcoin-cli: export of symbol _bss_end__ not allowed
bitcoin-cli: export of symbol sig_app not allowed
bitcoin-cli: export of symbol __bss_end__ not allowed
bitcoin-cli: export of symbol vtable for boost::exception not allowed
bitcoin-cli: export of symbol __bss_start__ not allowed
bitcoin-cli: export of symbol __end__ not allowed
bitcoin-cli: export of symbol typeinfo for boost::thread_interrupted not allowed
c1d887262449d64fd7367d96478d0d4d6276f4f013186641385dbf214a14eabb ./out.armhf/src/bitcoin-0.11.2.tar.gz
6a38992d02f01131eeeb302d6d78141107ffe911e6b2c075d356657ad4c35722 ./out.armhf/bitcoin-0.11.2-armhf-cli.tar.gz
7961032bef657669967edc8861bb464d731d8f93cc1743934ef93abb972df24b ./out.armhf/bitcoin-linux-armhf-0.11-res.yml
c7d76579fcf8e8a33b279dde0c7086e3e171f4cc3507128c1752cd8b9d2328c3 ./out.osx/bitcoin-0.11.2-osx-unsigned.dmg
62d9f33136f46a17cb64a99099bd28345895afdd202f95b697c3afa2b22a09a0 ./out.osx/bitcoin-0.11.2-osx-unsigned.tar.gz
52b4d074769c87d8ed91066c0f58ea959f5b04e3c59e22471f83152dd592cf82 ./out.osx/bitcoin-osx-0.11-res.yml
c1d887262449d64fd7367d96478d0d4d6276f4f013186641385dbf214a14eabb ./out.osx/src/bitcoin-0.11.2.tar.gz
a5a795c082975059076ebdd42bff5654719722c1f765744dc7e943d8d1b23b1b ./out.osx/bitcoin-0.11.2-osx64.tar.gz
8e9efe7cde07b16735ea183549e93153c231d1fc3e405b9400db043c704387e1 ./out.linux/bitcoin-0.11.2-linux64.tar.gz
c1d887262449d64fd7367d96478d0d4d6276f4f013186641385dbf214a14eabb
@keo
keo / gist:72eacdabc7350ced3d5c
Created January 2, 2016 20:36
Setting up gitian build environment for ARM
# download Ubuntu Server 14.04 from http://forum.odroid.com/viewtopic.php?f=95&t=15261
# wget ubuntu-14.04lts-server-odroid-xu3-20150725.img.xz
docker run --name gitian_builder --privileged -ti debian:jessie bash
# inside the VM / docker container
apt-get update && apt-get upgrade -y
apt-get install -y qemu qemu-user-static binfmt-support wget xz-utils parted
@keo
keo / gist:79ebd0ad924025b3e880
Last active November 12, 2016 09:38
cpp-ethereum build fails on OSX 10.9.5
$ cmake .. -DGUI=1 -DJSCONSOLE=1 -DVMTRACE=1 -DNCURSES=1
-- ctest path: /usr/local/bin/ctest
- CryptoPP header: /usr/local/include/cryptopp
- CryptoPP lib : /usr/local/lib/libcryptopp.a
- LevelDB header: /usr/local/include
- LevelDB lib: /usr/local/lib/libleveldb.dylib
-- Could NOT find rocksdb (missing: ROCKSDB_INCLUDE_DIR ROCKSDB_LIBRARY)
- v8 header: /usr/local/opt/v8-315/include
- v8 lib : /usr/local/opt/v8-315/lib/libv8.dylib
- Jsoncpp header: /usr/local/include/jsoncpp
@keo
keo / bootstrap.sh
Last active January 25, 2024 15:49
Setup encrypted partition for Docker containers
#!/bin/sh
# Setup encrypted disk image
# For Ubuntu 14.04 LTS
CRYPTFS_ROOT=/cryptfs
apt-get update
apt-get -y upgrade
apt-get -y install cryptsetup
# Re-create steps:
$ gem install json -v 1.5.5
$ gem install gherkin -v 2.11.5
$ gem install veewee
# Or simply create a Gemfile to solve dependency problems.
# Then build the box: