Skip to content

Instantly share code, notes, and snippets.

View michaeljyeates's full-sized avatar
💭
Beast Mode

Michael Yeates michaeljyeates

💭
Beast Mode
View GitHub Profile
auto attrs = atomicdata::deserialize(template_itr.immutable_serialized_data, schema_itr.format);
for (auto attr: attrs){
if (attr.first == "ease"){
md.ease = std::get<uint8_t>(attr.second);
print("land ease ", md.ease);
}
...
#!/usr/bin/python
from argparse import Namespace
from pyjfuzz.lib import *
import requests
from thread import start_new_thread
def do_req(payload):
r = requests.post("http://13.251.66.224:8886/v1/chain/get_code", data=payload)
@michaeljyeates
michaeljyeates / replace-producer-keys.patch
Last active September 19, 2019 10:16
Replace producer keys patch for eosio 1.8.x
diff --cc libraries/chain/controller.cpp
index 0717f2a4b,17e9c961c..3154b6a67
--- a/libraries/chain/controller.cpp
+++ b/libraries/chain/controller.cpp
@@@ -2211,31 -3018,68 +3018,95 @@@ const flat_set<account_name> &controlle
return my->conf.resource_greylist;
}
+void controller::replace_producer_keys( const public_key_type& key ) {
+ ilog("Replace producer keys with ${k}", ("k", key));
#!/bin/bash
if [[ $1 == "" ]]; then
echo "Search for vanity keys - Usage : ./vanity.sh STRING"
exit 1
fi
echo "Finding keys containing : $1"
while true; do

CONSTITUTION of eosDAC (Modified for testing)

[A decentralized autonomous community]

1. INTERPRETATION

In this Constitution, if not inconsistent with the context, the words and expressions shall bear the meanings set opposite them respectively.

Expression: Meaning:
@michaeljyeates
michaeljyeates / custodian.json
Last active August 20, 2018 11:13
Test custodian json
{"givenName":"Testy","familyName":"McTest","gender":"male","description":"I am hoping to be elected because of all of the great skills that I would provide to the DAC. I have been an avid goat herder for over 7 years now and I am already seeing the benefits of my knowledge within eosDAC.","email":"test@example.com","url":"https://example.com","image":"https://eosdac.io/wp-content/uploads/2018/05/eosdaclogo1-300-white-300x300.png","sameAs":[{"link":"https://www.twitter.com/example"}],"timezone":-60}

Keybase proof

I hereby claim:

  • I am michaeljyeates on github.
  • I am michaelyeates (https://keybase.io/michaelyeates) on keybase.
  • I have a public key ASAPayCxkLe28UM1Ubi-sN1ndHQmfcIeGo8jI-pR-_OFHAo

To claim this, I am signing this object:

0x0971D93DcFC0aa516824C5E2dBEE8c9c6871AeBb