Skip to content

Instantly share code, notes, and snippets.

View saubyk's full-sized avatar
🎯
Focusing

Suheb saubyk

🎯
Focusing
View GitHub Profile

A Proof of Liabilities Scheme for Ecash Mints

Abstract: In this document, I will outline a proof-of-liabilities (PoL) scheme for ecash systems and Cashu specifically, which is a Chaumian ecash system for Bitcoin. The PoL scheme consists of three parts. First, a publicly auditable list of all issued ecash tokens in the form of mint proofs, and second, a publicly auditable list of all redeemed ecash tokens in the form of burn proofs, which are both regularly published by the mint operator. Third, a mint publicly commits to rotate its keys regularly once each epoch and allows all ecash in circulation to recycle from old epochs to the newest one. If clients remain vigilant and mints agree on a certain set of rules of operation which are publicly verifiable, users of a mint can detect whether a cheating mint has printed unbacked ecash during a past epoch, and, in many cases, provide public proofs of the mint engaging in this adversary behavior. Users achieve this by regularly checking t

@ShahanaFarooqui
ShahanaFarooqui / Regtest_windows.md
Last active January 22, 2024 16:23
Regtest on Windows (Bitcoin & LND)

Install bitcoin core:

Download Bitcoin core and install it whereever you prefer (C:\Bitcoin). It should have daemon, docs and bitcoin-qt with other files. daemon folder contains bitcoind and bitcoin-cli executables.

Bitcoin regtest setup:

First node setup:

  • We need to run at least two nodes to send/receive transactions. So let us start with first node setup.
  • Create 'regtest1' folder at your prefered location (~\AppData\Roaming\Bitcoin).
  • Create bitcoin.conf file in this newly created regtest1 folder.
  • Add below configurations to this file:
@mzfr
mzfr / findtraitor.py
Created June 11, 2019 13:39
Find users who unstarred your repository
"""Help you find users who unstared your repository
"""
import os
import sys
import requests_cache
import argparse
URL = "https://api.github.com/repos/{}/{}/stargazers?per_page=100&page={}"