mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-22 04:38:55 +02:00
doc: spelling fixes
This commit is contained in:
@@ -415,7 +415,7 @@ bool InitHTTPServer()
|
||||
LogPrintf("HTTP: creating work queue of depth %d\n", workQueueDepth);
|
||||
|
||||
workQueue = new WorkQueue<HTTPClosure>(workQueueDepth);
|
||||
// tranfer ownership to eventBase/HTTP via .release()
|
||||
// transfer ownership to eventBase/HTTP via .release()
|
||||
eventBase = base_ctr.release();
|
||||
eventHTTP = http_ctr.release();
|
||||
return true;
|
||||
|
||||
@@ -44,7 +44,7 @@ NetworkStyle::NetworkStyle(const QString &_appName, const int iconColorHueShift,
|
||||
// loop through pixels
|
||||
for(int x=0;x<img.width();x++)
|
||||
{
|
||||
// preserve alpha because QColor::getHsl doesen't return the alpha value
|
||||
// preserve alpha because QColor::getHsl doesn't return the alpha value
|
||||
a = qAlpha(scL[x]);
|
||||
QColor col(scL[x]);
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ void RPCNestedTests::rpcNestedTests()
|
||||
RPCConsole::RPCExecuteCommandLine(result, "getblockchaininfo "); //whitespace at the end will be tolerated
|
||||
QVERIFY(result.substr(0,1) == "{");
|
||||
|
||||
(RPCConsole::RPCExecuteCommandLine(result, "getblockchaininfo()[\"chain\"]")); //Quote path identifier are allowed, but look after a child contaning the quotes in the key
|
||||
(RPCConsole::RPCExecuteCommandLine(result, "getblockchaininfo()[\"chain\"]")); //Quote path identifier are allowed, but look after a child containing the quotes in the key
|
||||
QVERIFY(result == "null");
|
||||
|
||||
(RPCConsole::RPCExecuteCommandLine(result, "createrawtransaction [] {} 0")); //parameter not in brackets are allowed
|
||||
|
||||
@@ -57,7 +57,7 @@ int main(int argc, char *argv[])
|
||||
bool fInvalid = false;
|
||||
|
||||
// Prefer the "minimal" platform for the test instead of the normal default
|
||||
// platform ("xcb", "windows", or "cocoa") so tests can't unintentially
|
||||
// platform ("xcb", "windows", or "cocoa") so tests can't unintentionally
|
||||
// interfere with any background GUIs and don't require extra resources.
|
||||
setenv("QT_QPA_PLATFORM", "minimal", 0);
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ static CBlock BuildBlockTestCase() {
|
||||
return block;
|
||||
}
|
||||
|
||||
// Number of shared use_counts we expect for a tx we havent touched
|
||||
// Number of shared use_counts we expect for a tx we haven't touched
|
||||
// == 2 (mempool + our copy from the GetSharedTx call)
|
||||
#define SHARED_TX_OFFSET 2
|
||||
|
||||
|
||||
@@ -275,7 +275,7 @@ UtxoData::iterator FindRandomFrom(const std::set<COutPoint> &utxoSet) {
|
||||
// except the emphasis is on testing the functionality of UpdateCoins
|
||||
// random txs are created and UpdateCoins is used to update the cache stack
|
||||
// In particular it is tested that spending a duplicate coinbase tx
|
||||
// has the expected effect (the other duplicate is overwitten at all cache levels)
|
||||
// has the expected effect (the other duplicate is overwritten at all cache levels)
|
||||
BOOST_AUTO_TEST_CASE(updatecoins_simulation_test)
|
||||
{
|
||||
bool spent_a_duplicate_coinbase = false;
|
||||
|
||||
@@ -205,7 +205,7 @@
|
||||
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "4259839 CHECKSEQUENCEVERIFY 1"]],
|
||||
"020000000100010000000000000000000000000000000000000000000000000000000000000000000000feff40000100000000000000000000000000", "P2SH,CHECKSEQUENCEVERIFY"],
|
||||
|
||||
["By-time locks, with argument just beyond txin.nSequence (but within numerical boundries)"],
|
||||
["By-time locks, with argument just beyond txin.nSequence (but within numerical boundaries)"],
|
||||
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "4194305 CHECKSEQUENCEVERIFY 1"]],
|
||||
"020000000100010000000000000000000000000000000000000000000000000000000000000000000000000040000100000000000000000000000000", "P2SH,CHECKSEQUENCEVERIFY"],
|
||||
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "4259839 CHECKSEQUENCEVERIFY 1"]],
|
||||
|
||||
Reference in New Issue
Block a user