Skip to content

Commit fa24446

Browse files
authored
Merge pull request bitcoin#1585 from achow101/fix-link-checks
ci: Fix link checks
2 parents 253dd09 + 3a20313 commit fa24446

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

bip-0197.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ The Seizable Collateral script takes the following form:
7979
8080
==Compatibility==
8181

82-
BIP 197 is compatible with [ERC 1850](https://github.com/ethereum/EIPs/pull/1850) for [atomic loans](https://arxiv.org/pdf/1901.05117.pdf) with Ethereum. Can be extended in the future to be compatible with other HTLC and smart contract compatible chains.
82+
BIP 197 is compatible with [https://github.com/ethereum/EIPs/pull/1850 ERC 1850] for [https://arxiv.org/pdf/1901.05117.pdf atomic loans] with Ethereum. Can be extended in the future to be compatible with other HTLC and smart contract compatible chains.
8383

8484
==Motivation==
8585

bip-0310.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ send the mask, in this case a default full mask is used.
190190

191191
* '''"version-rolling.mask"''' (REQUIRED, ''TMask'')
192192
::- Bits set to 1 are allowed to be changed by the miner. If a miner changes bits with mask value 0, the server will reject the submit.
193-
::- The server SHOULD return the largest mask possible (as many bits set to 1 as possible). This can be useful in a mining proxy setup when a proxy needs to negotiate the best mask for its future clients. There is a [Draft BIP](https://github.com/bitcoin/bips/pull/661/files) describing available nVersion bits. The server SHOULD pick a mask that preferably covers all bits specified in the BIP.
193+
::- The server SHOULD return the largest mask possible (as many bits set to 1 as possible). This can be useful in a mining proxy setup when a proxy needs to negotiate the best mask for its future clients. There is a [https://github.com/bitcoin/bips/pull/661/files Draft BIP] describing available nVersion bits. The server SHOULD pick a mask that preferably covers all bits specified in the BIP.
194194

195195
* '''"version-rolling.min-bit-count"''' (REQUIRED, ''TMask'')
196196
::- The miner also provides a minimum number of bits that it needs for efficient version rolling in hardware. Note that this parameter provides important diagnostic information to the pool server. If the requested bit count exceeds the limit of the pool server, the miner always has the chance to operate in a degraded mode without using full hashing power. The pool server SHOULD NOT terminate miner connection if this rare mismatch case occurs.

scripts/link-format-chk.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@
88

99
ECODE=0
1010
FILES=""
11-
for fname in $(git diff --name-only HEAD $(git merge-base HEAD master)); do
12-
if [[ $fname == *.mediawiki ]]; then
13-
GRES=$(grep -n '](http' $fname)
14-
if [ "$GRES" != "" ]; then
15-
if [ $ECODE -eq 0 ]; then
16-
>&2 echo "Github Mediawiki format writes link as [URL text], not as [text](url):"
17-
fi
18-
ECODE=1
19-
echo "- $fname:$GRES"
11+
for fname in *.mediawiki; do
12+
GRES=$(grep -n '](http' $fname)
13+
if [ "$GRES" != "" ]; then
14+
if [ $ECODE -eq 0 ]; then
15+
>&2 echo "Github Mediawiki format writes link as [URL text], not as [text](url):"
2016
fi
17+
ECODE=1
18+
echo "- $fname:$GRES"
2119
fi
2220
done
2321
exit $ECODE

0 commit comments

Comments
 (0)