Skip to content

Commit 11376b5

Browse files
Fix a-vs-an typos
1 parent 67447ba commit 11376b5

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

contrib/seeds/generate-seeds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def main():
124124
g.write(' * AUTOGENERATED by contrib/seeds/generate-seeds.py\n')
125125
g.write(' *\n')
126126
g.write(' * Each line contains a 16-byte IPv6 address and a port.\n')
127-
g.write(' * IPv4 as well as onion addresses are wrapped inside a IPv6 address accordingly.\n')
127+
g.write(' * IPv4 as well as onion addresses are wrapped inside an IPv6 address accordingly.\n')
128128
g.write(' */\n')
129129
with open(os.path.join(indir,'nodes_main.txt'),'r') as f:
130130
process_nodes(g, f, 'pnSeed6_main', 8333)

src/chainparamsseeds.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* AUTOGENERATED by contrib/seeds/generate-seeds.py
66
*
77
* Each line contains a 16-byte IPv6 address and a port.
8-
* IPv4 as well as onion addresses are wrapped inside a IPv6 address accordingly.
8+
* IPv4 as well as onion addresses are wrapped inside an IPv6 address accordingly.
99
*/
1010
static SeedSpec6 pnSeed6_main[] = {
1111
{{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0x05,0x13,0x05,0x7f}, 8333},

src/qt/guiutil.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ QFont fixedPitchFont()
101101
#endif
102102
}
103103

104-
// Just some dummy data to generate an convincing random-looking (but consistent) address
104+
// Just some dummy data to generate a convincing random-looking (but consistent) address
105105
static const uint8_t dummydata[] = {0xeb,0x15,0x23,0x1d,0xfc,0xeb,0x60,0x92,0x58,0x86,0xb6,0x7d,0x06,0x52,0x99,0x92,0x59,0x15,0xae,0xb1,0x72,0xc0,0x66,0x47};
106106

107107
// Generate a dummy address with invalid CRC, starting with the network prefix.

src/rpc/rawtransaction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ UniValue signrawtransaction(const JSONRPCRequest& request)
692692

693693
"\nArguments:\n"
694694
"1. \"hexstring\" (string, required) The transaction hex string\n"
695-
"2. \"prevtxs\" (string, optional) An json array of previous dependent transaction outputs\n"
695+
"2. \"prevtxs\" (string, optional) A json array of previous dependent transaction outputs\n"
696696
" [ (json array of json objects, or 'null' if none provided)\n"
697697
" {\n"
698698
" \"txid\":\"id\", (string, required) The transaction id\n"

src/script/interpreter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ enum
104104
//
105105
SCRIPT_VERIFY_MINIMALIF = (1U << 13),
106106

107-
// Signature(s) must be empty vector if an CHECK(MULTI)SIG operation failed
107+
// Signature(s) must be empty vector if a CHECK(MULTI)SIG operation failed
108108
//
109109
SCRIPT_VERIFY_NULLFAIL = (1U << 14),
110110

src/script/ismine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ enum isminetype
2929
typedef uint8_t isminefilter;
3030

3131
/* isInvalid becomes true when the script is found invalid by consensus or policy. This will terminate the recursion
32-
* and return a ISMINE_NO immediately, as an invalid script should never be considered as "mine". This is needed as
32+
* and return ISMINE_NO immediately, as an invalid script should never be considered as "mine". This is needed as
3333
* different SIGVERSION may have different network rules. Currently the only use of isInvalid is indicate uncompressed
3434
* keys in SIGVERSION_WITNESS_V0 script, but could also be used in similar cases in the future
3535
*/

