Nachdem wir die Beispiele 01 bis 03 komplett offline, d.h. ohne Verbindung mit dem Internet, durchgeführt haben benötigen wir nun den Zugang zur Bitcoin Blockchain (wir nutzen hier das Testnetz und nicht das „echte“ Mainnet). Natürlich können wir unsere Geldbörse auch ganz klassisch über eine „PeerGroup“ mit einem „Peer“ verbinden, aber ich zeige Euch hier im Beispiel die Nutzung des „WalletAppKit“, welches viele nützliche Funktionalitäten beinhaltet und die Programmierung stark vereinfacht. Das werdet Ihr sehen bei der Betrachtung des Quellcodes – für die Online-Funktion sind nur rund 10 Codezeilen notwendig.
Wenn Ihr das Programm innerhalb einer Entwicklungsumgebung startet, werdet Ihr auch die Konsole direkt im Blick haben und Euch bestimmt wundern, welche Datenmengen unser kleines Programm ausspuckt (in meinem IntelliJ IDEA in Rot dargestellt, um die Ausgaben von „echten“ Programmausgaben abzugrenzen). Ich zeige Euch gleich in der Konsolenansicht die reinen Druck-Ausgaben (die vollständige Konsolenausgabe folgt am Ende des Artikels).
Des Weiteren sollte es Euch auffallen, das die Ausgaben des Programms erst zeitverzögert erfolgen und auch die Beendigung nicht sofort passiert. Das ist eine direkte Folge der Online-Anbindung – zuerst versucht das Programm die Verbindung zu verschiedenen „Nodes“ (das sind Gegenstellen, welche die Blockchain im Netz verfügbar halten) und dann die im Wallet gespeicherten Daten auf den aktuellen Stand zu bringen; das kann schon einmal ein paar Minuten dauern – je nach „Alter“ des Wallets (also der letzten Aktualisierung). Bei der Beendigung versucht das Programm noch, das Wallet zu speichern („autosave“) und die Verbindungen gezielt zu beenden.
Zur Nutzung benötigt Ihr diverse Bibliotheken zur Nutzung von BitcoinJ – ladet Euch diese aus dem separaten Github-Archiv (https://github.com/java-crypto/BitcoinJ_Libraries) herunter und bindet Sie über Eure Entwicklungsumgebung ein.
Hier die Konsolenausgabe – ich habe die interessanten Zeilen hervorgehoben und gelb markiert. Die Guthaben sehen zwar gleich aus, aber das verfügbare Guthaben („available“) ist um 0.001 BTC kleiner als das erwartete Guthaben („estimated“), was schlicht daran liegt, das ich kurz zur von einem Faucet Geld auf mein Wallet überwiesen habe. Diese Transaktion ist noch nicht abgeschlossen und daher unter „PENDING“ zu finden.
Eine weitere Besonderheit seht Ihr in Zeile 20: ich habe mein Wallet in ein „Watching Wallet“ kopiert, d.h. es kann „nur“ Zahlungseingänge überwachen und auswerten, aber keine Überweisungen tätigen. Damit eignet es sich hier als Demonstrationsdatei, welche Ihr im Github-Archiv herunterladen könnt. Ein kleines Programm zur Umwandlung Eurer Wallet-Dateien findet Ihr im Artikel BitcoinJ 05 Watching Wallet, der auch in Englisch verfügbar ist.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
BitcoinJ 04 Verbindung des Wallets mit der Online-Blockchain Laden einer bestehenden Walletdatei in das WalletAppKit - die Datei bitcoinj02createwalletW.wallet wird geladen ********************************************************************************** Adresse für Zahlungseingänge: mnzUr2qbm8gDQQoMjz3k9UhiPuNq6QDFA5 Ausgabe des kompletten Wallets bitcoinj02createwalletW.wallet Wallet Balances: 0.01636622 BTC ESTIMATED 0.01626622 BTC AVAILABLE 0.00 BTC ESTIMATED_SPENDABLE 0.00 BTC AVAILABLE_SPENDABLE Transactions: 1 pending 2 unspent 2 spent 0 dead Last seen best block: 1669602 (2020-03-12T11:02:35Z): 000000002babff331c5fe6aea07d9ef42f6b0578aec6e5fd7bee08444791a299 Wallet is watching. Keys: Earliest creation time: 2020-02-29T09:44:25Z Key birthday: 1582969465 [2020-02-29T09:44:25Z] Ouput script type: P2PKH Key to watch: tpubD6NzVbkztN62gkBwS81yzkMy1AZnVSpZbFnW1N19z86T7EXV9rs15Ln5Ym1M1Utk4BzH6q5vSDvGNQ9K1H72j3LTqw2JBbH6792WyMst7gc Lookahead siz/thr: 100/33 addr:mogznRmPEcfXBJimuGM8CojsWUtPVfQ3VM hash160:59a73e67ba416d45b46da3be18b9f3f0004ee364 (M/0H, account) addr:mrng5UWQZgVDRK5i1VqaAAAvcZQpaS4iXN hash160:7ba28078b4fed09e357e94ed8e161205594baeea (M/0H/0, external) addr:mywm94fnykAXEw6ZcFFpha83LE37WU8EXc hash160:ca2359f7364347cd452ed41e11c744e52538228a (M/0H/1, internal) addr:n3YE2rPKNhefnjrSHvEScXazNaSyeK52ML hash160:f190520f1bf78f5f418ec574a4b0ffcc67c3e8bd (M/0H/0/0) addr:mv9oQZVFgjb7Y1RSR2Phpg3F1DnrRSLuG5 hash160:a089bb7dbebabee14692fedd5e1e1a91e98e89ee (M/0H/0/1) addr:n3Wa5ZC1ihiR4BbUBU2tfq4A7v14kanTiq hash160:f140390225dabfac9d9a5157f5f27140948f9a75 (M/0H/0/2) addr:mnzUr2qbm8gDQQoMjz3k9UhiPuNq6QDFA5 hash160:51fd9d4bf19749a00f87b5166bd4ebbd93e0661c (M/0H/0/3) addr:myA5v3sQo4VdhFGNJ9Gv22aRLnw7q7KhDw hash160:c17fe3e9ea4561d70dc255a266d5eab4c8e10997 (M/0H/1/0) addr:mmkoqyZzzP9fPS6LD6i1xPy7UtAkX1YLi7 hash160:446f865811cad957a865e4514e83f1234bf708d8 (M/0H/1/1) >>> PENDING: 0.0001 BTC total value (sends 0.00 BTC and receives 0.0001 BTC) confidence: Seen by 1 peer (most recently: 2020-03-12T11:21:03Z). Pending/unconfirmed. Source: NETWORK 60cf0367187eb8d324a1e692e47e6aabc60c327ca87ebb2b0114e8b30168db3e, wtxid f4ec3a29b70f48cf9974b79a4d3c1e3b96b331fdd42ec019752f514e41881913 updated: 2020-03-12T11:21:03Z version 2 time locked until block 1669602 purpose: UNKNOWN in PUSHDATA(22)[0014304ff80719b34ac3099ff42e60e5f0f3438174d3] witness:30440220348ba0c344cc776d4f32cb01e1efa381a685d49fcdde5f1f4b9032e5c03d714502200c29492fa198ff57d5cdaa08586157563692c08b92435d72becc86cdc2de78bc01 03d6223bcce1de17cdaf121750847de9678ebda49867d0dec23608a76bb485c04f unconnected outpoint:51d6e4204323ea8d9eff6490915329f2c407248d1ffa105b9a60a574a4afe00d:1 sequence:fffffffe out HASH160 PUSHDATA(20)[4959dedd1f4b25638344a45f9d7db4a6b1f638de] EQUAL 0.96746057 BTC P2SH addr:2Myw4ybxy1D8mkrsfnU1B3H7nAjPLMvbymV out DUP HASH160 PUSHDATA(20)[f140390225dabfac9d9a5157f5f27140948f9a75] EQUALVERIFY CHECKSIG 0.0001 BTC P2PKH addr:n3Wa5ZC1ihiR4BbUBU2tfq4A7v14kanTiq >>> UNSPENT: -0.001425 BTC total value (sends 0.00575738 BTC and receives 0.00433238 BTC) confidence: Appeared in best chain at height 1669600, depth 3. Source: NETWORK 3b04ff0742625ad5123e3a6bc74b407fde68e098c97244bd6a413b9550effe34 updated: 2020-03-12T10:22:01Z purpose: UNKNOWN in PUSHDATA(72)[3045022100f873e0f5d4d3b9302aaa2cb374443e000a5c2e17cdd44bb4389056a36ab935880220632dd6451bcf235f20393f3545eaec98a0159fda9281031eb1851bf5e5f90cc301] PUSHDATA(33)[0325eab72b88d818f9b61456586151eeeafed64687c0ea666e8b9c64d57074a435] 0.00575738 BTC P2PKH addr:myA5v3sQo4VdhFGNJ9Gv22aRLnw7q7KhDw outpoint:905277665a3eb6cd1cf0af30b00f15db3ec6fc7ae86b3c150aa2fdcdb589d0b1:0 out HASH160 PUSHDATA(20)[41a37afc980ac078df37b24f2a687102f79b0ab3] EQUAL 0.0012 BTC P2SH addr:2MyEHka6Whdt87LyK3VuUGGfuWkNTtSD3Hj out DUP HASH160 PUSHDATA(20)[446f865811cad957a865e4514e83f1234bf708d8] EQUALVERIFY CHECKSIG 0.00433238 BTC P2PKH addr:mmkoqyZzzP9fPS6LD6i1xPy7UtAkX1YLi7 fee 0.00100446 BTC/kB, 0.000225 BTC for 224 bytes 0.01193384 BTC total value (sends 0.00 BTC and receives 0.01193384 BTC) confidence: Appeared in best chain at height 1669600, depth 3. Source: NETWORK aa844f9e5f93716e5207b1479ba9c1209a3660a1a1514f9f0d6b3fa0164e1770, wtxid bace738da6e6564ea8e1f2a0e861a4eefa3fbbd24d5600490c616d5b71b22e08 updated: 2020-03-12T10:22:01Z version 2 time locked until block 1669599 purpose: UNKNOWN in PUSHDATA(22)[0014c8ddfc57886eefc15d8aca178e0af380bfc438e6] witness:304402203f446ad12147b0c2d765767e844e6c44c9f72fb7662e720d1ba90adc9a723a730220441130bcec59dba0d47a8bc1b679e157ff7a08b1ca98561db9adc16e3dd87b2c01 022142a70a3d1c0e197c2031a2101bbb0192d915f0f0a00d2ead931b8d8a2e3010 unconnected outpoint:b28a7c419643181599db28f288c861d4ca9c87f26a3ea82028fc787f51acb5ee:1 sequence:fffffffe out HASH160 PUSHDATA(20)[d41022753b1f1f4fd4c2f2e7cdd51afd86623b43] EQUAL 71.17587963 BTC P2SH addr:2NCaWa1AswER8a2tTNFbRrRgbo6nnAEHmKb out DUP HASH160 PUSHDATA(20)[f140390225dabfac9d9a5157f5f27140948f9a75] EQUALVERIFY CHECKSIG 0.01193384 BTC P2PKH addr:n3Wa5ZC1ihiR4BbUBU2tfq4A7v14kanTiq >>> SPENT: -0.005225 BTC total value (sends 0.01098238 BTC and receives 0.00575738 BTC) confidence: Appeared in best chain at height 1669539, depth 64. Source: NETWORK 905277665a3eb6cd1cf0af30b00f15db3ec6fc7ae86b3c150aa2fdcdb589d0b1 updated: 2020-03-11T13:55:45Z purpose: UNKNOWN in PUSHDATA(71)[304402201c175385ce3dd9ca411060949b3f5bfc16840623236aee73bb88002ab5cdb0fc0220797f97d2fedf72de4493e7c745cd7b0f55ee416a4f84adb95815d418545dfead01] PUSHDATA(33)[02c8508a80ac5c29b891a443b599e827155a71cb9ab702c3745a083bbbdc98155a] 0.01098238 BTC P2PKH addr:n3YE2rPKNhefnjrSHvEScXazNaSyeK52ML outpoint:18866d7e03a0b8958769382afe24ff7671fbc911cbdf3006fd1fbb3a3c49c4cf:0 out DUP HASH160 PUSHDATA(20)[c17fe3e9ea4561d70dc255a266d5eab4c8e10997] EQUALVERIFY CHECKSIG 0.00575738 BTC P2PKH addr:myA5v3sQo4VdhFGNJ9Gv22aRLnw7q7KhDw spent by:3b04ff0742625ad5123e3a6bc74b407fde68e098c97244bd6a413b9550effe34:0 out HASH160 PUSHDATA(20)[41a37afc980ac078df37b24f2a687102f79b0ab3] EQUAL 0.005 BTC P2SH addr:2MyEHka6Whdt87LyK3VuUGGfuWkNTtSD3Hj fee 0.00100896 BTC/kB, 0.000225 BTC for 223 bytes 0.01098238 BTC total value (sends 0.00 BTC and receives 0.01098238 BTC) confidence: Appeared in best chain at height 1669535, depth 68. Source: NETWORK 18866d7e03a0b8958769382afe24ff7671fbc911cbdf3006fd1fbb3a3c49c4cf, wtxid 737f09206fe0b153d50ae0ad237c6e80552cb7df8d147152776bb1cb7cb9ae34 updated: 2020-03-11T12:45:06Z version 2 time locked until block 1669534 purpose: UNKNOWN in PUSHDATA(22)[0014f291210a0ee3a75b033aa10926af271d96524f20] witness:304402201f65f5b84b7479e46d8554232ac9946589415f6835b2209ec0f0f6a9ece01e31022010f405898ec29a46e41343ae0964094646941e33565b2642b58b694d8f03a08501 03193529144a6d7b8a1d3f5401881c28e821d9d7abc4158c730a97df620394e695 unconnected outpoint:9dc7316f5a43dd42c3f20c4f0e1d2870eef4ec683cf251ca4e3b543336946502:1 sequence:fffffffe out DUP HASH160 PUSHDATA(20)[f190520f1bf78f5f418ec574a4b0ffcc67c3e8bd] EQUALVERIFY CHECKSIG 0.01098238 BTC P2PKH addr:n3YE2rPKNhefnjrSHvEScXazNaSyeK52ML spent by:905277665a3eb6cd1cf0af30b00f15db3ec6fc7ae86b3c150aa2fdcdb589d0b1:0 out HASH160 PUSHDATA(20)[68a66f6d6a304638780e5e91aa9accce4d9d7a14] EQUAL 77.54615822 BTC P2SH addr:2N2nZeMnQYrxnE8yJbG3gZ7EUa6HP29RGRL |
Etwas später wandelt sich das Bild, sobald meine Transaktion in einen Block eingebunden und „mined“ ist wandert sie zum nächsten Status über und kann ausgegeben werden (hier die verkürzte Ausgabe):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
BitcoinJ 04 Verbindung des Wallets mit der Online-Blockchain Laden einer bestehenden Walletdatei in das WalletAppKit - die Datei bitcoinj02createwalletW.wallet wird geladen ********************************************************************************** Adresse für Zahlungseingänge: mnzUr2qbm8gDQQoMjz3k9UhiPuNq6QDFA5 Ausgabe des kompletten Wallets bitcoinj02createwalletW.wallet Wallet Balances: 0.01636622 BTC ESTIMATED 0.01636622 BTC AVAILABLE 0.00 BTC ESTIMATED_SPENDABLE 0.00 BTC AVAILABLE_SPENDABLE Transactions: 0 pending 3 unspent 2 spent 0 dead Last seen best block: 1669604 (2020-03-12T11:43:19Z): 0000000077b556c469277bc848a0b1eaccb7db9a71e17ec3b72d4126ab427fbc ... >>> UNSPENT: 0.0001 BTC total value (sends 0.00 BTC and receives 0.0001 BTC) confidence: Seen by 1 peer (most recently: 2020-03-12T11:21:03Z). Appeared in best chain at height 1669603, depth 2. Source: NETWORK 60cf0367187eb8d324a1e692e47e6aabc60c327ca87ebb2b0114e8b30168db3e, wtxid f4ec3a29b70f48cf9974b79a4d3c1e3b96b331fdd42ec019752f514e41881913 updated: 2020-03-12T11:21:03Z version 2 time locked until block 1669602 purpose: UNKNOWN in PUSHDATA(22)[0014304ff80719b34ac3099ff42e60e5f0f3438174d3] witness:30440220348ba0c344cc776d4f32cb01e1efa381a685d49fcdde5f1f4b9032e5c03d714502200c29492fa198ff57d5cdaa08586157563692c08b92435d72becc86cdc2de78bc01 03d6223bcce1de17cdaf121750847de9678ebda49867d0dec23608a76bb485c04f unconnected outpoint:51d6e4204323ea8d9eff6490915329f2c407248d1ffa105b9a60a574a4afe00d:1 sequence:fffffffe out HASH160 PUSHDATA(20)[4959dedd1f4b25638344a45f9d7db4a6b1f638de] EQUAL 0.96746057 BTC P2SH addr:2Myw4ybxy1D8mkrsfnU1B3H7nAjPLMvbymV out DUP HASH160 PUSHDATA(20)[f140390225dabfac9d9a5157f5f27140948f9a75] EQUALVERIFY CHECKSIG 0.0001 BTC P2PKH addr:n3Wa5ZC1ihiR4BbUBU2tfq4A7v14kanTiq ... |
Hier der Programmcode:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
/* * Herkunft/Origin: http://javacrypto.bplaced.net/ * Programmierer/Programmer: Michael Fehr * Copyright/Copyright: Michael Fehr * Lizenttext/Licence: verschiedene Lizenzen / several licenses * getestet mit/tested with: Java Runtime Environment 11.0.5 x64 * verwendete IDE/used IDE: intelliJ IDEA 2019.3.1 * Datum/Date (dd.mm.jjjj): 12.03.2020 * Funktion: 04 verbindet das Wallet mit der Online-Blockchain * Function: 04 connects the wallet with the online blockchain * * Sicherheitshinweis/Security notice * Die Programmroutinen dienen nur der Darstellung und haben keinen Anspruch auf eine korrekte Funktion, * insbesondere mit Blick auf die Sicherheit ! * Prüfen Sie die Sicherheit bevor das Programm in der echten Welt eingesetzt wird. * The program routines just show the function but please be aware of the security part - * check yourself before using in the real world ! * * Sie benötigen diverse Bibliotheken (alle im Github-Archiv im Unterordner "libs") * You need a lot of libraries (see my Github-repository in subfolder "libs") * verwendete BitcoinJ-Bibliothek / used BitcoinJ Library: bitcoinj-core-0.15.6.jar * my Github-Repository: https://github.com/java-crypto/BitcoinJ * libs in my Github-Repo: https://github.com/java-crypto/BitcoinJ_Libraries * */ import org.bitcoinj.core.ECKey; import org.bitcoinj.core.NetworkParameters; import org.bitcoinj.kits.WalletAppKit; import org.bitcoinj.params.TestNet3Params; import org.bitcoinj.wallet.UnreadableWalletException; import java.io.File; import java.io.IOException; public class BitcoinJ04WalletOnline { static WalletAppKit kit; public static void main(String[] args) throws UnreadableWalletException, IOException { System.out.println("BitcoinJ 04 Verbindung des Wallets mit der Online-Blockchain"); NetworkParameters netParams = TestNet3Params.get(); //NetworkParameters netParams = MainNetParams.get(); String filenameWallet = "bitcoinj02createwalletW.wallet"; final File walletFile = new File(filenameWallet); if (walletFile.exists()) { System.out.println("Laden einer bestehenden Walletdatei in das WalletAppKit - die Datei " + filenameWallet + " wird geladen"); } else { System.out.println("Die Datei " + filenameWallet + " ist nicht vorhanden und das Programm wird beendet"); System.exit(0); } kit = new WalletAppKit(netParams, new File("."), filenameWallet.replace(".wallet", "")) { @Override protected void onSetupCompleted() { if (wallet().getKeyChainGroupSize() < 1) { wallet().importKey(new ECKey()); } } }; kit.startAsync(); // start the communication kit.awaitRunning(); // wait for completion System.out.println("**********************************************************************************"); System.out.println("Adresse für Zahlungseingänge: " + kit.wallet().currentReceiveAddress() + "\n"); System.out.println("Ausgabe des kompletten Wallets " + filenameWallet + "\n"); System.out.println(kit.wallet().toString()); kit.stopAsync(); // wait for completion } } |
Alle Quellcodes zum Bitcoin findet Ihr zum Download in meinem Github-Repository BitcoinJ, welches Ihr über diesen Link erreicht: https://github.com/java-crypto/BitcoinJ. Alle Programme sind unter Java 11 lauffähig (vermutlich auch unter Java 8) und wurden mit intelliJ IDEA entwickelt, welches für dieses Programm aber nicht notwendig ist.
Noch ein Wort zum Thema „Lizenz“: Die von mir erstellten Beispiele selber stehen unter der „Unlicense“-Lizenz, allerdings werden zur Laufzeit diverse Bibliotheken eingebunden, welche zum Teil ganz eigene Lizenzen mitbringen. Darauf kann ich in meinen Lizenzhinweisen nicht hinweisen.
Letzte Bearbeitung: 17.03.2020
Hier die vollständige Konsolenausgabe:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 |
BitcoinJ 04 Verbindung des Wallets mit der Online-Blockchain Laden einer bestehenden Walletdatei in das WalletAppKit - die Datei bitcoinj02createwalletW.wallet wird geladen [main] INFO org.bitcoinj.core.Context - Creating bitcoinj 0.15.6 context. [ STARTING] INFO org.bitcoinj.kits.WalletAppKit - Starting up with directory = . [ STARTING] INFO org.bitcoinj.core.AbstractBlockChain - chain head is at height 1669602: block: hash: 000000002babff331c5fe6aea07d9ef42f6b0578aec6e5fd7bee08444791a299 version: 536870912 (BIP34, BIP66, BIP65) previous block: 00000000004567e8ba52d4a1bf22d54e06baf4a9b3ecc7cd54890675da9957e1 time: 1584010955 (2020-03-12T11:02:35Z) difficulty target (nBits): 486604799 nonce: 2780690057 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Starting ... [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Localhost peer not detected. [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Peer discovery took 9.716 ms and returned 114 items [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 2047 ms before next connect attempt to [34.247.203.129]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [45.76.105.56]:18333 (0 connected, 1 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [34.247.203.129]:18333 (0 connected, 2 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [2a01:4f8:160:1395:0:0:0:2]:18333 (0 connected, 3 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [52.64.105.31]:18333 (0 connected, 4 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [2a04:2180:1:7:0:0:0:3]:18333 (0 connected, 5 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [39.108.222.178]:18333 (0 connected, 6 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [94.75.250.71]:18333 (0 connected, 7 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [fd87:d87e:eb43:e64e:a447:4e2a:fee8:95cc]:18333 (0 connected, 8 pending, 12 max) [NioClientManager] WARN org.bitcoinj.net.NioClientManager - Failed to connect with exception: java.net.SocketException: Network is unreachable: no further information [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [2600:6c44:6380:1700:6917:d207:e9cd:ea14]:18333 (0 connected, 9 pending, 12 max) java.net.SocketException: Network is unreachable: no further information at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) at org.bitcoinj.net.NioClientManager.handleKey(NioClientManager.java:64) at org.bitcoinj.net.NioClientManager.run(NioClientManager.java:122) at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:66) at com.google.common.util.concurrent.Callables$4.run(Callables.java:119) at org.bitcoinj.utils.ContextPropagatingThreadFactory$1.run(ContextPropagatingThreadFactory.java:51) at java.base/java.lang.Thread.run(Thread.java:834) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [178.63.71.183]:18333 (0 connected, 10 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [52.66.14.209]:18333 (0 connected, 11 pending, 12 max) [NioClientManager] INFO org.bitcoinj.core.PeerGroup - [2a01:4f8:160:1395:0:0:0:2]:18333: Peer died (0 connected, 10 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 1500 ms before next connect attempt to [2001:41d0:602:3b7:0:0:0:0]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 1500 ms before next connect attempt to [69.59.18.23]:18333 [NioClientManager] WARN org.bitcoinj.net.NioClientManager - Failed to connect with exception: java.net.SocketException: Network is unreachable: no further information java.net.SocketException: Network is unreachable: no further information at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) at org.bitcoinj.net.NioClientManager.handleKey(NioClientManager.java:64) at org.bitcoinj.net.NioClientManager.run(NioClientManager.java:122) at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:66) at com.google.common.util.concurrent.Callables$4.run(Callables.java:119) at org.bitcoinj.utils.ContextPropagatingThreadFactory$1.run(ContextPropagatingThreadFactory.java:51) at java.base/java.lang.Thread.run(Thread.java:834) [NioClientManager] INFO org.bitcoinj.core.PeerGroup - [2600:6c44:6380:1700:6917:d207:e9cd:ea14]:18333: Peer died (0 connected, 9 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 2250 ms before next connect attempt to [2001:41d0:602:3b7:0:0:0:0]:18333 [NioClientManager] WARN org.bitcoinj.net.NioClientManager - Failed to connect with exception: java.net.SocketException: Network is unreachable: no further information java.net.SocketException: Network is unreachable: no further information at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) at org.bitcoinj.net.NioClientManager.handleKey(NioClientManager.java:64) at org.bitcoinj.net.NioClientManager.run(NioClientManager.java:122) at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:66) at com.google.common.util.concurrent.Callables$4.run(Callables.java:119) at org.bitcoinj.utils.ContextPropagatingThreadFactory$1.run(ContextPropagatingThreadFactory.java:51) at java.base/java.lang.Thread.run(Thread.java:834) [NioClientManager] INFO org.bitcoinj.core.PeerGroup - [fd87:d87e:eb43:e64e:a447:4e2a:fee8:95cc]:18333: Peer died (0 connected, 8 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 3375 ms before next connect attempt to [2001:19f0:5001:3c2c:5400:2ff:fe97:a6e4]:18333 [NioClientManager] WARN org.bitcoinj.net.NioClientManager - Failed to connect with exception: java.net.SocketException: Network is unreachable: no further information java.net.SocketException: Network is unreachable: no further information at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) at org.bitcoinj.net.NioClientManager.handleKey(NioClientManager.java:64) at org.bitcoinj.net.NioClientManager.run(NioClientManager.java:122) at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:66) at com.google.common.util.concurrent.Callables$4.run(Callables.java:119) at org.bitcoinj.utils.ContextPropagatingThreadFactory$1.run(ContextPropagatingThreadFactory.java:51) at java.base/java.lang.Thread.run(Thread.java:834) [NioClientManager] INFO org.bitcoinj.core.PeerGroup - [2a04:2180:1:7:0:0:0:3]:18333: Peer died (0 connected, 7 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 5062 ms before next connect attempt to [34.229.74.55]:18333 [NioClientManager] INFO org.bitcoinj.net.NioClientManager - Connected to seed.testnet.bitcoin.sprovoost.nl/94.75.250.71:18333 [NioClientManager] INFO org.bitcoinj.core.Peer - Announcing to seed.testnet.bitcoin.sprovoost.nl/94.75.250.71:18333 as: /bitcoinj:0.15.6/ [NioClientManager] INFO org.bitcoinj.net.NioClientManager - Connected to seed.testnet.bitcoin.sprovoost.nl/178.63.71.183:18333 [NioClientManager] INFO org.bitcoinj.core.Peer - Announcing to seed.testnet.bitcoin.sprovoost.nl/178.63.71.183:18333 as: /bitcoinj:0.15.6/ [NioClientManager] INFO org.bitcoinj.net.NioClientManager - Connected to testnet-seed.bitcoin.jonasschnelli.ch/34.247.203.129:18333 [NioClientManager] INFO org.bitcoinj.core.Peer - Announcing to testnet-seed.bitcoin.jonasschnelli.ch/34.247.203.129:18333 as: /bitcoinj:0.15.6/ [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[178.63.71.183]:18333, version=70015, subVer=/Satoshi:0.17.0/, services=1037 (NETWORK, BLOOM, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:03, height=1669602} [NioClientManager] INFO org.bitcoinj.core.PeerGroup - Peer{[178.63.71.183]:18333, version=70015, subVer=/Satoshi:0.17.0/, services=1037 (NETWORK, BLOOM, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:03, height=1669602}: New peer (1 connected, 6 pending, 12 max) [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[178.63.71.183]:18333, version=70015, subVer=/Satoshi:0.17.0/, services=1037 (NETWORK, BLOOM, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:03, height=1669602}: Sending Bloom filter and querying mempool [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[34.247.203.129]:18333, version=70015, subVer=/Satoshi:0.18.1/, services=1037 (NETWORK, BLOOM, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:03, height=1669602} [NioClientManager] INFO org.bitcoinj.core.PeerGroup - Peer{[34.247.203.129]:18333, version=70015, subVer=/Satoshi:0.18.1/, services=1037 (NETWORK, BLOOM, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:03, height=1669602}: New peer (2 connected, 5 pending, 12 max) [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[34.247.203.129]:18333, version=70015, subVer=/Satoshi:0.18.1/, services=1037 (NETWORK, BLOOM, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:03, height=1669602}: Sending Bloom filter and querying mempool [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[94.75.250.71]:18333, version=70015, subVer=/Satoshi:0.18.0/, services=1036 (BLOOM, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:03, height=1669602} [NioClientManager] INFO org.bitcoinj.core.PeerGroup - Peer{[94.75.250.71]:18333, version=70015, subVer=/Satoshi:0.18.0/, services=1036 (BLOOM, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:03, height=1669602}: New peer (3 connected, 4 pending, 12 max) [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[94.75.250.71]:18333, version=70015, subVer=/Satoshi:0.18.0/, services=1036 (BLOOM, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:03, height=1669602}: Sending Bloom filter and querying mempool [NioClientManager] INFO org.bitcoinj.net.NioClientManager - Connected to testnet-seed.bitcoin.jonasschnelli.ch/45.76.105.56:18333 [NioClientManager] INFO org.bitcoinj.core.Peer - Announcing to testnet-seed.bitcoin.jonasschnelli.ch/45.76.105.56:18333 as: /bitcoinj:0.15.6/ [NioClientManager] INFO org.bitcoinj.net.NioClientManager - Connected to seed.testnet.bitcoin.sprovoost.nl/52.64.105.31:18333 [NioClientManager] INFO org.bitcoinj.core.Peer - Announcing to seed.testnet.bitcoin.sprovoost.nl/52.64.105.31:18333 as: /bitcoinj:0.15.6/ [NioClientManager] INFO org.bitcoinj.core.PeerGroup - [178.63.71.183]:18333: Peer died (2 connected, 4 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 1000 ms before next connect attempt to [3.112.30.52]:18333 [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[45.76.105.56]:18333, version=70015, subVer=/Satoshi:0.19.99/, services=1033 (NETWORK, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:04, height=207392} [NioClientManager] INFO org.bitcoinj.core.PeerGroup - Peer{[45.76.105.56]:18333, version=70015, subVer=/Satoshi:0.19.99/, services=1033 (NETWORK, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:04, height=207392}: New peer (3 connected, 3 pending, 12 max) [NioClientManager] INFO org.bitcoinj.core.Peer - [94.75.250.71]:18333: Downloading dependencies of 60cf0367187eb8d324a1e692e47e6aabc60c327ca87ebb2b0114e8b30168db3e [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[94.75.250.71]:18333, version=70015, subVer=/Satoshi:0.18.0/, services=1036 (BLOOM, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:03, height=1669602}: Bottomed out dep tree at 51d6e4204323ea8d9eff6490915329f2c407248d1ffa105b9a60a574a4afe00d [NioClientManager] INFO org.bitcoinj.core.Peer - [94.75.250.71]:18333: Dependency download complete! [NioClientManager] INFO org.bitcoinj.wallet.Wallet - Received a pending transaction 60cf0367187eb8d324a1e692e47e6aabc60c327ca87ebb2b0114e8b30168db3e that spends 0.00 BTC from our own wallet, and sends us 0.0001 BTC [NioClientManager] INFO org.bitcoinj.wallet.Wallet - commitTx of 60cf0367187eb8d324a1e692e47e6aabc60c327ca87ebb2b0114e8b30168db3e [NioClientManager] INFO org.bitcoinj.wallet.Wallet - ->pending: 60cf0367187eb8d324a1e692e47e6aabc60c327ca87ebb2b0114e8b30168db3e [NioClientManager] INFO org.bitcoinj.wallet.Wallet - Estimated balance is now: 0.01636622 BTC [NioClientManager] INFO org.bitcoinj.wallet.KeyChainGroup - Marking key as used: DeterministicKey{pub=0261238d62b6f20419b3fa23e7cb9ce55eda623fa4a37e76df41387b99795dd642, chainCode=71b0450d6d9f3a0657345cc7efb886aea87fd03098083e2da56a73799b2407f7, path=M/0H/0/2, isEncrypted=false, isPubKeyOnly=true} [NioClientManager] INFO org.bitcoinj.wallet.WalletFiles - Saving wallet; last seen block is height 1669602, date 2020-03-12T11:02:35Z, hash 000000002babff331c5fe6aea07d9ef42f6b0578aec6e5fd7bee08444791a299 [NioClientManager] INFO org.bitcoinj.wallet.WalletFiles - Save completed in 53.03 ms [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[52.64.105.31]:18333, version=70015, subVer=/Satoshi:0.16.3/, services=1037 (NETWORK, BLOOM, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:04, height=1669602} [NioClientManager] INFO org.bitcoinj.core.PeerGroup - Peer{[52.64.105.31]:18333, version=70015, subVer=/Satoshi:0.16.3/, services=1037 (NETWORK, BLOOM, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:04, height=1669602}: New peer (4 connected, 2 pending, 12 max) [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[52.64.105.31]:18333, version=70015, subVer=/Satoshi:0.16.3/, services=1037 (NETWORK, BLOOM, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:04, height=1669602}: Sending Bloom filter and querying mempool [NioClientManager] INFO org.bitcoinj.core.PeerGroup - [34.247.203.129]:18333: Peer died (3 connected, 2 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 1000 ms before next connect attempt to [2001:e68:6dc9:b801:5d92:276b:9a0c:fe87]:18333 [NioClientManager] INFO org.bitcoinj.core.PeerGroup - [52.64.105.31]:18333: Peer died (2 connected, 2 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 1500 ms before next connect attempt to [2001:0:9d38:90d7:3cb6:17a4:d0cb:51f6]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 1328 ms before next connect attempt to [159.89.144.236]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 1156 ms before next connect attempt to [2001:0:9d38:90d7:3cb6:17a4:d0cb:51f6]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 1156 ms before next connect attempt to [159.89.144.236]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 1062 ms before next connect attempt to [2001:0:9d38:90d7:3cb6:17a4:d0cb:51f6]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 406 ms before next connect attempt to [159.89.144.236]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [2001:0:9d38:90d7:3cb6:17a4:d0cb:51f6]:18333 (2 connected, 3 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [159.89.144.236]:18333 (2 connected, 4 pending, 12 max) [NioClientManager] WARN org.bitcoinj.net.NioClientManager - Failed to connect with exception: java.net.SocketException: Network is unreachable: no further information java.net.SocketException: Network is unreachable: no further information at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) at org.bitcoinj.net.NioClientManager.handleKey(NioClientManager.java:64) at org.bitcoinj.net.NioClientManager.run(NioClientManager.java:122) at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:66) at com.google.common.util.concurrent.Callables$4.run(Callables.java:119) at org.bitcoinj.utils.ContextPropagatingThreadFactory$1.run(ContextPropagatingThreadFactory.java:51) at java.base/java.lang.Thread.run(Thread.java:834) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [2001:e68:6dc9:b801:5d92:276b:9a0c:fe87]:18333 (2 connected, 5 pending, 12 max) [NioClientManager] INFO org.bitcoinj.core.PeerGroup - [2001:0:9d38:90d7:3cb6:17a4:d0cb:51f6]:18333: Peer died (2 connected, 4 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 2250 ms before next connect attempt to [3.112.30.52]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 2250 ms before next connect attempt to [34.76.238.201]:18333 [NioClientManager] WARN org.bitcoinj.net.NioClientManager - Failed to connect with exception: java.net.SocketException: Network is unreachable: no further information [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 2250 ms before next connect attempt to [3.112.30.52]:18333 java.net.SocketException: Network is unreachable: no further information at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) at org.bitcoinj.net.NioClientManager.handleKey(NioClientManager.java:64) at org.bitcoinj.net.NioClientManager.run(NioClientManager.java:122) at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:66) at com.google.common.util.concurrent.Callables$4.run(Callables.java:119) at org.bitcoinj.utils.ContextPropagatingThreadFactory$1.run(ContextPropagatingThreadFactory.java:51) at java.base/java.lang.Thread.run(Thread.java:834) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 2250 ms before next connect attempt to [34.76.238.201]:18333 [NioClientManager] INFO org.bitcoinj.core.PeerGroup - [2001:e68:6dc9:b801:5d92:276b:9a0c:fe87]:18333: Peer died (2 connected, 3 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 3375 ms before next connect attempt to [3.112.30.52]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 3375 ms before next connect attempt to [5.9.149.16]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 3375 ms before next connect attempt to [3.112.30.52]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 3375 ms before next connect attempt to [5.9.149.16]:18333 [NioClientManager] INFO org.bitcoinj.net.NioClientManager - Connected to testnet-seed.bitcoin.jonasschnelli.ch/159.89.144.236:18333 [NioClientManager] INFO org.bitcoinj.core.Peer - Announcing to testnet-seed.bitcoin.jonasschnelli.ch/159.89.144.236:18333 as: /bitcoinj:0.15.6/ [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[159.89.144.236]:18333, version=70015, subVer=/Satoshi:0.15.0(bitcore)/, services=13 (NETWORK, BLOOM, WITNESS), time=2020-03-12 12:21:06, height=1669602} [NioClientManager] INFO org.bitcoinj.core.PeerGroup - Peer{[159.89.144.236]:18333, version=70015, subVer=/Satoshi:0.15.0(bitcore)/, services=13 (NETWORK, BLOOM, WITNESS), time=2020-03-12 12:21:06, height=1669602}: New peer (3 connected, 2 pending, 12 max) [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[159.89.144.236]:18333, version=70015, subVer=/Satoshi:0.15.0(bitcore)/, services=13 (NETWORK, BLOOM, WITNESS), time=2020-03-12 12:21:06, height=1669602}: Sending Bloom filter and querying mempool [NioClientManager] INFO org.bitcoinj.core.PeerGroup - [159.89.144.236]:18333: Peer died (2 connected, 2 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 1000 ms before next connect attempt to [3.112.30.52]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 984 ms before next connect attempt to [78.46.216.210]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [3.112.30.52]:18333 (2 connected, 3 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [78.46.216.210]:18333 (2 connected, 4 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [5.9.149.16]:18333 (2 connected, 5 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [34.76.238.201]:18333 (2 connected, 6 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [34.229.74.55]:18333 (2 connected, 7 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [2001:19f0:5001:3c2c:5400:2ff:fe97:a6e4]:18333 (2 connected, 8 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [2001:41d0:602:3b7:0:0:0:0]:18333 (2 connected, 9 pending, 12 max) [NioClientManager] WARN org.bitcoinj.net.NioClientManager - Failed to connect with exception: java.net.SocketException: Network is unreachable: no further information java.net.SocketException: Network is unreachable: no further information at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) at org.bitcoinj.net.NioClientManager.handleKey(NioClientManager.java:64) at org.bitcoinj.net.NioClientManager.run(NioClientManager.java:122) at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:66) at com.google.common.util.concurrent.Callables$4.run(Callables.java:119) at org.bitcoinj.utils.ContextPropagatingThreadFactory$1.run(ContextPropagatingThreadFactory.java:51) at java.base/java.lang.Thread.run(Thread.java:834) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Attempting connection to [69.59.18.23]:18333 (2 connected, 10 pending, 12 max) [NioClientManager] INFO org.bitcoinj.core.PeerGroup - [2001:19f0:5001:3c2c:5400:2ff:fe97:a6e4]:18333: Peer died (2 connected, 9 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 1500 ms before next connect attempt to [167.71.220.124]:18333 [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 1500 ms before next connect attempt to [40.118.228.187]:18333 [NioClientManager] WARN org.bitcoinj.net.NioClientManager - Failed to connect with exception: java.net.SocketException: Network is unreachable: no further information java.net.SocketException: Network is unreachable: no further information at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:779) at org.bitcoinj.net.NioClientManager.handleKey(NioClientManager.java:64) at org.bitcoinj.net.NioClientManager.run(NioClientManager.java:122) at com.google.common.util.concurrent.AbstractExecutionThreadService$1$2.run(AbstractExecutionThreadService.java:66) at com.google.common.util.concurrent.Callables$4.run(Callables.java:119) at org.bitcoinj.utils.ContextPropagatingThreadFactory$1.run(ContextPropagatingThreadFactory.java:51) at java.base/java.lang.Thread.run(Thread.java:834) [NioClientManager] INFO org.bitcoinj.core.PeerGroup - [2001:41d0:602:3b7:0:0:0:0]:18333: Peer died (2 connected, 8 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 2250 ms before next connect attempt to [167.71.220.124]:18333 [NioClientManager] INFO org.bitcoinj.net.NioClientManager - Connected to seed.tbtc.petertodd.org/78.46.216.210:18333 [NioClientManager] INFO org.bitcoinj.core.Peer - Announcing to seed.tbtc.petertodd.org/78.46.216.210:18333 as: /bitcoinj:0.15.6/ [NioClientManager] INFO org.bitcoinj.net.NioClientManager - Connected to seed.tbtc.petertodd.org/5.9.149.16:18333 [NioClientManager] INFO org.bitcoinj.core.Peer - Announcing to seed.tbtc.petertodd.org/5.9.149.16:18333 as: /bitcoinj:0.15.6/ [NioClientManager] INFO org.bitcoinj.net.NioClientManager - Connected to seed.tbtc.petertodd.org/34.76.238.201:18333 [NioClientManager] INFO org.bitcoinj.core.Peer - Announcing to seed.tbtc.petertodd.org/34.76.238.201:18333 as: /bitcoinj:0.15.6/ [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[78.46.216.210]:18333, version=70015, subVer=/Satoshi:0.19.1/, services=1033 (NETWORK, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:08, height=1669602} [NioClientManager] INFO org.bitcoinj.core.PeerGroup - Peer{[78.46.216.210]:18333, version=70015, subVer=/Satoshi:0.19.1/, services=1033 (NETWORK, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:08, height=1669602}: New peer (3 connected, 7 pending, 12 max) [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[34.76.238.201]:18333, version=70015, subVer=/Satoshi:0.15.2/, services=13 (NETWORK, BLOOM, WITNESS), time=2020-03-12 12:21:07, height=1669602} [NioClientManager] INFO org.bitcoinj.core.PeerGroup - Peer{[34.76.238.201]:18333, version=70015, subVer=/Satoshi:0.15.2/, services=13 (NETWORK, BLOOM, WITNESS), time=2020-03-12 12:21:07, height=1669602}: New peer (4 connected, 6 pending, 12 max) [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[34.76.238.201]:18333, version=70015, subVer=/Satoshi:0.15.2/, services=13 (NETWORK, BLOOM, WITNESS), time=2020-03-12 12:21:07, height=1669602}: Sending Bloom filter and querying mempool [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[5.9.149.16]:18333, version=70015, subVer=/Satoshi:0.15.0.1/, services=13 (NETWORK, BLOOM, WITNESS), time=2020-03-12 12:21:08, height=1669602} [NioClientManager] INFO org.bitcoinj.core.PeerGroup - Peer{[5.9.149.16]:18333, version=70015, subVer=/Satoshi:0.15.0.1/, services=13 (NETWORK, BLOOM, WITNESS), time=2020-03-12 12:21:08, height=1669602}: New peer (5 connected, 5 pending, 12 max) [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[5.9.149.16]:18333, version=70015, subVer=/Satoshi:0.15.0.1/, services=13 (NETWORK, BLOOM, WITNESS), time=2020-03-12 12:21:08, height=1669602}: Sending Bloom filter and querying mempool [NioClientManager] INFO org.bitcoinj.net.NioClientManager - Connected to seed.tbtc.petertodd.org/34.229.74.55:18333 [NioClientManager] INFO org.bitcoinj.core.Peer - Announcing to seed.tbtc.petertodd.org/34.229.74.55:18333 as: /bitcoinj:0.15.6/ [NioClientManager] INFO org.bitcoinj.net.NioClientManager - Connected to testnet-seed.bluematt.me/69.59.18.23:18333 [NioClientManager] INFO org.bitcoinj.core.Peer - Announcing to testnet-seed.bluematt.me/69.59.18.23:18333 as: /bitcoinj:0.15.6/ [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[34.229.74.55]:18333, version=70015, subVer=/Satoshi:0.19.0.1/, services=1033 (NETWORK, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:08, height=1669602} [NioClientManager] INFO org.bitcoinj.core.PeerGroup - Peer{[34.229.74.55]:18333, version=70015, subVer=/Satoshi:0.19.0.1/, services=1033 (NETWORK, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:08, height=1669602}: New peer (6 connected, 4 pending, 12 max) [NioClientManager] INFO org.bitcoinj.net.NioClientManager - Connected to seed.tbtc.petertodd.org/3.112.30.52:18333 [NioClientManager] INFO org.bitcoinj.core.Peer - Announcing to seed.tbtc.petertodd.org/3.112.30.52:18333 as: /bitcoinj:0.15.6/ [NioClientManager] INFO org.bitcoinj.core.PeerGroup - [34.229.74.55]:18333: Peer died (5 connected, 4 pending, 12 max) [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Waiting 1000 ms before next connect attempt to [2408:8642:4ff:8:1:0:0:b7dd]:18333 [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[69.59.18.23]:18333, version=70015, subVer=/Satoshi:0.19.0/, services=1033 (NETWORK, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:08, height=1669602} [NioClientManager] INFO org.bitcoinj.core.PeerGroup - Peer{[69.59.18.23]:18333, version=70015, subVer=/Satoshi:0.19.0/, services=1033 (NETWORK, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:08, height=1669602}: New peer (6 connected, 3 pending, 12 max) [NioClientManager] INFO org.bitcoinj.core.Peer - Peer{[3.112.30.52]:18333, version=70015, subVer=/Satoshi:0.19.0.1/, services=1033 (NETWORK, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:08, height=1669602} [NioClientManager] INFO org.bitcoinj.core.PeerGroup - Peer{[3.112.30.52]:18333, version=70015, subVer=/Satoshi:0.19.0.1/, services=1033 (NETWORK, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:08, height=1669602}: New peer (7 connected, 2 pending, 12 max) [NioClientManager] INFO org.bitcoinj.core.PeerGroup - Setting download peer: Peer{[78.46.216.210]:18333, version=70015, subVer=/Satoshi:0.19.1/, services=1033 (NETWORK, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:08, height=1669602} ********************************************************************************** Adresse für Zahlungseingänge: mnzUr2qbm8gDQQoMjz3k9UhiPuNq6QDFA5 Ausgabe des kompletten Wallets bitcoinj02createwalletW.wallet Wallet Balances: 0.01636622 BTC ESTIMATED 0.01626622 BTC AVAILABLE 0.00 BTC ESTIMATED_SPENDABLE 0.00 BTC AVAILABLE_SPENDABLE Transactions: 1 pending 2 unspent 2 spent 0 dead Last seen best block: 1669602 (2020-03-12T11:02:35Z): 000000002babff331c5fe6aea07d9ef42f6b0578aec6e5fd7bee08444791a299 Wallet is watching. Keys: Earliest creation time: 2020-02-29T09:44:25Z Key birthday: 1582969465 [2020-02-29T09:44:25Z] Ouput script type: P2PKH Key to watch: tpubD6NzVbkztN62gkBwS81yzkMy1AZnVSpZbFnW1N19z86T7EXV9rs15Ln5Ym1M1Utk4BzH6q5vSDvGNQ9K1H72j3LTqw2JBbH6792WyMst7gc Lookahead siz/thr: 100/33 addr:mogznRmPEcfXBJimuGM8CojsWUtPVfQ3VM hash160:59a73e67ba416d45b46da3be18b9f3f0004ee364 (M/0H, account) addr:mrng5UWQZgVDRK5i1VqaAAAvcZQpaS4iXN hash160:7ba28078b4fed09e357e94ed8e161205594baeea (M/0H/0, external) addr:mywm94fnykAXEw6ZcFFpha83LE37WU8EXc hash160:ca2359f7364347cd452ed41e11c744e52538228a (M/0H/1, internal) addr:n3YE2rPKNhefnjrSHvEScXazNaSyeK52ML hash160:f190520f1bf78f5f418ec574a4b0ffcc67c3e8bd (M/0H/0/0) addr:mv9oQZVFgjb7Y1RSR2Phpg3F1DnrRSLuG5 hash160:a089bb7dbebabee14692fedd5e1e1a91e98e89ee (M/0H/0/1) addr:n3Wa5ZC1ihiR4BbUBU2tfq4A7v14kanTiq hash160:f140390225dabfac9d9a5157f5f27140948f9a75 (M/0H/0/2) addr:mnzUr2qbm8gDQQoMjz3k9UhiPuNq6QDFA5 hash160:51fd9d4bf19749a00f87b5166bd4ebbd93e0661c (M/0H/0/3) addr:myA5v3sQo4VdhFGNJ9Gv22aRLnw7q7KhDw hash160:c17fe3e9ea4561d70dc255a266d5eab4c8e10997 (M/0H/1/0) addr:mmkoqyZzzP9fPS6LD6i1xPy7UtAkX1YLi7 hash160:446f865811cad957a865e4514e83f1234bf708d8 (M/0H/1/1) >>> PENDING: 0.0001 BTC total value (sends 0.00 BTC and receives 0.0001 BTC) confidence: Seen by 1 peer (most recently: 2020-03-12T11:21:03Z). Pending/unconfirmed. Source: NETWORK 60cf0367187eb8d324a1e692e47e6aabc60c327ca87ebb2b0114e8b30168db3e, wtxid f4ec3a29b70f48cf9974b79a4d3c1e3b96b331fdd42ec019752f514e41881913 updated: 2020-03-12T11:21:03Z version 2 time locked until block 1669602 purpose: UNKNOWN in PUSHDATA(22)[0014304ff80719b34ac3099ff42e60e5f0f3438174d3] witness:30440220348ba0c344cc776d4f32cb01e1efa381a685d49fcdde5f1f4b9032e5c03d714502200c29492fa198ff57d5cdaa08586157563692c08b92435d72becc86cdc2de78bc01 03d6223bcce1de17cdaf121750847de9678ebda49867d0dec23608a76bb485c04f unconnected outpoint:51d6e4204323ea8d9eff6490915329f2c407248d1ffa105b9a60a574a4afe00d:1 sequence:fffffffe out HASH160 PUSHDATA(20)[4959dedd1f4b25638344a45f9d7db4a6b1f638de] EQUAL 0.96746057 BTC P2SH addr:2Myw4ybxy1D8mkrsfnU1B3H7nAjPLMvbymV out DUP HASH160 PUSHDATA(20)[f140390225dabfac9d9a5157f5f27140948f9a75] EQUALVERIFY CHECKSIG 0.0001 BTC P2PKH addr:n3Wa5ZC1ihiR4BbUBU2tfq4A7v14kanTiq >>> UNSPENT: -0.001425 BTC total value (sends 0.00575738 BTC and receives 0.00433238 BTC) confidence: Appeared in best chain at height 1669600, depth 3. Source: NETWORK 3b04ff0742625ad5123e3a6bc74b407fde68e098c97244bd6a413b9550effe34 updated: 2020-03-12T10:22:01Z purpose: UNKNOWN in PUSHDATA(72)[3045022100f873e0f5d4d3b9302aaa2cb374443e000a5c2e17cdd44bb4389056a36ab935880220632dd6451bcf235f20393f3545eaec98a0159fda9281031eb1851bf5e5f90cc301] PUSHDATA(33)[0325eab72b88d818f9b61456586151eeeafed64687c0ea666e8b9c64d57074a435] 0.00575738 BTC P2PKH addr:myA5v3sQo4VdhFGNJ9Gv22aRLnw7q7KhDw outpoint:905277665a3eb6cd1cf0af30b00f15db3ec6fc7ae86b3c150aa2fdcdb589d0b1:0 out HASH160 PUSHDATA(20)[41a37afc980ac078df37b24f2a687102f79b0ab3] EQUAL 0.0012 BTC P2SH addr:2MyEHka6Whdt87LyK3VuUGGfuWkNTtSD3Hj out DUP HASH160 PUSHDATA(20)[446f865811cad957a865e4514e83f1234bf708d8] EQUALVERIFY CHECKSIG 0.00433238 BTC P2PKH addr:mmkoqyZzzP9fPS6LD6i1xPy7UtAkX1YLi7 fee 0.00100446 BTC/kB, 0.000225 BTC for 224 bytes 0.01193384 BTC total value (sends 0.00 BTC and receives 0.01193384 BTC) confidence: Appeared in best chain at height 1669600, depth 3. Source: NETWORK aa844f9e5f93716e5207b1479ba9c1209a3660a1a1514f9f0d6b3fa0164e1770, wtxid bace738da6e6564ea8e1f2a0e861a4eefa3fbbd24d5600490c616d5b71b22e08 updated: 2020-03-12T10:22:01Z version 2 time locked until block 1669599 purpose: UNKNOWN in PUSHDATA(22)[0014c8ddfc57886eefc15d8aca178e0af380bfc438e6] witness:304402203f446ad12147b0c2d765767e844e6c44c9f72fb7662e720d1ba90adc9a723a730220441130bcec59dba0d47a8bc1b679e157ff7a08b1ca98561db9adc16e3dd87b2c01 022142a70a3d1c0e197c2031a2101bbb0192d915f0f0a00d2ead931b8d8a2e3010 unconnected outpoint:b28a7c419643181599db28f288c861d4ca9c87f26a3ea82028fc787f51acb5ee:1 sequence:fffffffe out HASH160 PUSHDATA(20)[d41022753b1f1f4fd4c2f2e7cdd51afd86623b43] EQUAL 71.17587963 BTC P2SH addr:2NCaWa1AswER8a2tTNFbRrRgbo6nnAEHmKb out DUP HASH160 PUSHDATA(20)[f140390225dabfac9d9a5157f5f27140948f9a75] EQUALVERIFY CHECKSIG 0.01193384 BTC P2PKH addr:n3Wa5ZC1ihiR4BbUBU2tfq4A7v14kanTiq >>> SPENT: -0.005225 BTC total value (sends 0.01098238 BTC and receives 0.00575738 BTC) confidence: Appeared in best chain at height 1669539, depth 64. Source: NETWORK 905277665a3eb6cd1cf0af30b00f15db3ec6fc7ae86b3c150aa2fdcdb589d0b1 updated: 2020-03-11T13:55:45Z purpose: UNKNOWN in PUSHDATA(71)[304402201c175385ce3dd9ca411060949b3f5bfc16840623236aee73bb88002ab5cdb0fc0220797f97d2fedf72de4493e7c745cd7b0f55ee416a4f84adb95815d418545dfead01] PUSHDATA(33)[02c8508a80ac5c29b891a443b599e827155a71cb9ab702c3745a083bbbdc98155a] 0.01098238 BTC P2PKH addr:n3YE2rPKNhefnjrSHvEScXazNaSyeK52ML outpoint:18866d7e03a0b8958769382afe24ff7671fbc911cbdf3006fd1fbb3a3c49c4cf:0 out DUP HASH160 PUSHDATA(20)[c17fe3e9ea4561d70dc255a266d5eab4c8e10997] EQUALVERIFY CHECKSIG 0.00575738 BTC P2PKH addr:myA5v3sQo4VdhFGNJ9Gv22aRLnw7q7KhDw spent by:3b04ff0742625ad5123e3a6bc74b407fde68e098c97244bd6a413b9550effe34:0 out HASH160 PUSHDATA(20)[41a37afc980ac078df37b24f2a687102f79b0ab3] EQUAL 0.005 BTC P2SH addr:2MyEHka6Whdt87LyK3VuUGGfuWkNTtSD3Hj fee 0.00100896 BTC/kB, 0.000225 BTC for 223 bytes 0.01098238 BTC total value (sends 0.00 BTC and receives 0.01098238 BTC) confidence: Appeared in best chain at height 1669535, depth 68. Source: NETWORK 18866d7e03a0b8958769382afe24ff7671fbc911cbdf3006fd1fbb3a3c49c4cf, wtxid 737f09206fe0b153d50ae0ad237c6e80552cb7df8d147152776bb1cb7cb9ae34 updated: 2020-03-11T12:45:06Z version 2 time locked until block 1669534 purpose: UNKNOWN in PUSHDATA(22)[0014f291210a0ee3a75b033aa10926af271d96524f20] witness:304402201f65f5b84b7479e46d8554232ac9946589415f6835b2209ec0f0f6a9ece01e31022010f405898ec29a46e41343ae0964094646941e33565b2642b58b694d8f03a08501 03193529144a6d7b8a1d3f5401881c28e821d9d7abc4158c730a97df620394e695 unconnected outpoint:9dc7316f5a43dd42c3f20c4f0e1d2870eef4ec683cf251ca4e3b543336946502:1 sequence:fffffffe out DUP HASH160 PUSHDATA(20)[f190520f1bf78f5f418ec574a4b0ffcc67c3e8bd] EQUALVERIFY CHECKSIG 0.01098238 BTC P2PKH addr:n3YE2rPKNhefnjrSHvEScXazNaSyeK52ML spent by:905277665a3eb6cd1cf0af30b00f15db3ec6fc7ae86b3c150aa2fdcdb589d0b1:0 out HASH160 PUSHDATA(20)[68a66f6d6a304638780e5e91aa9accce4d9d7a14] EQUAL 77.54615822 BTC P2SH addr:2N2nZeMnQYrxnE8yJbG3gZ7EUa6HP29RGRL [ STOPPING] INFO org.bitcoinj.core.PeerGroup - Awaiting PeerGroup shutdown ... [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Stopping ... [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Unsetting download peer: Peer{[78.46.216.210]:18333, version=70015, subVer=/Satoshi:0.19.1/, services=1033 (NETWORK, WITNESS, NETWORK_LIMITED), time=2020-03-12 12:21:08, height=1669602} [PeerGroup Thread] INFO org.bitcoinj.core.PeerGroup - Stopped, took 1.672 ms. [AbstractTimeoutHandler timeouts] INFO org.bitcoinj.core.PeerSocketHandler - [2a04:2180:1:7:0:0:0:3]:18333: Timed out [AbstractTimeoutHandler timeouts] INFO org.bitcoinj.core.PeerSocketHandler - [2a01:4f8:160:1395:0:0:0:2]:18333: Timed out [AbstractTimeoutHandler timeouts] INFO org.bitcoinj.core.PeerSocketHandler - [fd87:d87e:eb43:e64e:a447:4e2a:fee8:95cc]:18333: Timed out [AbstractTimeoutHandler timeouts] INFO org.bitcoinj.core.PeerSocketHandler - [2600:6c44:6380:1700:6917:d207:e9cd:ea14]:18333: Timed out [AbstractTimeoutHandler timeouts] INFO org.bitcoinj.core.PeerSocketHandler - [52.66.14.209]:18333: Timed out [AbstractTimeoutHandler timeouts] INFO org.bitcoinj.core.PeerSocketHandler - [39.108.222.178]:18333: Timed out [ STOPPING] INFO org.bitcoinj.core.PeerGroup - ... took 1.725 s |