Skip to content

Instantly share code, notes, and snippets.

View tayvano's full-sized avatar

Taylor Monahan tayvano

View GitHub Profile

EIP-1559 transaction pool design improvement proposal

Author: Zsolt Felfoldi (zsfelfoldi@ethereum.org)

New difficulties introduced by EIP-1559

Transaction pools currently order transactions based on a single metric (gasPrice), fetching the highest elements when constructing a new block and discarding the lowest elements when the pool is full. With EIP-1559 transaction ordering becomes more difficult because the effective miner reward (MIN(tx.tip, tx.feeCap-headBlock.baseFee)) depends on the latest block's base fee. A new EIP-1559 compatible pool design suggested by this proposal and implemented in this pull request orders transactions primarily based on feeCap in the eviction queue while the current efferctive reward is used for block construction. This is a good first approach because inclusion chance correlates with feeCap on the low end. The only potential danger is that `feeCap

@alexvandesande
alexvandesande / recoversecret.md
Last active October 12, 2017 05:42
How to recover a bid on ENS if you still have the master salt

How to recover a lost a ENS bid if you still have the secret

  1. Download your bid backup and open it in a text editor. You can paste the code on a service like this to make it more readable: https://jsonformatter.curiousconcept.com

  2. Search for the name of your bid to check it's not there. If it's not then at the top of your file you'll find something like this:

{
   "About":{
      "backupDate":"2017-06-17T15:34:23.014Z",
@turboBasic
turboBasic / InnerShadow-SVGFilter.xml
Created June 23, 2017 13:51
SVG Filter Inner Shadow for Illustrator
<filter id="InnerShadow">
<!-- https://gist.github.com/seanbarclay/8627991 -->
<!-- Shadow Offset, don't make vals lower or you'll break it -->
<feOffset
dx='2'
dy='3'
/>
<!-- Shadow Blur -->
<feGaussianBlur
stdDeviation='1'
<filter id="InnerShadowExample">
<!-- Shadow Offset -->
<feOffset
dx='5'
dy='5'
/>
<!-- Shadow Blur -->
<feGaussianBlur
stdDeviation='3'