src/test/data/tx_invalid.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@
9292
[[["60a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1", 0, "1 0x41 0x04cc71eb30d653c0c3163990c47b976f3fb3f37cccdcbedb169a1dfef58bbfbfaff7d8a473e7e2e6d317b87bafe8bde97e3cf8f065dec022b51d11fcdd0d348ac4 0x41 0x0461cbdcc5409fb4b4d42b51d33381354d80e550078cb532a34bfa2fcfdeb7d76519aecc62770f5b0e4ef8551946d8a540911abe3e7854a26f39f58b25c15342af 2 OP_CHECKMULTISIG"]],
9393
"0100000001b14bdcbc3e01bdaad36cc08e81e69c82e1060bc14e518db2b49aa43ad90ba260000000004a010047304402203f16c6f40162ab686621ef3000b04e75418a0c0cb2d8aebeac894ae360ac1e780220ddc15ecdfc3507ac48e1681a33eb60996631bf6bf5bc0a0682c4db743ce7ca2b01ffffffff0140420f00000000001976a914660d4ef3a743e3e696ad990364e555c271ad504b88ac00000000", "P2SH,NULLDUMMY"],
9494

95-
["As above, but using a OP_1"],
95+
["As above, but using an OP_1"],
9696
[[["60a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1", 0, "1 0x41 0x04cc71eb30d653c0c3163990c47b976f3fb3f37cccdcbedb169a1dfef58bbfbfaff7d8a473e7e2e6d317b87bafe8bde97e3cf8f065dec022b51d11fcdd0d348ac4 0x41 0x0461cbdcc5409fb4b4d42b51d33381354d80e550078cb532a34bfa2fcfdeb7d76519aecc62770f5b0e4ef8551946d8a540911abe3e7854a26f39f58b25c15342af 2 OP_CHECKMULTISIG"]],
9797
"0100000001b14bdcbc3e01bdaad36cc08e81e69c82e1060bc14e518db2b49aa43ad90ba26000000000495147304402203f16c6f40162ab686621ef3000b04e75418a0c0cb2d8aebeac894ae360ac1e780220ddc15ecdfc3507ac48e1681a33eb60996631bf6bf5bc0a0682c4db743ce7ca2b01ffffffff0140420f00000000001976a914660d4ef3a743e3e696ad990364e555c271ad504b88ac00000000", "P2SH,NULLDUMMY"],
9898

99-
["As above, but using a OP_1NEGATE"],
99+
["As above, but using an OP_1NEGATE"],
100100
[[["60a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1", 0, "1 0x41 0x04cc71eb30d653c0c3163990c47b976f3fb3f37cccdcbedb169a1dfef58bbfbfaff7d8a473e7e2e6d317b87bafe8bde97e3cf8f065dec022b51d11fcdd0d348ac4 0x41 0x0461cbdcc5409fb4b4d42b51d33381354d80e550078cb532a34bfa2fcfdeb7d76519aecc62770f5b0e4ef8551946d8a540911abe3e7854a26f39f58b25c15342af 2 OP_CHECKMULTISIG"]],
101101
"0100000001b14bdcbc3e01bdaad36cc08e81e69c82e1060bc14e518db2b49aa43ad90ba26000000000494f47304402203f16c6f40162ab686621ef3000b04e75418a0c0cb2d8aebeac894ae360ac1e780220ddc15ecdfc3507ac48e1681a33eb60996631bf6bf5bc0a0682c4db743ce7ca2b01ffffffff0140420f00000000001976a914660d4ef3a743e3e696ad990364e555c271ad504b88ac00000000", "P2SH,NULLDUMMY"],
102102

src/test/data/tx_valid.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
[[["60a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1", 0, "1 0x41 0x04cc71eb30d653c0c3163990c47b976f3fb3f37cccdcbedb169a1dfef58bbfbfaff7d8a473e7e2e6d317b87bafe8bde97e3cf8f065dec022b51d11fcdd0d348ac4 0x41 0x0461cbdcc5409fb4b4d42b51d33381354d80e550078cb532a34bfa2fcfdeb7d76519aecc62770f5b0e4ef8551946d8a540911abe3e7854a26f39f58b25c15342af 2 OP_CHECKMULTISIG"]],
2424
"0100000001b14bdcbc3e01bdaad36cc08e81e69c82e1060bc14e518db2b49aa43ad90ba260000000004a01ff47304402203f16c6f40162ab686621ef3000b04e75418a0c0cb2d8aebeac894ae360ac1e780220ddc15ecdfc3507ac48e1681a33eb60996631bf6bf5bc0a0682c4db743ce7ca2b01ffffffff0140420f00000000001976a914660d4ef3a743e3e696ad990364e555c271ad504b88ac00000000", "P2SH"],
2525

