Commit ea58e8b
committed
Fix sync constants from LTC/DOGE daemon source code
Tip age gate: 24 hours (86400s), not 2 hours (7200s).
Reference: litecoin/src/validation.h DEFAULT_MAX_TIP_AGE = 24*60*60
Reference: dogecoin/src/validation.h DEFAULT_MAX_TIP_AGE = 24*60*60
Mining gate depth: maturity + reorg buffer, not maturity alone.
LTC: 100 (COINBASE_MATURITY) + 6 (PEGOUT_MATURITY) = 106
DOGE: 240 (nCoinbaseMaturity) + 10 (reorg safety) = 250
All constants now reference LTC/DOGE daemon source, not Bitcoin.1 parent ccd86b3 commit ea58e8b
4 files changed
Lines changed: 39 additions & 18 deletions
File tree
- src
- c2pool
- core/coin
- impl
- doge/coin
- ltc/coin
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1389 | 1389 | | |
1390 | 1390 | | |
1391 | 1391 | | |
1392 | | - | |
1393 | | - | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
1394 | 1397 | | |
1395 | | - | |
| 1398 | + | |
1396 | 1399 | | |
1397 | 1400 | | |
1398 | 1401 | | |
1399 | 1402 | | |
1400 | | - | |
| 1403 | + | |
1401 | 1404 | | |
1402 | 1405 | | |
1403 | 1406 | | |
| |||
3551 | 3554 | | |
3552 | 3555 | | |
3553 | 3556 | | |
3554 | | - | |
3555 | | - | |
| 3557 | + | |
| 3558 | + | |
| 3559 | + | |
| 3560 | + | |
| 3561 | + | |
3556 | 3562 | | |
3557 | | - | |
| 3563 | + | |
3558 | 3564 | | |
3559 | 3565 | | |
3560 | 3566 | | |
3561 | 3567 | | |
3562 | | - | |
| 3568 | + | |
3563 | 3569 | | |
3564 | 3570 | | |
3565 | 3571 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
53 | 66 | | |
54 | 67 | | |
55 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
371 | 372 | | |
372 | 373 | | |
373 | 374 | | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
536 | 537 | | |
537 | 538 | | |
538 | 539 | | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
543 | 545 | | |
544 | 546 | | |
545 | 547 | | |
546 | 548 | | |
547 | 549 | | |
548 | 550 | | |
549 | 551 | | |
550 | | - | |
| 552 | + | |
551 | 553 | | |
552 | 554 | | |
553 | 555 | | |
| |||
0 commit comments