Skip to content

Instantly share code, notes, and snippets.


Mr Hash MrHash

  • Borderless
View GitHub Profile
MrHash /
Last active Dec 6, 2019
c-lightning hodl invoice plugin example only
#!/usr/bin/env python3
from lightning import Plugin
import json
plugin = Plugin()
heldinvoices = dict()
def init(options, configuration, plugin):
plugin.log("Plugin hodl-invoice initialized")
View gist:35bf4859eb3d90d5d79a7ca592ce3da0

Solid Federation


To establish and secure a strong, reliable, and independent geographically dispersed verified Bitcoiner federation using Elements pegged to Bitcoin.


  • To have up to 300 federation members.
  • Federation members be keybase triple+ verified anonymous, pseudonymous or publicly known Bitcoiners (TBD).

Keybase proof

I hereby claim:

  • I am mrhash on github.
  • I am hashamadeus ( on keybase.
  • I have a public key ASALtBVUU2Z-vAelqw3rPZPbaC6kMb1no3tYq5f1i6Ewgwo

To claim this, I am signing this object:

MrHash /
Created Jun 16, 2017
honeybee 0.2 migration script
# NOTE! Manual changes required:
# 1. index param moved from elasticsearch connection to data access event_store configs
# 2. jobservice rename to RabbitMqJobService (not auto cos of interface suffix match)
# 3. swiftmailer transports are deleted from Honeybee! Move to vendor apps if required
# CouchDb
find app -type f -exec gsed -i 's/Honeybee\\Infrastructure\\DataAccess\\Connector\\GuzzleConnector/Honeybee\\CouchDb\\Connector\\CouchDbConnector/g' {} +
find app -type f -exec gsed -i 's/Honeybee\\Infrastructure\\Migration\\CouchDbMigration/Honeybee\\CouchDb\\Migration\\CouchDbMigration/g' {} +
View schematest_004.php
// @codeCoverageIgnoreStart
$givenSchema = [
'type' => 'assoc',
'properties' => [
'transports' => [
'type' => 'assoc',
'properties' => [