|
210 | 210 | }
|
211 | 211 | ]
|
212 | 212 | },
|
| 213 | + { |
| 214 | + "path": "/src/crypto/slow-hash.cpp", |
| 215 | + "multiline": true, |
| 216 | + "changes": [ |
| 217 | + { |
| 218 | + "action": "replace", |
| 219 | + "marker": "(if \\(munmap\\(data, MAP_SIZE\\) != 0\\) {)[^}]+(})", |
| 220 | + "parameters": { |
| 221 | + "text": [ |
| 222 | + "\\1\n std::terminate();\n \\2" |
| 223 | + ] |
| 224 | + } |
| 225 | + } |
| 226 | + ] |
| 227 | + }, |
213 | 228 | {
|
214 | 229 | "path": "/src/crypto/keccak.c",
|
215 | 230 | "changes": [
|
|
230 | 245 | ]
|
231 | 246 | },
|
232 | 247 |
|
| 248 | + |
| 249 | + { |
| 250 | + "descritption": "Fix warning as error", |
| 251 | + "path": "/src/SimpleWallet/SimpleWallet.cpp", |
| 252 | + "changes": [ |
| 253 | + { |
| 254 | + "action": "replace", |
| 255 | + "marker": "Tools::SignalHandler::install([&wrpc, &wallet] {", |
| 256 | + "parameters": { |
| 257 | + "text": [ |
| 258 | + " Tools::SignalHandler::install([&wrpc] {" |
| 259 | + ] |
| 260 | + } |
| 261 | + } |
| 262 | + ] |
| 263 | + }, |
| 264 | + { |
| 265 | + "descritption": "Fix warning as error", |
| 266 | + "path": "/src/PaymentGateService/PaymentGateService.cpp", |
| 267 | + "changes": [ |
| 268 | + { |
| 269 | + "action": "replace", |
| 270 | + "marker": "node->init([&log, &nodeInitStatus](std::error_code ec) {", |
| 271 | + "parameters": { |
| 272 | + "text": [ |
| 273 | + " node->init([&nodeInitStatus](std::error_code ec) {" |
| 274 | + ] |
| 275 | + } |
| 276 | + } |
| 277 | + ] |
| 278 | + }, |
| 279 | + { |
| 280 | + "descritption": "Fix warning as error", |
| 281 | + "path": "/src/BlockchainExplorer/BlockchainExplorer.cpp", |
| 282 | + "changes": [ |
| 283 | + { |
| 284 | + "action": "replace", |
| 285 | + "marker": "[this, blockIndexesPtr, blocksPtr, topIndex](std::error_code ec) {", |
| 286 | + "parameters": { |
| 287 | + "text": [ |
| 288 | + " [this, blockIndexesPtr, blocksPtr](std::error_code ec) {" |
| 289 | + ] |
| 290 | + } |
| 291 | + } |
| 292 | + ] |
| 293 | + }, |
| 294 | + { |
| 295 | + "descritption": "Fix warning as error", |
| 296 | + "path": "/src/Wallet/WalletGreen.cpp", |
| 297 | + "changes": [ |
| 298 | + { |
| 299 | + "action": "replace", |
| 300 | + "marker": "bool r = txIdIndex.modify(it, [this, transactionId, &info, totalAmount, &updated](WalletTransaction& transaction) {", |
| 301 | + "parameters": { |
| 302 | + "text": [ |
| 303 | + " bool r = txIdIndex.modify(it, [&info, totalAmount, &updated](WalletTransaction& transaction) {" |
| 304 | + ] |
| 305 | + } |
| 306 | + }, |
| 307 | + { |
| 308 | + "action": "replace", |
| 309 | + "marker": "return eraseTransfers(transactionId, firstTransferIdx, [this, &knownAddresses, eraseOutputTransfers](bool isOutput, const std::string& transferAddress) {", |
| 310 | + "parameters": { |
| 311 | + "text": [ |
| 312 | + " return eraseTransfers(transactionId, firstTransferIdx, [&knownAddresses, eraseOutputTransfers](bool isOutput, const std::string& transferAddress) {" |
| 313 | + ] |
| 314 | + } |
| 315 | + }, |
| 316 | + { |
| 317 | + "action": "replace", |
| 318 | + "marker": "m_transactions.get<TransactionIndex>().modify(it, [this, &transactionHash, &updated](CryptoNote::WalletTransaction& tx) {", |
| 319 | + "parameters": { |
| 320 | + "text": [ |
| 321 | + " m_transactions.get<TransactionIndex>().modify(it, [&updated](CryptoNote::WalletTransaction& tx) {" |
| 322 | + ] |
| 323 | + } |
| 324 | + } |
| 325 | + ] |
| 326 | + }, |
| 327 | + { |
| 328 | + "descritption": "Fix warning as error", |
| 329 | + "path": "/tests/UnitTests/INodeStubs.cpp", |
| 330 | + "changes": [ |
| 331 | + { |
| 332 | + "action": "replace", |
| 333 | + "marker": "getNewBlocks(std::move(knownBlockIds), *resultHolder, startHeight, [resultHolder, callback, &startHeight, &newBlocks](std::error_code ec)", |
| 334 | + "parameters": { |
| 335 | + "text": [ |
| 336 | + " getNewBlocks(std::move(knownBlockIds), *resultHolder, startHeight, [resultHolder, callback, &newBlocks](std::error_code ec)" |
| 337 | + ] |
| 338 | + } |
| 339 | + } |
| 340 | + ] |
| 341 | + }, |
| 342 | + { |
| 343 | + "descritption": "Fix warning as error", |
| 344 | + "path": "/tests/UnitTests/TestBlockchainExplorer.cpp", |
| 345 | + "changes": [ |
| 346 | + { |
| 347 | + "action": "replace", |
| 348 | + "marker": "[&status, this](const std::vector<BlockDetails>& newBlocks, const std::vector<BlockDetails>& orphanedBlocks) {", |
| 349 | + "parameters": { |
| 350 | + "text": [ |
| 351 | + " [&status](const std::vector<BlockDetails>& newBlocks, const std::vector<BlockDetails>& orphanedBlocks) {" |
| 352 | + ] |
| 353 | + } |
| 354 | + }, |
| 355 | + { |
| 356 | + "action": "replace", |
| 357 | + "marker": "[&status, &blockHashes, this, NUMBER_OF_BLOCKS](const std::vector<BlockDetails>& newBlocks,", |
| 358 | + "parameters": { |
| 359 | + "text": [ |
| 360 | + " [&status, &blockHashes, NUMBER_OF_BLOCKS](const std::vector<BlockDetails>& newBlocks," |
| 361 | + ] |
| 362 | + } |
| 363 | + }, |
| 364 | + { |
| 365 | + "action": "replace", |
| 366 | + "marker": "[&status, this](const std::vector<TransactionDetails>& newTransactions,", |
| 367 | + "parameters": { |
| 368 | + "text": [ |
| 369 | + " [&status](const std::vector<TransactionDetails>& newTransactions," |
| 370 | + ] |
| 371 | + } |
| 372 | + }, |
| 373 | + { |
| 374 | + "action": "replace", |
| 375 | + "marker": "[&status, &poolTxs, this, POOL_TX_NUMBER](const std::vector<TransactionDetails>& newTransactions,", |
| 376 | + "parameters": { |
| 377 | + "text": [ |
| 378 | + " [&status, &poolTxs, POOL_TX_NUMBER](const std::vector<TransactionDetails>& newTransactions," |
| 379 | + ] |
| 380 | + } |
| 381 | + }, |
| 382 | + { |
| 383 | + "action": "replace", |
| 384 | + "marker": "> cb1 = [&status, this](const std::vector<BlockDetails>& newBlocks,", |
| 385 | + "parameters": { |
| 386 | + "text": [ |
| 387 | + " > cb1 = [](const std::vector<BlockDetails>& newBlocks," |
| 388 | + ] |
| 389 | + } |
| 390 | + }, |
| 391 | + { |
| 392 | + "action": "replace", |
| 393 | + "marker": "[&status, this](const std::vector<BlockDetails>& newBlocks,", |
| 394 | + "parameters": { |
| 395 | + "text": [ |
| 396 | + " [](const std::vector<BlockDetails>& newBlocks," |
| 397 | + ] |
| 398 | + } |
| 399 | + }, |
| 400 | + { |
| 401 | + "action": "replace", |
| 402 | + "marker": "[this](const std::vector<BlockDetails>& newBlocks, const std::vector<BlockDetails>& orphanedBlocks) {", |
| 403 | + "parameters": { |
| 404 | + "text": [ |
| 405 | + " [](const std::vector<BlockDetails>& newBlocks, const std::vector<BlockDetails>& orphanedBlocks) {" |
| 406 | + ] |
| 407 | + } |
| 408 | + }, |
| 409 | + { |
| 410 | + "action": "replace", |
| 411 | + "marker": "[&status, this](const std::vector<BlockDetails>& newBlocks, const std::vector<BlockDetails>& orphanedBlocks) {", |
| 412 | + "parameters": { |
| 413 | + "text": [ |
| 414 | + " [&status](const std::vector<BlockDetails>& newBlocks, const std::vector<BlockDetails>& orphanedBlocks) {" |
| 415 | + ] |
| 416 | + } |
| 417 | + }, |
| 418 | + { |
| 419 | + "action": "replace", |
| 420 | + "marker": "[&status, this](const std::vector<TransactionDetails>& newTransactions,", |
| 421 | + "parameters": { |
| 422 | + "text": [ |
| 423 | + " [&status](const std::vector<TransactionDetails>& newTransactions," |
| 424 | + ] |
| 425 | + } |
| 426 | + } |
| 427 | + ] |
| 428 | + }, |
| 429 | + |
233 | 430 | {
|
234 | 431 | "path": "/src/CryptoNoteCore/TransactionValidationErrors.h",
|
235 | 432 | "changes": [
|
|
0 commit comments