Commit a013f4d
committed
P2Pool-style block-found logs + fix self-banning on localhost:0
Block-found notifications now match p2pool format:
### PARENT NETWORK BLOCK FOUND! ###
Network: Litecoin (tLTC)
Height: 16001
Block hash: 05ae9008...
Status: ACCEPTED
### MERGED BLOCK FOUND! DOGE ###
Chain: DOGE (chain_id=2)
Height: 23059
Aux hash: 90f7bfb5...
Fix: skip banning localhost:0 (port==0) peers — these are our own
locally created shares that can fail GENTX verification during chain
growth. This is a timing race, not a protocol error.1 parent a71ebad commit a013f4d
3 files changed
Lines changed: 24 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1258 | 1258 | | |
1259 | 1259 | | |
1260 | 1260 | | |
1261 | | - | |
| 1261 | + | |
| 1262 | + | |
1262 | 1263 | | |
1263 | 1264 | | |
1264 | 1265 | | |
| |||
1304 | 1305 | | |
1305 | 1306 | | |
1306 | 1307 | | |
1307 | | - | |
1308 | | - | |
| 1308 | + | |
| 1309 | + | |
1309 | 1310 | | |
1310 | | - | |
1311 | | - | |
1312 | | - | |
1313 | | - | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
1314 | 1318 | | |
1315 | 1319 | | |
1316 | 1320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
| 429 | + | |
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| |||
662 | 662 | | |
663 | 663 | | |
664 | 664 | | |
665 | | - | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
666 | 672 | | |
667 | 673 | | |
668 | 674 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
720 | | - | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
721 | 723 | | |
722 | 724 | | |
| 725 | + | |
| 726 | + | |
723 | 727 | | |
724 | 728 | | |
725 | 729 | | |
| |||
0 commit comments