{"action":"created","issue":{"url":"https://api.github.com/repos/Coinomi/coinomi-android/issues/34","labels_url":"https://api.github.com/repos/Coinomi/coinomi-android/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/Coinomi/coinomi-android/issues/34/comments","events_url":"https://api.github.com/repos/Coinomi/coinomi-android/issues/34/events","html_url":"https://github.com/Coinomi/coinomi-android/issues/34","id":94075325,"number":34,"title":"coinomi doesnt receive tx","user":{"login":"justinvforvendetta","id":8443713,"avatar_url":"https://avatars.githubusercontent.com/u/8443713?v=3","gravatar_id":"","url":"https://api.github.com/users/justinvforvendetta","html_url":"https://github.com/justinvforvendetta","followers_url":"https://api.github.com/users/justinvforvendetta/followers","following_url":"https://api.github.com/users/justinvforvendetta/following{/other_user}","gists_url":"https://api.github.com/users/justinvforvendetta/gists{/gist_id}","starred_url":"https://api.github.com/users/justinvforvendetta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinvforvendetta/subscriptions","organizations_url":"https://api.github.com/users/justinvforvendetta/orgs","repos_url":"https://api.github.com/users/justinvforvendetta/repos","events_url":"https://api.github.com/users/justinvforvendetta/events{/privacy}","received_events_url":"https://api.github.com/users/justinvforvendetta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-07-09T15:13:50Z","updated_at":"2015-07-17T19:12:43Z","closed_at":null,"body":"ok so here is the debug output of the app:\r\n\r\n07-09 10:47:06.442    1479-1556/com.coinomi.wallet.dev I/ransactionWatcherWallet﹕ Must get transactions for address DJEHEk6oKdCaEEqexyVN2WkB4Mcgfxpn6Q, status 194402f23639fa1ef45c20b61df98b37a9a792cadde0b78040db50e32f76d6ff\r\n07-09 10:47:07.161    1479-1552/com.coinomi.wallet.dev I/ransactionWatcherWallet﹕ Going to fetch transaction with hash b737c2b447732ce3c67a37185bc58af6fd571b793ca1aa8a26924343d4daf5b8\r\n07-09 10:47:07.621    1479-1552/com.coinomi.wallet.dev E/ServerClient﹕ Could not get reply for blockchain.transaction.get\r\n    org.bitcoinj.core.ProtocolException: java.lang.ArrayIndexOutOfBoundsException: src.length=230 srcPos=184 dst.length=76 dstPos=0 length=76\r\n            at org.bitcoinj.core.Message.readBytes(Message.java:471)\r\n            at org.bitcoinj.core.TransactionInput.parse(TransactionInput.java:143)\r\n            at org.bitcoinj.core.Message.<init>(Message.java:114)\r\n            at org.bitcoinj.core.Message.<init>(Message.java:150)\r\n            at org.bitcoinj.core.ChildMessage.<init>(ChildMessage.java:52)\r\n            at org.bitcoinj.core.TransactionInput.<init>(TransactionInput.java:126)\r\n            at org.bitcoinj.core.Transaction.parse(Transaction.java:600)\r\n            at org.bitcoinj.core.Message.<init>(Message.java:114)\r\n            at org.bitcoinj.core.Message.<init>(Message.java:146)\r\n            at org.bitcoinj.core.ChildMessage.<init>(ChildMessage.java:47)\r\n            at org.bitcoinj.core.Transaction.<init>(Transaction.java:206)\r\n            at com.coinomi.core.network.ServerClient$11.onSuccess(ServerClient.java:435)\r\n            at com.coinomi.core.network.ServerClient$11.onSuccess(ServerClient.java:429)\r\n            at com.google.common.util.concurrent.Futures$6.run(Futures.java:1319)\r\n            at org.bitcoinj.utils.Threading$UserThread.run(Threading.java:106)\r\n     Caused by: java.lang.ArrayIndexOutOfBoundsException: src.length=230 srcPos=184 dst.length=76 dstPos=0 length=76\r\n            at java.lang.System.arraycopy(Native Method)\r\n            at org.bitcoinj.core.Message.readBytes(Message\r\n\r\nand on the electrum server, we just get an error saying:\r\n\r\nINFO:electrum-doged:TCP    xx.xx.xx.xxx:62862   41 unknown\r\nINFO:electrum-doged:cache: invalidating DJEHEk6oKdCaEEqexyVN2WkB4Mcgfxpn6Q\r\npostdata!!\r\n[{\"params\": [\"a37477b0732f39cb88ecbfddc1182e2b0f52b6843f903d05c3e27ff0915fa51f\"], \"method\": \"getrawtransaction\", \"id\": 0}, {\"params\": [\"4488bb75fc58f8b096832fe029a6db214b4293e49b70d233e067a22517dcf5c6\"], \"method\": \"getrawtransaction\", \"id\": 1}, {\"params\": [\"9e238cda431ac1d6bf31c7f8506bba0ef740e06ae83e730b5ce0f3d004aad0c5\"], \"method\": \"getrawtransaction\", \"id\": 2}, {\"params\": [\"39c6ec60c69a6d74d398547a89ea11886b87127b3dce638d7937aa37f17ab652\"], \"method\": \"getrawtransaction\", \"id\": 3}, {\"params\": [\"57baa5cacd16402856699d01451e18b99802895be975972172deb771e7a18907\"], \"method\": \"getrawtransaction\", \"id\": 4}, {\"params\": [\"b737c2b447732ce3c67a37185bc58af6fd571b793ca1aa8a26924343d4daf5b8\"], \"method\": \"getrawtransaction\", \"id\": 5}]\r\nINFO:electrum-doged:cache: invalidating DJEHEk6oKdCaEEqexyVN2WkB4Mcgfxpn6Q\r\n\r\n\r\nhere is the tx sent from coinomi to electrum server on the blockchain explorer:\r\nhttp://darkchain.link/address/DJEHEk6oKdCaEEqexyVN2WkB4Mcgfxpn6Q\r\n\r\nthis was an example of the changes made to electrum client that helped it get/receive txs\r\nhttps://github.com/doged/electrum-doged/commit/d319abc111c2ebc692c13ba7f3a021c1968bd75c#diff-0836bbd9465f2a87282f88740301e295\r\n\r\njust adding a value of ntime.\r\n\r\nkind of stuck here. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Coinomi/coinomi-android/issues/comments/122378058","html_url":"https://github.com/Coinomi/coinomi-android/issues/34#issuecomment-122378058","issue_url":"https://api.github.com/repos/Coinomi/coinomi-android/issues/34","id":122378058,"user":{"login":"erasmospunk","id":944152,"avatar_url":"https://avatars.githubusercontent.com/u/944152?v=3","gravatar_id":"","url":"https://api.github.com/users/erasmospunk","html_url":"https://github.com/erasmospunk","followers_url":"https://api.github.com/users/erasmospunk/followers","following_url":"https://api.github.com/users/erasmospunk/following{/other_user}","gists_url":"https://api.github.com/users/erasmospunk/gists{/gist_id}","starred_url":"https://api.github.com/users/erasmospunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erasmospunk/subscriptions","organizations_url":"https://api.github.com/users/erasmospunk/orgs","repos_url":"https://api.github.com/users/erasmospunk/repos","events_url":"https://api.github.com/users/erasmospunk/events{/privacy}","received_events_url":"https://api.github.com/users/erasmospunk/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T19:12:43Z","updated_at":"2015-07-17T19:12:43Z","body":"Try to pull the latest code where I improved the coin family mechanism. It is no longer required to modify the coinomi bitcoinj library. Just set in the CoinType the variable `family = PeerFamily.get();`."}}