13/7/2019
4/4/2021 (edited fixing formula and adding two graphs)
7/5/2021 (added appendix 1)
To read the context see the main document Design for improving joinmarket's resistance to sybil attacks using fidelity bonds.
Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.
NOTE: This logic can be extended to more than two accounts also. :)
The setup can be done in 5 easy steps:
| let | |
| pkgs = import <nixpkgs> {}; | |
| in | |
| pkgs.mkShell { | |
| packages = with pkgs; [ | |
| # Required libraries | |
| boost | |
| libevent | |
| capnproto | |
| sqlite |
Why does DER enforce minimal encoding rules? How did non-strict DER encoding historically cause problems in Bitcoin?
Quick answer: DER does not allow multiple encodings for the same data
To understand DER, we need to know about BER. And to understand BER we first need to talk about ASN.1. Let's encrypt has written a good article about all of these, and this MD that you're reading will be based on that: https://letsencrypt.org/docs/a-warm-welcome-to-asn1-and-der/.