Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testnet seed connects to Bitcoin cash node #133

Closed
Varunram opened this issue Jan 4, 2018 · 2 comments
Closed

Testnet seed connects to Bitcoin cash node #133

Varunram opened this issue Jan 4, 2018 · 2 comments

Comments

@Varunram
Copy link
Contributor

Varunram commented Jan 4, 2018

Something very weird happened when connecting to Peter Todd's testnet seed at testnet-seed.bitcoin.petertodd.org:

2018/01/04 17:14:33.014980 DB height 1257406
2018/01/04 17:14:33.015010 DB height 1257406
2018/01/04 17:14:33.015041 opened header file /root/.lit/testnet3/header.bin
2018/01/04 17:14:33.015050 Attempting connection based on DNS seed
2018/01/04 17:14:33.046706 Got 38 IPs from DNS seed testnet-seed.bitcoin.petertodd.org
2018/01/04 17:14:33.046826 Attempting connection to node at 64.52.84.86:18333
2018/01/04 17:14:33.255641 wrote 134 byte version message to 64.52.84.86:18333
2018/01/04 17:14:33.462726 got 137 byte response 7f1101002500000000000000a1134e5a00000000000000000000000000000000000000000000ffff31ce73462e812500000000000000000000000000000000000000000000000000af289037bf2824771b2f426974636f696e204142433a302e31362e31284542382e30292f5f51120001
 command: version
2018/01/04 17:14:33.462798 connected to /Bitcoin ABC:0.16.1(EB8.0)/
2018/01/04 17:14:33.462837 remote reports version 1117f (dec 70015)
2018/01/04 17:14:33.462985 got header tip height 1257406
2018/01/04 17:14:33.463209 Got verack.  Whatever.
2018/01/04 17:14:33.463304 Got unknown message type alert
2018/01/04 17:14:33.463569 get headers message has 19 header hashes, first one is 0000000000000168ae0daf3966778af563af35440f0f4de39cfe53d0caa94868
2018/01/04 17:14:33.726934 Got unknown message type sendheaders
2018/01/04 17:14:33.727227 got 1 addresses.
2018/01/04 17:14:34.377146 got 2000 headers. Range:
00000000000a3abd905d7ff94fdf9eb754f1b8587b4892937f9b88a3089621ab - 000000000003cfc8793011c3c96af8962c5a7bfba9c1e36d64ba6ce5ebcac151
2018/01/04 17:14:34.393777 header file position: 18017120
2018/01/04 17:14:34.393840 made 2017 header slice
2018/01/04 17:14:34.412326 Header 00000000000a3abd905d7ff94fdf9eb754f1b8587b4892937f9b88a3089621ab attaches at height 1032192
2018/01/04 17:14:34.412396 Header error: reorg message up to height 1034192, but have up to 1257406
2018/01/04 17:14:34.412416 blockTip to 1257406 headerTip 1257406
2018/01/04 17:14:34.412424 no blocks to request, entering wait state