26-
["As above, but using a OP_1"],
26+
["As above, but using an OP_1"],
2727
[[["60a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1", 0, "1 0x41 0x04cc71eb30d653c0c3163990c47b976f3fb3f37cccdcbedb169a1dfef58bbfbfaff7d8a473e7e2e6d317b87bafe8bde97e3cf8f065dec022b51d11fcdd0d348ac4 0x41 0x0461cbdcc5409fb4b4d42b51d33381354d80e550078cb532a34bfa2fcfdeb7d76519aecc62770f5b0e4ef8551946d8a540911abe3e7854a26f39f58b25c15342af 2 OP_CHECKMULTISIG"]],
2828
"0100000001b14bdcbc3e01bdaad36cc08e81e69c82e1060bc14e518db2b49aa43ad90ba26000000000495147304402203f16c6f40162ab686621ef3000b04e75418a0c0cb2d8aebeac894ae360ac1e780220ddc15ecdfc3507ac48e1681a33eb60996631bf6bf5bc0a0682c4db743ce7ca2b01ffffffff0140420f00000000001976a914660d4ef3a743e3e696ad990364e555c271ad504b88ac00000000", "P2SH"],
2929

30-
["As above, but using a OP_1NEGATE"],
30+
["As above, but using an OP_1NEGATE"],
3131
[[["60a20bd93aa49ab4b28d514ec10b06e1829ce6818ec06cd3aabd013ebcdc4bb1", 0, "1 0x41 0x04cc71eb30d653c0c3163990c47b976f3fb3f37cccdcbedb169a1dfef58bbfbfaff7d8a473e7e2e6d317b87bafe8bde97e3cf8f065dec022b51d11fcdd0d348ac4 0x41 0x0461cbdcc5409fb4b4d42b51d33381354d80e550078cb532a34bfa2fcfdeb7d76519aecc62770f5b0e4ef8551946d8a540911abe3e7854a26f39f58b25c15342af 2 OP_CHECKMULTISIG"]],
3232
"0100000001b14bdcbc3e01bdaad36cc08e81e69c82e1060bc14e518db2b49aa43ad90ba26000000000494f47304402203f16c6f40162ab686621ef3000b04e75418a0c0cb2d8aebeac894ae360ac1e780220ddc15ecdfc3507ac48e1681a33eb60996631bf6bf5bc0a0682c4db743ce7ca2b01ffffffff0140420f00000000001976a914660d4ef3a743e3e696ad990364e555c271ad504b88ac00000000", "P2SH"],
3333

test/functional/p2p_fingerprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""Test various fingerprinting protections.
66
7-
If an stale block more than a month old or its header are requested by a peer,
7+
If a stale block more than a month old or its header are requested by a peer,
88
the node should pretend that it does not have it to avoid fingerprinting.
99
"""
1010

test/functional/rpc_rawtransaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def run_test(self):
186186
self.nodes[0].generate(1)
187187
self.sync_all()
188188

189-
#THIS IS A INCOMPLETE FEATURE
189+
#THIS IS AN INCOMPLETE FEATURE
190190
#NODE2 HAS TWO OF THREE KEY AND THE FUNDS SHOULD BE SPENDABLE AND COUNT AT BALANCE CALCULATION
191191
assert_equal(self.nodes[2].getbalance(), bal) #for now, assume the funds of a 2of3 multisig tx are not marked as spendable
192192

0 commit comments

Comments
 (0)