Skip to content

Instantly share code, notes, and snippets.

Peter Todd petertodd

Block or report user

Report or block petertodd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View scam-email
Return-Path: <calidadlsp@casanare.gov.co>
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
ip-172-30-0-206.ec2.internal
X-Spam-Level:
X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_REPLYTO,
FREEMAIL_REPLYTO_END_DIGIT,HTML_MESSAGE,SPF_PASS autolearn=no
autolearn_force=no version=3.4.2
X-Original-To: pete@petertodd.org
Delivered-To: pete@petertodd.org
View gist:e640b09dcab14a3014d2968a58c58659
The following is licensed as CC0. Feel free to copy it for your own purposes, with or without acknowleding my authorship.
---
layout: post
title: "The Misleading and Inaccurate Claims Made to Tierion ICO Investors"
tags:
- tierion
- ico
- timestamping
---
View greedy-cpfp-mempool.py
#!/usr/bin/python3
class CMemPoolTx:
@property
def feerate(self):
return self.nFee / self.nSize
@property
def sum_feerate(self):
return self.nSumFees / self.nSumSize
@petertodd
petertodd / gist:8e87c782bdf342ef18fb
Last active Jul 7, 2016
What the CoinWallet.eu tx-flood stress-test means for you and how to deal with it
View std-consulting-agreement.txt
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
This is my standard consulting agreement, drafted by Addison Cameron-Huff
<addison@cameronhuff.com> Feel free to use/distribute this as you see fit.
Consulting Agreement
====================
View release_notes.md
@petertodd
petertodd / gist:2ec211f86c2cc8ede377
Last active Aug 29, 2015
An analysis of button presses as an entropy source
View gist:2ec211f86c2cc8ede377
> - floating ADC inputs, as Peter suggested;
> - five independent RC oscillators.
I've got another idea that requires no extra hardware. I think has a
solid theoretical basis which I've explored below in sufficient detail
to raise suspicions that I miss my old line of work:
tl;dr: Record the dt time between button clicks, adding dt to the
accumulator each time by hashing it into the persistent state.
View keybase.md

Keybase proof

I hereby claim:

  • I am petertodd on github.
  • I am petertodd (https://keybase.io/petertodd) on keybase.
  • I have a public key whose fingerprint is 37EC 7D7B 0A21 7CDB 4B4E 007E 7FAB 1142 67E4 FA04

To claim this, I am signing this object:

View btcpayments.rst

Bitcoin Payment Messages

This document proposes protocol buffer-based formats for a simple payment protocol between a customer's bitcoin client software and a merchant.

Separate documents will propose an extension to the Bitcoin URI syntax and new MIME types to support them.

Motivation

@petertodd
petertodd / mempool-analyzer.py
Created Mar 7, 2013
Shitty mempool analyzer
View mempool-analyzer.py
#!/usr/bin/python3
import os
import sys
import struct
from opentimestamps._internal import hexlify,unhexlify
import opentimestamps._bitcoinrpc as btcrpc
You can’t perform that action at this time.