Skip to content

Commit 8d2ceb0

Browse files
authored
Merge branch 'bitcoinops:master' into master
2 parents 30ad930 + 26a1de5 commit 8d2ceb0

File tree

838 files changed

+33034
-22801
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

838 files changed

+33034
-22801
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,8 @@ diff -ruN _site _site.bak # Compare the generated sites (-r for recursive, -u f
9898
## Compatibility Matrix Data
9999

100100
The compatibility matrix section of the website is built from
101-
[YAML](https://yaml.org/) files located in [_data/compatibility/](_data/compatibility/).
102-
Each wallet also requires a markdown file in
103-
[en/compatibility/](en/compatibility/). The compatibility images (usability
101+
[YAML](https://yaml.org/) files located in [_compat/en](_compat/en).
102+
The compatibility images (usability
104103
screenshots, logos) are located in [img/compatibility/](img/compatibility/) with
105104
sub-folders for each wallet or service. Make sure to optimize any png files using
106105
`optipng -o7 <filename>`. These files are free for anyone to repurpose/republish

Makefile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ export GIT_PAGER='_contrib/kill0'
1010
JEKYLL_FLAGS = --future --drafts --unpublished --incremental
1111

1212
## Expected filenames in output directory
13-
compatibility_validation = $(wildcard _data/compatibility/*.yaml)
14-
compatibility_validation := $(patsubst _data/compatibility/%.yaml,_site/en/compatibility/%/index.html,$(compatibility_validation))
13+
compatibility_validation = $(wildcard _compat/en/*.md)
14+
compatibility_validation := $(patsubst _compat/en/%.md,_site/en/compatibility/%/index.html,$(compatibility_validation))
1515
topic_validation = $(wildcard _topics/en/*.md)
1616
topic_validation := $(patsubst _topics/en/%.md,_site/en/topics/%/index.html,$(topic_validation))
1717

@@ -43,8 +43,11 @@ test-before-build: $(compatibility_validation) $(topic_validation)
4343
@ ## - MD009: trailing spaces (can lead to extraneous <br> tags
4444
bundle exec mdl -g -r MD009 .
4545

46-
## Check that posts declare a slug, see issue #155 and PR #156
46+
## Check that posts declare certain fields, see issue #155 and PR #156
4747
! git --no-pager grep -L "^slug: " _posts
48+
! git --no-pager grep -L "^title: " _posts
49+
! git --no-pager grep -L "^permalink: " _posts
50+
! git --no-pager grep -L "^name: " _posts
4851
## Check that all slugs are unique
4952
! git --no-pager grep -h "^slug: " _posts | sort | uniq -d | grep .
5053
## Check that all post titles are unique (per language)
@@ -85,6 +88,9 @@ test-before-build: $(compatibility_validation) $(topic_validation)
8588
! git --no-pager grep -i '[r]eplaca' # e.g., replaceability
8689
! git --no-pager grep -i '[h]tlc expiry delta' # instead use: CLTV expiry delta
8790

91+
## Check for indentation that's forward incompatible with Hugo
92+
! git ls-files '*.md' | xargs -i _contrib/find-bad-indentation '{}' | grep .
93+
8894
test-after-build: build
8995
## Check for broken Markdown reference-style links that are displayed in text unchanged, e.g. [broken][broken link]
9096
! find _site/ -name '*.html' | xargs grep ']\[' | grep -v skip-test | grep .
@@ -120,7 +126,7 @@ email: clean
120126
$(MAKE) preview JEKYLL_ENV=email
121127

122128
## Path-based rules
123-
_site/en/compatibility/%/index.html : _data/compatibility/%.yaml
129+
_site/en/compatibility/%/index.html : _compat/en/%.md
124130
bundle exec _contrib/schema-validator.rb _data/schemas/compatibility.yaml $<
125131

126132
_site/en/topics/%/index.html : _topics/en/%.md

_data/compatibility/abra.yaml renamed to _compat/en/abra.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/abra/
4+
25
name: Abra
36
internal_url: /en/compatibility/abra
47
logo: /img/compatibility/abra/abra.png
@@ -62,26 +65,31 @@ segwit:
6265
bech32m: "untested"
6366
default: "p2pkh"
6467
send:
65-
bech32: "false"
68+
bech32: "false"
6669
bech32m: "untested"
6770
change_bech32: "untested"
6871
segwit_v1: "Bech32 not supported."
6972
bech32_p2wsh: "false"
7073
examples:
7174
- image: /img/compatibility/abra/segwit/receive-screen.png
7275
caption: >
73-
Abra uses P2PKH addresses for receiving.
74-
- image: /img/compatibility/abra/segwit/send-bech32.png
76+
Abra uses P2PKH addresses for receiving.
77+
- image: /img/compatibility/abra/segwit/send-bech32.png
7578
caption: >
7679
Abra allows a bech32 address to be input and does not provide a warning.
7780
However, the review button was not enabled until a non-bech32 address
7881
was provided. The eventually sent transaction used exact change so
7982
change address format was not determined.
80-
- image: /img/compatibility/abra/segwit/send-bech32-qr.png
83+
- image: /img/compatibility/abra/segwit/send-bech32-qr.png
8184
caption: >
8285
When using the QR code scanner, an error about address format was shown
8386
when scanning a bech32 address.
84-
- image: /img/compatibility/abra/segwit/send-non-bech32.png
87+
- image: /img/compatibility/abra/segwit/send-non-bech32.png
8588
caption: >
8689
When using a non bech32 address, the "Review" button is enabled. Button
87-
is disabled when using bech32 address format.
90+
is disabled when using bech32 address format.
91+
---
92+
<!-- Abra -->
93+
94+
{% assign tool = page %}
95+
{% include templates/compatibility-page.md %}

_data/compatibility/binance.yaml renamed to _compat/en/binance.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/binance/
4+
25
name: Binance
36
internal_url: /en/compatibility/binance
47
logo: /img/compatibility/binance/binance.png
@@ -47,15 +50,15 @@ segwit:
4750
bech32m: "false"
4851
default: "p2pkh"
4952
send:
50-
bech32: "true"
53+
bech32: "true"
5154
bech32m: "false"
5255
change_bech32: "untested"
5356
segwit_v1: "Does not pass front end javascript validation"
5457
bech32_p2wsh: "false"
5558
examples:
5659
- image: /img/compatibility/binance/segwit/receive-screen.png
5760
caption: >
58-
Binance receives via P2PKH addresses.
61+
Binance receives via P2PKH addresses.
5962
- image: /img/compatibility/binance/segwit/send-screen.png
6063
caption: >
6164
Default send screen accepts a bech32 address.
@@ -70,4 +73,9 @@ segwit:
7073
book screens.
7174
- image: /img/compatibility/binance/segwit/address-book-add.png
7275
caption: >
73-
Bech32 P2WPKH addresses can be successfully added using the address book functionality.
76+
Bech32 P2WPKH addresses can be successfully added using the address book functionality.
77+
---
78+
<!-- Binance -->
79+
80+
{% assign tool = page %}
81+
{% include templates/compatibility-page.md %}

_data/compatibility/bitcoin-core.yaml renamed to _compat/en/bitcoin-core-wallet.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/bitcoin-core/
4+
25
name: Bitcoin Core Wallet
36
internal_url: /en/compatibility/bitcoin-core
47
logo: /img/compatibility/bitcoin-core/bitcoin-core.png
@@ -86,7 +89,7 @@ segwit:
8689
bech32m: "true"
8790
default: "p2sh_wrapped"
8891
send:
89-
bech32: "true"
92+
bech32: "true"
9093
bech32m: "true"
9194
change_bech32: "true"
9295
segwit_v1: "Transaction can be created and broadcast, but does not make it
@@ -105,4 +108,9 @@ segwit:
105108
caption: >
106109
Send - By default, the change address takes the same type as the address
107110
being paid to. Can be overridden with change control's 'Custom change
108-
address'.
111+
address'.
112+
---
113+
<!-- Bitcoin Core Wallet -->
114+
115+
{% assign tool = page %}
116+
{% include templates/compatibility-page.md %}

_data/compatibility/bitcoin-wallet.yaml renamed to _compat/en/bitcoin-wallet.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/bitcoin-wallet/
4+
25
# https://github.com/bitcoin-wallet/bitcoin-wallet
36
name: Bitcoin Wallet
47
internal_url: /en/compatibility/bitcoin-wallet
@@ -20,3 +23,8 @@ segwit:
2023
bech32m: "true"
2124
change_bech32: "true"
2225
bech32_p2wsh: "true"
26+
---
27+
<!-- Bitcoin Wallet -->
28+
29+
{% assign tool = page %}
30+
{% include templates/compatibility-page.md %}

_data/compatibility/bitgo.yaml renamed to _compat/en/bitgo.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/bitgo/
4+
25
name: BitGo
36
internal_url: /en/compatibility/bitgo
47
logo: /img/compatibility/bitgo/bitgo.png
@@ -55,7 +58,7 @@ segwit:
5558
bech32m: "true"
5659
default: "p2sh_wrapped"
5760
send:
58-
bech32: "true"
61+
bech32: "true"
5962
bech32m: "true"
6063
change_bech32: "true"
6164
segwit_v1: "Error occurs during sending process, after validation."
@@ -65,11 +68,16 @@ segwit:
6568
caption: >
6669
BitGo's web wallet UI defaults to P2SH-wrapped segwit addresses.
6770
Visually, the segwit logo is displayed next to segwit addresses with a
68-
tooltip indicating "Wrapped Segwit". While bech32 receive addresses are
69-
not possible in the UI currently, bech32 receive addresses can be generated using the API.
71+
tooltip indicating "Wrapped Segwit". While bech32 receive addresses are
72+
not possible in the UI currently, bech32 receive addresses can be generated using the API.
7073
- image: /img/compatibility/bitgo/segwit/send-screen.png
7174
caption: >
7275
BitGo's web wallet allows sending to bech32 addresses.
7376
#- image: /img/compatibility/bitgo/segwit/send-v1.png
7477
# caption: >
75-
# BitGo's web wallet displays an error when attempting send to segwit v1 addresses.
78+
# BitGo's web wallet displays an error when attempting send to segwit v1 addresses.
79+
---
80+
<!-- BitGo -->
81+
82+
{% assign tool = page %}
83+
{% include templates/compatibility-page.md %}

_data/compatibility/bitmex.yaml renamed to _compat/en/bitmex.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/bitmex/
4+
25
name: BitMEX
36
internal_url: /en/compatibility/bitmex
47
logo: /img/compatibility/bitmex/bitmex.png
@@ -47,3 +50,8 @@ segwit:
4750
- image: /img/compatibility/bitmex/segwit/receive-screen.png
4851
caption: >
4952
BitMEX uses a static P2SH address per user account.
53+
---
54+
<!-- BitMex -->
55+
56+
{% assign tool = page %}
57+
{% include templates/compatibility-page.md %}

_data/compatibility/bitnob.yaml renamed to _compat/en/bitnob.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/bitnob/
4+
25
name: Bitnob
36
internal_url: /en/compatibility/bitnob
47
logo: /img/compatibility/bitnob/bitnob.png
@@ -55,3 +58,8 @@ segwit:
5558
caption: >
5659
Bitnob's default receive address type is p2wsh (native segwit)
5760
61+
---
62+
<!-- BitNob -->
63+
64+
{% assign tool = page %}
65+
{% include templates/compatibility-page.md %}

_data/compatibility/bitpowr.yaml renamed to _compat/en/bitpowr.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
layout: page
3+
permalink: /en/compatibility/bitpowr/
4+
25
name: Bitpowr
36
internal_url: /en/compatibility/bitpowr
47
logo: /img/compatibility/bitpowr/bitpowr.png
@@ -37,7 +40,7 @@ rbf:
3740
- image: /img/compatibility/bitpowr/rbf/transactions-list.png
3841
caption: >
3942
Receiving Transaction - Incoming transaction.
40-
43+
4144
segwit:
4245
tested:
4346
date: "2021-08-17"
@@ -51,7 +54,7 @@ segwit:
5154
bech32m: "untested"
5255
default: "p2pkh"
5356
send:
54-
bech32: "true"
57+
bech32: "true"
5558
bech32m: "untested"
5659
change_bech32: "true"
5760
segwit_v1: "true"
@@ -65,5 +68,10 @@ segwit:
6568
Bitpowr supports sending to bech32, p2pkh and p2sh wrapped addresses via the API and UI.
6669
- image: /img/compatibility/bitpowr/segwit/send-change-segwit.png
6770
caption: >
68-
Bitpowr supports bech32, p2pkh and p2sh wrapped change addresses. You can choose via the API
71+
Bitpowr supports bech32, p2pkh and p2sh wrapped change addresses. You can choose via the API
6972
and its default to bech32 on dashboard.
73+
---
74+
<!-- BitPowr -->
75+
76+
{% assign tool = page %}
77+
{% include templates/compatibility-page.md %}

0 commit comments

Comments
 (0)