Published as BIP 103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Beyond IP Transactions: towards a payment protocol | |
================================================== | |
IP transactions were originally introduced as a first "out-of-band" protocol | |
for negotiating a transaction output's public key. Being inconvenient and | |
insecure, they became obsolete, and recent versions of bitcoin don't support | |
them anymore. | |
The result is that static bitcoin addresses have become the most common way of | |
defining requested payments. This may be fine for anonymous donations, but is not |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mailed as https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2012-June/001516.html |
The algorithm that used to be described here is broken.
A better alternative is described here: https://github.com/sipa/writeups/tree/main/elligator-square-for-bn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import re | |
import ipaddress | |
# This program loads AS mapping entries from stdin in the form "[IP]/[bits] AS[num]", where IP is an IPv4 | |
# or IPv6 address, bits is an integer between 0 and 32 (for IPv4) or 128 (for IPv6), and num is an integer | |
# between 1 and 16777215. | |
def Parse(entries): | |
for line in sys.stdin: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
Here is a public key of mine, usable for the CoinJoin bounty fund: | |
0292782efcb08d621c360d055f407c8e75ffbbd06f6b7009c1432ca9eaa6732592 | |
-----BEGIN PGP SIGNATURE----- | |
Version: GnuPG v1.4.12 (GNU/Linux) | |
iQGcBAEBCAAGBQJSpLf6AAoJEI9lMlXIeZLgtRkL/3ufWgLyhTKM9T30JqA0a/Xh | |
5KUMD0csuxTMYraVOy9x7tRVZh+fETt4Y3clhErZj8g6VraC5ku+4pyHxtFztWor |
I hereby claim:
- I am sipa on github.
- I am pwuille (https://keybase.io/pwuille) on keybase.
- I have a public key whose fingerprint is 133E AC17 9436 F14A 5CF1 B794 860F EB80 4E66 9320
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Chances of not detecting an error in a Bech32 string. Lengths exclude the separator character '1'. Chances are multiples of 1 in 2^30. | |
Len 1 Error 2 Errors 3 Errors 4 Errors 5 Errors 6 Errors 7 Errors 8 Errors | |
1 0.000000000000000 | |
2 0.000000000000000 0.000000000000000 | |
3 0.000000000000000 0.000000000000000 0.000000000000000 | |
4 0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000 | |
5 0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000 | |
6 0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000 | |
7 0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000 0.000000000000000 1.209844924575586 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 state: | |
Output rate: 0.25 | |
N0 (pos 0) | |
S0: 0=S1 1=S2 [0.5] | |
S1: 0=S0 1=0,S0 [0.25] | |
S2: 0=1,S0 1=S0 [0.25] | |
2 states: | |
Output rate: 0.375 | |
N0 (pos 0) |
NewerOlder