Author

Topic: Can't broadcast transaction (Read 1520 times)

legendary
Activity: 1526
Merit: 1134
May 10, 2014, 10:27:56 AM
#2
Sorry, I can't help you with problems in forks for alt coins.
newbie
Activity: 2
Merit: 0
May 08, 2014, 12:17:19 PM
#1
I am trying to create android wallet for some cryptocurrency (litecoin similar). My altcoin wallet is based on bitcoinj-0.10.1. Everything works except transactions broadcast.
There are logs from my app:
Code:
05-08 12:44:15.041: I/Wallet(1396): [backgroundThread] Completing send tx with 1 outputs totalling 0.50 (not including fees)
05-08 12:44:15.045: I/Wallet(1396): [backgroundThread]   with 1.7999 coins change
05-08 12:44:15.046: I/Wallet(1396): [backgroundThread]   with a fee of 0.0001
05-08 12:44:15.489: I/Wallet(1396): [backgroundThread]   completed:   5dc41850f5961920f3b274a05f55e92ba87bbb07c7cdfdee4d7ae13c711a98c0: Unknown confidence level.
05-08 12:44:15.489: I/Wallet(1396):      from GVsrSdifWXpkGHCLhEQhp4G6XaSK4LTgWR / c45da2520fed58af5eb96b8d4d33b3aa970c762bb2ac2faea7f36f87662ea0f2:1
05-08 12:44:15.489: I/Wallet(1396):        to GQ6stdJkpTPTvbaDcmf89tt1HsXSaVjZva 0.50 BTC
05-08 12:44:15.489: I/Wallet(1396):        to GVsrSdifWXpkGHCLhEQhp4G6XaSK4LTgWR 1.7999 BTC
05-08 12:44:15.490: I/Wallet(1396): [backgroundThread] commitTx of 5dc41850f5961920f3b274a05f55e92ba87bbb07c7cdfdee4d7ae13c711a98c0
05-08 12:44:15.491: I/Wallet(1396): [backgroundThread]   marked c45da2520fed58af5eb96b8d4d33b3aa970c762bb2ac2faea7f36f87662ea0f2:1 as spent
05-08 12:44:15.492: I/Wallet(1396): [backgroundThread]   c45da2520fed58af5eb96b8d4d33b3aa970c762bb2ac2faea7f36f87662ea0f2 prevtx <-unspent ->spent
05-08 12:44:15.495: I/Wallet(1396): [backgroundThread] ->pending: 5dc41850f5961920f3b274a05f55e92ba87bbb07c7cdfdee4d7ae13c711a98c0
05-08 12:44:15.499: I/WalletFiles(1396): [backgroundThread] Saving wallet, last seen block is 5192/60ed4ca207a8b054e23e68bcea2cee32656a4681970c5ab67664e5a84f4d7bb8
05-08 12:44:15.513: I/WalletFiles(1396): [backgroundThread] Save completed in 13msec
05-08 12:44:15.517: D/IPCThreadState(461): [DN #5] BR_CLEAR_DEATH_NOTIFICATION_DONE cookie 0x5a390a08
05-08 12:44:15.522: I/PeerGroup(1396): [main] Waiting for 3 peers required for broadcast ...
05-08 12:44:15.522: I/PeerGroup(1396): [main] broadcastTransaction: Enough peers, adding 5dc41850f5961920f3b274a05f55e92ba87bbb07c7cdfdee4d7ae13c711a98c0 to the memory pool and sending to [217.115.113.62]:3908

Logs bellow are from working wallet of another alternative cryptocurrency:
Code:
05-08 16:30:54.797: I/Wallet(8963): [backgroundThread] Completing send tx with 1 outputs totalling 1.00 (not including fees)


05-08 16:30:55.141: I/Wallet(8963): [backgroundThread]   completed:   9ab5c03b21402ae06d83eb990b7d49b9ecfed61ab13baca5667659d26f24b707: Unknown confidence level.
05-08 16:30:55.141: I/Wallet(8963):      from 1AmfgjwgVWQaa1dFNg7snhtwdHh19gWmsn / 65e660c70592ede2bf70143220e5b305886bfae22a3670460047093766a2ba1f:1
05-08 16:30:55.141: I/Wallet(8963):        to 1Nk13pRCvbiULti8AcymZLW3hf8JMGcqtY 0.9999 BTC

05-08 16:30:55.141: I/Wallet(8963): [backgroundThread] commitTx of 9ab5c03b21402ae06d83eb990b7d49b9ecfed61ab13baca5667659d26f24b707
05-08 16:30:55.143: I/Wallet(8963): [backgroundThread]   marked 65e660c70592ede2bf70143220e5b305886bfae22a3670460047093766a2ba1f:1 as spent
05-08 16:30:55.143: I/Wallet(8963): [backgroundThread]   65e660c70592ede2bf70143220e5b305886bfae22a3670460047093766a2ba1f prevtx <-unspent ->spent
05-08 16:30:55.144: I/Wallet(8963): [backgroundThread] ->pending: 9ab5c03b21402ae06d83eb990b7d49b9ecfed61ab13baca5667659d26f24b707
05-08 16:30:55.149: I/WalletFiles(8963): [backgroundThread] Saving wallet, last seen block is 319659/00000000000005f9e51fd8c4bcf91d14686b481e097405b64dbee333042e83e7
05-08 16:30:55.165: I/WalletFiles(8963): [backgroundThread] Save completed in 15msec
05-08 16:30:55.201: D/IPCThreadState(461): [DN #5] BR_CLEAR_DEATH_NOTIFICATION_DONE cookie 0x570b4758
05-08 16:30:55.222: I/PeerGroup(8963): [main] Waiting for 3 peers required for broadcast ...
05-08 16:30:55.223: I/PeerGroup(8963): [main] broadcastTransaction: Enough peers, adding 9ab5c03b21402ae06d83eb990b7d49b9ecfed61ab13baca5667659d26f24b707 to the memory pool and sending to [46.105.103.55]:13333
05-08 16:30:55.361: I/PeerGroup(8963): [bitcoinj user thread] broadcastTransaction: TX 9ab5c03b21402ae06d83eb990b7d49b9ecfed61ab13baca5667659d26f24b707 seen by 1 peers
05-08 16:30:55.810: I/PeerGroup(8963): [bitcoinj user thread] broadcastTransaction: TX 9ab5c03b21402ae06d83eb990b7d49b9ecfed61ab13baca5667659d26f24b707 seen by 2 peers
05-08 16:30:55.824: I/PeerGroup(8963): [bitcoinj user thread] broadcastTransaction: TX 9ab5c03b21402ae06d83eb990b7d49b9ecfed61ab13baca5667659d26f24b707 seen by 2 peers
05-08 16:30:57.438: I/PeerGroup(8963): [bitcoinj user thread] broadcastTransaction: TX 9ab5c03b21402ae06d83eb990b7d49b9ecfed61ab13baca5667659d26f24b707 seen by 3 peers
05-08 16:30:57.440: I/PeerGroup(8963): [bitcoinj user thread] broadcastTransaction: 9ab5c03b21402ae06d83eb990b7d49b9ecfed61ab13baca5667659d26f24b707 complete
So, main difference is:
Code:
05-08 16:30:55.361: I/PeerGroup(8963): [bitcoinj user thread] broadcastTransaction: TX 9ab5c03b21402ae06d83eb990b7d49b9ecfed61ab13baca5667659d26f24b707 seen by 1 peers
05-08 16:30:55.810: I/PeerGroup(8963): [bitcoinj user thread] broadcastTransaction: TX 9ab5c03b21402ae06d83eb990b7d49b9ecfed61ab13baca5667659d26f24b707 seen by 2 peers
05-08 16:30:55.824: I/PeerGroup(8963): [bitcoinj user thread] broadcastTransaction: TX 9ab5c03b21402ae06d83eb990b7d49b9ecfed61ab13baca5667659d26f24b707 seen by 2 peers
05-08 16:30:57.438: I/PeerGroup(8963): [bitcoinj user thread] broadcastTransaction: TX 9ab5c03b21402ae06d83eb990b7d49b9ecfed61ab13baca5667659d26f24b707 seen by 3 peers
05-08 16:30:57.440: I/PeerGroup(8963): [bitcoinj user thread] broadcastTransaction: 9ab5c03b21402ae06d83eb990b7d49b9ecfed61ab13baca5667659d26f24b707 complete
What is reason? I assume it is network nodes problem doesn't it?
Jump to: