Skip to content

Commit 66aed73

Browse files
committed
Bugfix: BIP 326: Correct Author/Title headings
1 parent 31a496f commit 66aed73

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

README.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ Those proposing changes should consider that ultimately consent may rest with th
990990
|-
991991
| [[bip-0326.mediawiki|326]]
992992
| Applications
993-
| Anti-fee-sniping protection with nSequence in taproot transactions to improve privacy for off-chain protocols
993+
| Anti-fee-sniping protection in taproot transactions
994994
| Chris Belcher
995995
| Informational
996996
| Draft

bip-0326.mediawiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<pre>
22
BIP: 326
33
Layer: Applications
4-
Title: Anti-fee-sniping protection with nSequence in taproot transactions to improve privacy for off-chain protocols
5-
Author: Chris Belcher <belcher at riseup dot net>
4+
Title: Anti-fee-sniping in taproot transactions
5+
Author: Chris Belcher <belcher@riseup.net>
66
Status: Draft
77
Type: Informational
88
Comments-Summary: No comments yet.

scripts/buildtable.pl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
);
9090
my %GrandfatheredPD = map { $_ => undef } qw(9 36 37 38 42 49 50 60 65 67 69 74 80 81 83 90 99 105 107 109 111 112 113 114 122 124 125 126 130 131 132 133 140 141 142 143 144 146 147 150 151 152);
9191
my %TolerateMissingLicense = map { $_ => undef } qw(1 10 11 12 13 14 15 16 21 31 33 34 35 39 43 44 45 47 61 64 68 70 71 72 73 101 102 106 120 121);
92-
my %TolerateTitleTooLong = map { $_ => undef } qw(39 44 45 47 49 60 67 68 69 73 74 75 80 81 99 105 106 109 113 122 126 131 143 145 147 173 326);
92+
my %TolerateTitleTooLong = map { $_ => undef } qw(39 44 45 47 49 60 67 68 69 73 74 75 80 81 99 105 106 109 113 122 126 131 143 145 147 173);
9393

9494
my %emails;
9595

@@ -127,10 +127,7 @@
127127
my $title_len = length($title);
128128
die "$fn has too-long TItle ($title_len > 44 char max)" if $title_len > 44 and not exists $TolerateTitleTooLong{$bipnum};
129129
} elsif ($field eq 'Author') {
130-
my $deantispam = $val;
131-
$deantispam =~ s/ at /@/;
132-
$deantispam =~ s/ dot /./g;
133-
$deantispam =~ m/^(\S[^<@>]*\S) \<([^@>]*\@[\w.]+\.\w+)\>$/ or die "Malformed Author line in $fn";
130+
$val =~ m/^(\S[^<@>]*\S) \<([^@>]*\@[\w.]+\.\w+)\>$/ or die "Malformed Author line in $fn";
134131
my ($authorname, $authoremail) = ($1, $2);
135132
$authoremail =~ s/(?<=\D)$bipnum(?=\D)/<BIPNUM>/g;
136133
$emails{$authorname}->{$authoremail} = undef;

0 commit comments

Comments
 (0)