This issue might be a good chance to add a couple more testnet seeds from Core (even Peter's seed has changed URLs)

@Varunram
Copy link
Contributor Author

Varunram commented Jan 7, 2018

Found a couple more ips today:

2018/01/07 18:17:22.759381 db says 37 keys
2018/01/07 18:17:22.760686 DB height 1257721
2018/01/07 18:17:22.760711 DB height 1257721
2018/01/07 18:17:22.760843 opened header file /Users/varunramg/.lit/testnet3/header.bin
2018/01/07 18:17:22.760948 Attempting connection based on DNS seed
2018/01/07 18:17:23.361159 Got 38 IPs from DNS seed testnet-seed.bitcoin.petertodd.org
2018/01/07 18:17:23.361381 Attempting connection to node at 35.193.133.244:18333
2018/01/07 18:17:23.969985 wrote 134 byte version message to 35.193.133.244:18333
2018/01/07 18:17:24.583277 got 146 byte response 7f1101002500000000000000dc16525a00000000000000000000000000000000000000000000ffff9d321611fe0b2500000000000000000000000000000000000000000000000000c36c2f882ef0353e242f426974636f696e204142433a302e31362e30284542382e303b20626974636f7265292f8155120001
 command: version
2018/01/07 18:17:24.583450 connected to /Bitcoin ABC:0.16.0(EB8.0; bitcore)/
2018/01/07 18:17:24.583493 remote reports version 1117f (dec 70015)
2018/01/07 18:17:24.583955 got header tip height 1257722
2018/01/07 18:17:24.584061 Got verack.  Whatever.
2018/01/07 18:17:24.584356 Got unknown message type alert
2018/01/07 18:17:24.586877 get headers message has 19 header hashes, first one is 000000000000076abafbcaa1182d2a74516e3acb3d48c6c5279fee80c69b0278
2018/01/07 18:17:24.870425 Got unknown message type sendheaders
2018/01/07 18:17:24.872609 got 1 addresses.
2018/01/07 18:17:25.011189
2018/01/07 18:17:26.238256 got 2000 headers. Range:
000000000002b5aa17d22c489ec33e0a64818134a615ee56d1381ce111c5ecf3 - 000000000002747c3a357d6c071741b18e5b76950cdf2800f370cbfe3fdd0459
2018/01/07 18:17:26.250886 header file position: 18042400
2018/01/07 18:17:26.250944 made 2017 header slice
2018/01/07 18:17:26.320214 Header 000000000002b5aa17d22c489ec33e0a64818134a615ee56d1381ce111c5ecf3 attaches at height 1032192
2018/01/07 18:17:26.320263 Header error: reorg message up to height 1034192, but have up to 1257722
2018/01/07 18:17:26.320395 blockTip to 1257721 headerTip 1257722
2018/01/07 18:17:26.320442 will request blocks 1257722 to 1257722

2018/01/07 18:25:34.697558 db says 38 keys
2018/01/07 18:25:34.697998 DB height 1257730
2018/01/07 18:25:34.698026 DB height 1257730
2018/01/07 18:25:34.698101 opened header file /Users/varunramg/.lit/testnet3/header.bin
2018/01/07 18:25:34.698135 Attempting connection based on DNS seed
2018/01/07 18:25:34.701286 Got 38 IPs from DNS seed testnet-seed.bitcoin.petertodd.org
2018/01/07 18:25:34.701326 Attempting connection to node at 138.68.80.120:18333
2018/01/07 18:25:34.915683 wrote 134 byte version message to 138.68.80.120:18333
2018/01/07 18:25:35.480873 got 137 byte response 7f1101002500000000000000c718525a00000000000000000000000000000000000000000000ffff9d321611fe46250000000000000000000000000000000000000000000000000044f57662a46bd4fc1b2f426974636f696e204142433a302e31362e32284542382e30292f8255120001
 command: version
2018/01/07 18:25:35.481004 connected to /Bitcoin ABC:0.16.2(EB8.0)/
2018/01/07 18:25:35.481061 remote reports version 1117f (dec 70015)
2018/01/07 18:25:35.481433 got header tip height 1257730
2018/01/07 18:25:35.481734 Got verack.  Whatever.
2018/01/07 18:25:35.482043 Got unknown message type alert
2018/01/07 18:25:35.482859 get headers message has 19 header hashes, first one is 0000000000000607d3b7b3746f3221a79c1d7503b186c0ec6c6953cd1ae74030
2018/01/07 18:25:35.708521 Got unknown message type sendheaders
2018/01/07 18:25:35.711477 got 1 addresses.
2018/01/07 18:25:36.660144 got 2000 headers. Range:
00000000000b56fd29506194f15e08166d8f1b652c6c3d9d37c471e683aa697d - 0000000000030e2e498bc4d23d50ed979164a50c30b32fd09ae08e06741453a4
2018/01/07 18:25:36.670975 header file position: 18043040
2018/01/07 18:25:36.671039 made 2017 header slice
2018/01/07 18:25:36.735230 Header 00000000000b56fd29506194f15e08166d8f1b652c6c3d9d37c471e683aa697d attaches at height 1032192
2018/01/07 18:25:36.735282 Header error: reorg message up to height 1034192, but have up to 1257730
2018/01/07 18:25:36.735329 blockTip to 1257730 headerTip 1257730
2018/01/07 18:25:36.735364 no blocks to request, entering wait state
2018/01/07 18:25:36.735389 162491 bytes received

@Varunram
Copy link
Contributor Author

Varunram commented Mar 3, 2018

Connected to a BUCash node today, maybe should have a blacklist file..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant