Tx Rejected: Transaction Already Exists (immaturestakegeneration)

Discussion in 'Tickets' started by Suraj, Mar 29, 2017.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. Suraj

    Suraj New Member

    Jan 1, 2016
    16
    4
    Male
    India
    Hello,

    Can someone please explain the "-22: TX rejected: transaction already exists" part below? I have not seen that before and it is really confusing.
    Please note that I had tried rebroadcastmissed command before and this can be seen in the output below:
    Code:
    10:17:00 2017-03-29 [INF] WLLT: Connecting block 00000000000001bce014b848cab9ae8921422e5c97cf91e7af4c128d9cb0e1ad, height 119728
    10:23:21 2017-03-29 [INF] WLLT: Connecting block 0000000000000269ec0c938ee41c381a8ff69ae43b68a3f8e0673fc869f3b978, height 119729
    10:24:54 2017-03-29 [INF] WLLT: Revoked missed ticket 68d8e0d315ddaf6782b12a1b2d8b76a5d0af64909d1f334cd3b92e42442850d4 (tx hash: 050d6562be2d799d71ebb0c2e4ed11b8a6f5c390df1a8f4a1d6f58b064c3ef5e)
    10:24:54 2017-03-29 [INF] TMGR: Inserting unconfirmed transaction 050d6562be2d799d71ebb0c2e4ed11b8a6f5c390df1a8f4a1d6f58b064c3ef5e
    10:29:49 2017-03-29 [INF] WLLT: Connecting block 00000000000002f3c83a6bded68fcfba2b1167e0dba206c603a39f1b71c9061b, height 119730
    10:29:49 2017-03-29 [ERR] WLLT: Cannot handle chain server voting notification MissedTickets: Error encountered attempting to create revocation using ticket 68d8e0d315ddaf6782b12a1b2d8b76a5d0af64909d1f334cd3b92e42442850d4: -22: TX rejected: transaction already exists
    10:35:22 2017-03-29 [INF] WLLT: Connecting block 00000000000003f07b5eab05aa353f17fec0663e5c0a56d75f59b7cc6e9c93a4, height 119731
    10:36:22 2017-03-29 [INF] WLLT: Connecting block 000000000000032f8a6ff8497e726ff87a7ce5b6a2021dd84ba68d4383b07ea7, height 119732
    Also, my expired tickets count changed to 2 from 1 after the rebroadcastmissed command:
    Before:
    Code:
    {
      "blockheight": 119729,
      "poolsize": 41666,
      "difficulty": 64.86642122,
      "allmempooltix": 0,
      "ownmempooltix": 0,
      "immature": 0,
      "live": 3,
      "proportionlive": 7.20011520184323e-05,
      "voted": 84,
      "totalsubsidy": 150.39987789,
      "missed": 12,
      "proportionmissed": 0.125,
      "revoked": 11,
      "expired": 1
    }
    After:
    Code:
    {
      "blockheight": 119732,
      "poolsize": 41651,
      "difficulty": 64.86642122,
      "allmempooltix": 0,
      "ownmempooltix": 0,
      "immature": 0,
      "live": 3,
      "proportionlive": 7.202708218290078e-05,
      "voted": 84,
      "totalsubsidy": 150.39987789,
      "missed": 12,
      "proportionmissed": 0.125,
      "revoked": 12,
      "expired": 2
    }
    Thanks in advance! :)
     
  2. Kandiru

    Kandiru Member

    Feb 21, 2016
    207
    87
    Transaction already exists will appear if you have a stakepool or additional voting wallets. They both create the same vote, and so will sometimes complain that the TX they are trying to broadcast already exists!
     
    Suraj likes this.
  3. Suraj

    Suraj New Member

    Jan 1, 2016
    16
    4
    Male
    India
    Hello, @Kandiru,
    Please note that I have neither of these.
    Actually, I am now trying to wait for my tickets to expire so that I can move my coins out of this wallet (I forgot the wallet seed). I have and had only one wallet ever.
    I am away from my desktop for sometime. I shall post an update as soon as I get hold of it.
    Thanks again!
     
  4. Kandiru

    Kandiru Member

    Feb 21, 2016
    207
    87
    Ah, I think what's happened then is your rebroadcast missed has told dcrd to rebroadcast all the missed tickets to your wallet. Your wallet then issues a revoke for each one; but since you have already revoked most of them, that gives the warning about the Tx already existing. One of those tickets had actually expired and not been revoked, and so that changed to revoked afterwards.

    Does that make sense?
     
    Suraj likes this.
  5. Suraj

    Suraj New Member

    Jan 1, 2016
    16
    4
    Male
    India
    Hey @Kandiru,
    Sorry for the late reply.
    But that kind of explains the situation :rolleyes:
    I got to check my wallet now. Now all the tickets that I had is gone.

    Code:
    --wallet gettickets 0
    {
      "hashes": []
    }
    But the getbalance command shows the following. Can you please explain that? Is it even possible to find what is holding those 4+ DCR and recover them? I am trying to empty my wallet.

    Code:
    --wallet getbalance "default" 0
    {
      "balances": [
        {
          "accountname": "default",
          "immaturecoinbaserewards": 0,
          "immaturestakegeneration": 4.1479037,
          "lockedbytickets": 0,
          "spendable": 0,
          "total": 4.1479037,
          "votingauthority": 0
        }
      ],
      "blockhash": "00000000000001b7bf69d306826b9b25ab1077928b50cbe538d516995d1756d5"
    }
    Code:
    --wallet getstakeinfo
    {
      "blockheight": 131101,
      "poolsize": 44517,
      "difficulty": 134.27310417,
      "allmempooltix": 0,
      "ownmempooltix": 0,
      "immature": 0,
      "live": 0,
      "proportionlive": 0,
      "voted": 84,
      "totalsubsidy": 150.39987789,
      "missed": 15,
      "proportionmissed": 0.15151515151515152,
      "revoked": 15,
      "expired": 3
    }
    Now I have no idea why I have more "immaturestakegeneration" balance left :confused:
     
  6. Suraj

    Suraj New Member

    Jan 1, 2016
    16
    4
    Male
    India
  7. Kandiru

    Kandiru Member

    Feb 21, 2016
    207
    87
    @Suraj

    It takes 256 blocks for funds from a voted/revoked ticket to become spendable. If you check back tomorrow, they should be spendable :)
     
  8. Suraj

    Suraj New Member

    Jan 1, 2016
    16
    4
    Male
    India
    @Kandiru
    No man, it won't work. I'm telling you. That's been there for a long time now. I have been seeing it even before I was waiting for the last few tickets to expire. It never added up. I'm cool to wait few days.
    Is there any way to check where this is coming from, even if it is from expired tickets?
     
  9. Kandiru

    Kandiru Member

    Feb 21, 2016
    207
    87
    dcrctl --wallet listunspent

    Will give you a list of all your UTXOs, with the TX id so you can look on the http://mainnet.decred.org explorer.
     
  10. Suraj

    Suraj New Member

    Jan 1, 2016
    16
    4
    Male
    India
    Hey, man! Thanks for the command.
    But it listed more than 50 transactions!
    Pasting it here for reference.
    Code:
    [
      {
        "txid": "1a4e2cb5997555e5d5d9c545ba22762e4916d580df3aec2a18f7901bf4adc0f1",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsjnRS7h9dE6YA2KENnJBqxzkr9ey7xJ6Zx",
        "account": "default",
        "scriptPubKey": "bd76a914ce6ecf31962d67544c3df3cdf1749d086f8cc23088ac",
        "amount": 0,
        "confirmations": 105996,
        "spendable": true
      },
      {
        "txid": "a9c0385562e7a8d3c2e35eb4e41f20aa6d95d93c1fafab6e3d3371ec73b4badf",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "DsSv5udsJAkuRECDgVsB3fTfx9fuH7LrB38",
        "account": "default",
        "scriptPubKey": "bd76a9141567b31bd1420cbdb14918bca912c8164e9d127b88ac",
        "amount": 0,
        "confirmations": 106017,
        "spendable": true
      },
      {
        "txid": "a9c0385562e7a8d3c2e35eb4e41f20aa6d95d93c1fafab6e3d3371ec73b4badf",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsmDBE4txuUJWii72kEcaJApLmFwVN1K1YG",
        "account": "default",
        "scriptPubKey": "bd76a914de157962e093c41ffa17cf2b1b48d1e7c012c0ac88ac",
        "amount": 0,
        "confirmations": 106017,
        "spendable": true
      },
      {
        "txid": "5c1f05d8199347d9c721affd9e80a5279499aa6aae7a45f1b6469f6993d266da",
        "vout": 8,
        "tree": 1,
        "txtype": 1,
        "address": "DsoZT4TdPNXjDWdaRptwue6yBwe2MNW26RH",
        "account": "default",
        "scriptPubKey": "bd76a914f7db4347b002d511a7ee0957d021038feebe78cf88ac",
        "amount": 0,
        "confirmations": 106673,
        "spendable": true
      },
      {
        "txid": "5c1f05d8199347d9c721affd9e80a5279499aa6aae7a45f1b6469f6993d266da",
        "vout": 6,
        "tree": 1,
        "txtype": 1,
        "address": "DsSwobyebLvUVxWrg9GqXTKjUwGBFBUPVbG",
        "account": "default",
        "scriptPubKey": "bd76a91415baebd95775a85520a719b32879e69f8536c18d88ac",
        "amount": 0,
        "confirmations": 106673,
        "spendable": true
      },
      {
        "txid": "5c1f05d8199347d9c721affd9e80a5279499aa6aae7a45f1b6469f6993d266da",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "DsRkeVA5b7GgtbbWi9P7hXm9Q5VXeq4S731",
        "account": "default",
        "scriptPubKey": "bd76a91408a69be39b16e57b64efaa12b28acfeabf1e5c8a88ac",
        "amount": 0,
        "confirmations": 106673,
        "spendable": true
      },
      {
        "txid": "5c1f05d8199347d9c721affd9e80a5279499aa6aae7a45f1b6469f6993d266da",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsXBo9Jy4HpJS4cgszZeysYfKy9ZixuBDwG",
        "account": "default",
        "scriptPubKey": "bd76a9144440dd34a9534df2c51c8fe0adfbebd1fe6fb40088ac",
        "amount": 0,
        "confirmations": 106673,
        "spendable": true
      },
      {
        "txid": "7b98e2d73e8d4634bca86b43272d0e1c78bac3bde9ee8be67d2cf3c4f167aa4f",
        "vout": 6,
        "tree": 1,
        "txtype": 1,
        "address": "DsSsUocZRfJKAV4DcVVLqyHifzj13QpNP87",
        "account": "default",
        "scriptPubKey": "bd76a91414e99083dd4b31873ec6194ccc237e6466c19f8b88ac",
        "amount": 0,
        "confirmations": 106782,
        "spendable": true
      },
      {
        "txid": "7b98e2d73e8d4634bca86b43272d0e1c78bac3bde9ee8be67d2cf3c4f167aa4f",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "DsZ7bQn8ZXiF8ARSPDkWjBQkwoapqZo2dTP",
        "account": "default",
        "scriptPubKey": "bd76a9145965a8472a55cb44dbff0af0564343bd7009496088ac",
        "amount": 0,
        "confirmations": 106782,
        "spendable": true
      },
      {
        "txid": "7b98e2d73e8d4634bca86b43272d0e1c78bac3bde9ee8be67d2cf3c4f167aa4f",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsSBbna3vEoQ2rDUHLLWYLHGNT6E56kv9dz",
        "account": "default",
        "scriptPubKey": "bd76a9140d5ec11bdbe3e35e93e0a2ae6d30b9da7c8f600588ac",
        "amount": 0,
        "confirmations": 106782,
        "spendable": true
      },
      {
        "txid": "9a09804346085ea961c0518e8ef3d310a2cdfb8a8032535064c0f375dcad8ed6",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "DsZTSy4VvJqm5Kb9FxWQ8TEqyKYi7qe41GU",
        "account": "default",
        "scriptPubKey": "bd76a9145d26eda983a5daf1f4e9eff807b36603e876a3cf88ac",
        "amount": 0,
        "confirmations": 107611,
        "spendable": true
      },
      {
        "txid": "9a09804346085ea961c0518e8ef3d310a2cdfb8a8032535064c0f375dcad8ed6",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "Dsow8ZPp4MB4NZjyu2JAgXhNFeHgR89m3ah",
        "account": "default",
        "scriptPubKey": "bd76a914fbf4f85219e887b1ac37043320c7c9c70acea65a88ac",
        "amount": 0,
        "confirmations": 107611,
        "spendable": true
      },
      {
        "txid": "6cdcd9740b7368c68de5caaec3a601f83fdac69aeade714da40f45a5fe1ed738",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "DsS9aUHQKfHWvGJ7jzAi9snUygVTcPLzum7",
        "account": "default",
        "scriptPubKey": "bd76a9140cfcd30f897c2032552fc83a9ad3db0579bccf3588ac",
        "amount": 0,
        "confirmations": 107885,
        "spendable": true
      },
      {
        "txid": "6cdcd9740b7368c68de5caaec3a601f83fdac69aeade714da40f45a5fe1ed738",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsgELvGtTmF8VPpf2WX9FFsTmZ17VGBH61k",
        "account": "default",
        "scriptPubKey": "bd76a914a7755a4a90deac9bd81fa049355f99b8a73a14d588ac",
        "amount": 0,
        "confirmations": 107885,
        "spendable": true
      },
      {
        "txid": "5616345b04fed488202b913601be5a41abfa92baff8f3adcba66f7c35bc1e5f2",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "DsTafcCvpfCKh6XDaKLA2bAHNbvJgXnAfTG",
        "account": "default",
        "scriptPubKey": "bd76a9141cb3a3192dabb738f2cf946cd6d128d017da3c0888ac",
        "amount": 0,
        "confirmations": 108042,
        "spendable": true
      },
      {
        "txid": "5616345b04fed488202b913601be5a41abfa92baff8f3adcba66f7c35bc1e5f2",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsgFf8HQHjwM7Kz8WFy9kQMiJm9WgRCr3qJ",
        "account": "default",
        "scriptPubKey": "bd76a914a7b4f79696945a47415197c11ac3a662c1e6e3c088ac",
        "amount": 0,
        "confirmations": 108042,
        "spendable": true
      },
      {
        "txid": "572c1b79ca339aeaf68382838f28064201b0d83cc307786d848bd94c3db5b0bb",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "DshbzywyEN3oRJgPsumjmFjsstyuAG8JvaA",
        "account": "default",
        "scriptPubKey": "bd76a914b685fcc3954acaf636b7ef4ed5f634f8a184668c88ac",
        "amount": 0,
        "confirmations": 109627,
        "spendable": true
      },
      {
        "txid": "572c1b79ca339aeaf68382838f28064201b0d83cc307786d848bd94c3db5b0bb",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsUiiCB37XKUNmsQNmXWg4jecMXvCNQcuDw",
        "account": "default",
        "scriptPubKey": "bd76a91429313fbc6593e2811a8aa11c92cb652403f5d2c788ac",
        "amount": 0,
        "confirmations": 109627,
        "spendable": true
      },
      {
        "txid": "02b33bcc04c91e80135375d563edbcbc5ef9b7d18c89ebd346b6513ad5b8da1f",
        "vout": 6,
        "tree": 1,
        "txtype": 1,
        "address": "DsbE5cem1gn18yC8LeZ3ejzKVc6gPywXWTm",
        "account": "default",
        "scriptPubKey": "bd76a914708ff2e30397c78c3edf612551cfb0f806133e9388ac",
        "amount": 0,
        "confirmations": 110007,
        "spendable": true
      },
      {
        "txid": "02b33bcc04c91e80135375d563edbcbc5ef9b7d18c89ebd346b6513ad5b8da1f",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "Dsf3cZ59FbVv6iDL5tk1dPm5K5WMwicHiTR",
        "account": "default",
        "scriptPubKey": "bd76a9149a75b3ca935a8d90e793e9b26727415f29cdc3d988ac",
        "amount": 0,
        "confirmations": 110007,
        "spendable": true
      },
      {
        "txid": "02b33bcc04c91e80135375d563edbcbc5ef9b7d18c89ebd346b6513ad5b8da1f",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsXDuGLiFxkrUU6MkKqQZsFANPwn19sGhkr",
        "account": "default",
        "scriptPubKey": "bd76a91444a6ce44b32115ce9f1e76a7a7afb0168ff76dc688ac",
        "amount": 0,
        "confirmations": 110007,
        "spendable": true
      },
      {
        "txid": "88ca3f0d5de47d60e899b6fd4d1523093119de259c536bab951e5eb39b4d2ae0",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsgFvMd8ZPaNALc8eP2p62cuTqS2BYnKmXQ",
        "account": "default",
        "scriptPubKey": "bd76a914a7c1ae35bd0d77476bdbd5d441979c24ce51ee7688ac",
        "amount": 0,
        "confirmations": 110131,
        "spendable": true
      },
      {
        "txid": "7f2a6bb4f27fe1890ab2013f3e8a5cc7d517156e0000fb3c9d88d3c623511bb7",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsXT1X1RTz2gKBAk8yi3kc1rphAKmTketcm",
        "account": "default",
        "scriptPubKey": "bd76a91447216ed19c2f5665b6dff2fc2ed99f846b3730db88ac",
        "amount": 0,
        "confirmations": 110299,
        "spendable": true
      },
      {
        "txid": "fb43e55e05bbb5a2e70a140f95a4558caeea6674b22707de1d19232cd9a91cf3",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "Dsk9RBTsRzVcsUzvspYFXZLnG4SZivSZEAe",
        "account": "default",
        "scriptPubKey": "bd76a914d267556b57841a72fcd83a22661c2051a157661188ac",
        "amount": 0,
        "confirmations": 110346,
        "spendable": true
      },
      {
        "txid": "e88d0b42d44f78e5deb9260c129c18bd7b009322af822b4ce5dd5a98dc8d73aa",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "DsfyPuyj3qf8riDuVFHhWZZuoFoCCUBBCDt",
        "account": "default",
        "scriptPubKey": "bd76a914a4a19d007b6a99c5d0c1ca63a130e132d8d614d588ac",
        "amount": 0,
        "confirmations": 110346,
        "spendable": true
      },
      {
        "txid": "e88d0b42d44f78e5deb9260c129c18bd7b009322af822b4ce5dd5a98dc8d73aa",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsiHgr49iL4siJxXnLU76fUMqQZU5c8xYYY",
        "account": "default",
        "scriptPubKey": "bd76a914be077c90a866fdba76851754a81eec5904ce772b88ac",
        "amount": 0,
        "confirmations": 110346,
        "spendable": true
      },
      {
        "txid": "c0e6163ff0d11b8161d312f9915fcc0f7d2fa3bfe550f3a45ae0742169dd98b0",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsnkGNqQvnkBFWS16VoSq2pYz8f9nEukT6T",
        "account": "default",
        "scriptPubKey": "bd76a914eeeecb740e7624632c40c25051087f8b5cece32988ac",
        "amount": 0,
        "confirmations": 111045,
        "spendable": true
      },
      {
        "txid": "f680466f5f683978ad614e999140fa3f2dc3a50410251ff40df98ba1decaa74a",
        "vout": 6,
        "tree": 1,
        "txtype": 1,
        "address": "DsbBRXdFWiQjCg8iUreQuJPFpAz1sEz1k4K",
        "account": "default",
        "scriptPubKey": "bd76a914700f52deed13d14311f82ef1c045acbd6116826b88ac",
        "amount": 0,
        "confirmations": 111062,
        "spendable": true
      },
      {
        "txid": "f680466f5f683978ad614e999140fa3f2dc3a50410251ff40df98ba1decaa74a",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "DsoJat8sx4RFjJKqatovqmw9vusYJJLVqU2",
        "account": "default",
        "scriptPubKey": "bd76a914f50b8d8919e708192d78dd2274a8c69b53e0377488ac",
        "amount": 0,
        "confirmations": 111062,
        "spendable": true
      },
      {
        "txid": "f680466f5f683978ad614e999140fa3f2dc3a50410251ff40df98ba1decaa74a",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DskVnLWjuJD1RjcUt7pGwJFs6QroUddxNua",
        "account": "default",
        "scriptPubKey": "bd76a914d6415025140d274379e56167cb3bc68f4e48428588ac",
        "amount": 0,
        "confirmations": 111062,
        "spendable": true
      },
      {
        "txid": "dbe7cd613345b65bcafd0f87c98103bcf9c286443f054a1228400bc1621b5c39",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsaFyNVh389NftUfc2UiM6WxqB9sJsU2cbk",
        "account": "default",
        "scriptPubKey": "bd76a91465f3714fdd38f4574c3271594c19f8f71e398ab888ac",
        "amount": 0,
        "confirmations": 111065,
        "spendable": true
      },
      {
        "txid": "cad3b0b049b52080146f4ad945c57b06df3e64f7508b4e182c9a0e0ad3f693de",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DskNjn1D1ognLZM4gFhgCSksWyCyGTrebGr",
        "account": "default",
        "scriptPubKey": "bd76a914d4ec43911ab6725b8cef6fc816218c2e6d7a96ce88ac",
        "amount": 0,
        "confirmations": 111787,
        "spendable": true
      },
      {
        "txid": "5e8fdf51864adf631ee791205687a39cfcf428cd378a94dedcc07ec8d7125f01",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsbrEe4BRRYJTmPVZi7jy6RXM2RJQ7AR9ua",
        "account": "default",
        "scriptPubKey": "bd76a914776674d860b4d220b200cf6baa82bbfbab0ead7388ac",
        "amount": 0,
        "confirmations": 112651,
        "spendable": true
      },
      {
        "txid": "fa22b2e7cb87faeaab44e07fcd84517ed52c2447a209658c739fbe8cd0afb1d6",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsW4NAMzNX8HF3iAUtY3Kq2Uw7pVJc7nArv",
        "account": "default",
        "scriptPubKey": "bd76a91437e0f906ec433d8209d4b7e3525c961d71dac66b88ac",
        "amount": 0,
        "confirmations": 113131,
        "spendable": true
      },
      {
        "txid": "7f37f5f0082dfda3e186c663f995122d0aa655d9b1f71a621fd2b22540693c3b",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsTzJxkubgG3hq4Mm58x3rzqaq8xKkTs6s9",
        "account": "default",
        "scriptPubKey": "bd76a914212c62d447d450a3067475c7ed3c0ff981ff110a88ac",
        "amount": 0,
        "confirmations": 113138,
        "spendable": true
      },
      {
        "txid": "943974c7daf718f38844f7dcff6e764e55d36ec2c98c947ca852edc7b7403828",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsazjJHYtF2zbDm1uQjeAignJrC4a4o9EUd",
        "account": "default",
        "scriptPubKey": "bd76a9146e0994f012ac3a75aa9be57eec4187ee7cb62cb488ac",
        "amount": 0,
        "confirmations": 113796,
        "spendable": true
      },
      {
        "txid": "07059450af2bbc4dfba22193be182c3ba3172a6af391c20040287f0ceda374a4",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "Dsj39TMjgbY2QyonDF3TBNsVNPUBjg3Junf",
        "account": "default",
        "scriptPubKey": "bd76a914c63f95b1bc92f8cb38d2c90a5261fde4b4489af288ac",
        "amount": 0,
        "confirmations": 114518,
        "spendable": true
      },
      {
        "txid": "02256b1c6dec48145147dff2ae9f2e12b0bc76b006e17a5ad24610744a6869f0",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsVxbFapEWwnzqM95fQK7LnjqTSiTbbgqcU",
        "account": "default",
        "scriptPubKey": "bd76a91436c9676bd39363b9b53f7ad3948c084ae2b6fad588ac",
        "amount": 0,
        "confirmations": 114667,
        "spendable": true
      },
      {
        "txid": "50450382ccfe58a5eefced52bb4a2d258f9be377dad780e6fa5fce332339f334",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "Dshk8YvAeM6EdsoydH72bnp79uSYJkbLBye",
        "account": "default",
        "scriptPubKey": "bd76a914b80fa203246c5e0541bcdf19cfa3d74dcc7300a888ac",
        "amount": 0,
        "confirmations": 115225,
        "spendable": true
      },
      {
        "txid": "cfd4991518e529dee58da1647df306b0f7d673323e8561055fc40fdcd063e1b6",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "DsWNMoy3WxjdhUUPE3RiXtbDxHtDpvGxQWT",
        "account": "default",
        "scriptPubKey": "bd76a9143b482aa1e24ed8dc293710e066f77755e536e75088ac",
        "amount": 0,
        "confirmations": 116251,
        "spendable": true
      },
      {
        "txid": "cfd4991518e529dee58da1647df306b0f7d673323e8561055fc40fdcd063e1b6",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "Dsb4CZZfqJ1Bfai2TVbZqGXAgoiipDrB6fE",
        "account": "default",
        "scriptPubKey": "bd76a9146eb19688c26950d73befe57aa9b0350ee1d7581088ac",
        "amount": 0,
        "confirmations": 116251,
        "spendable": true
      },
      {
        "txid": "d4db4c0fe94f3725052194dae5116ffc58b99014c7f60c4bd0ff796397add9fb",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "DsnFgjxvKzsfrxDTK66bLzokjoRASwaZPkk",
        "account": "default",
        "scriptPubKey": "bd76a914e98711f4cc5b15a6d23539b828977920d33fe5b588ac",
        "amount": 0,
        "confirmations": 118279,
        "spendable": true
      },
      {
        "txid": "d4db4c0fe94f3725052194dae5116ffc58b99014c7f60c4bd0ff796397add9fb",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DseJs4ubsLkWA48ZaBN5VN5ctyMRzNfnLDN",
        "account": "default",
        "scriptPubKey": "bd76a914925fee95768a33bbde93de7ce4e01f439b1c194188ac",
        "amount": 0,
        "confirmations": 118279,
        "spendable": true
      },
      {
        "txid": "9e5c9f4cff174784d7342b08fff031679c88c83972364f01633b6b8daf682d26",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsjLdRFbUav2kgKAsW1cwsgqvYC9Mui1grV",
        "account": "default",
        "scriptPubKey": "bd76a914c98dffbefb79bf4f2215a3c866a3902c3e2da7de88ac",
        "amount": 0,
        "confirmations": 118500,
        "spendable": true
      },
      {
        "txid": "0473af356cc60b49ad0c487b84e1a447cd6cb07236eb8d258f9956d3e0e2a3c5",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "DsX1DVAwDMNLfPyRWS9W48u3oDwDXCKApSG",
        "account": "default",
        "scriptPubKey": "bd76a91442409bc9fb13aae792175fc7baa1e3eaf70c8f7388ac",
        "amount": 0,
        "confirmations": 118728,
        "spendable": true
      },
      {
        "txid": "0473af356cc60b49ad0c487b84e1a447cd6cb07236eb8d258f9956d3e0e2a3c5",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsXGMJft5CVF1MGRJZ8b6YBF67xmVWFQJr5",
        "account": "default",
        "scriptPubKey": "bd76a914451d5ff9f60ac718c048dc5dd5c474938d74977b88ac",
        "amount": 0,
        "confirmations": 118728,
        "spendable": true
      },
      {
        "txid": "31fb06d8dd4938612977899f261d19fa7666c1d78a90de8c8d53c20dc22e091b",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "Dsdrc4g3YHVMH432EfvKmkgTRCuCsxP5zZQ",
        "account": "default",
        "scriptPubKey": "bd76a9148d68979c40d2e7a78f291b05b5cd6dec31b65c9588ac",
        "amount": 0,
        "confirmations": 119179,
        "spendable": true
      },
      {
        "txid": "31fb06d8dd4938612977899f261d19fa7666c1d78a90de8c8d53c20dc22e091b",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsXN9MdhCpBJ7PGdeL7CrkJjdRWAZUbDECn",
        "account": "default",
        "scriptPubKey": "bd76a9144635e56e80cbcbdc8326fe079ce26878194318ae88ac",
        "amount": 0,
        "confirmations": 119179,
        "spendable": true
      },
      {
        "txid": "0730b253592ce8d0551ad0e29bf506e098ada70d727e46d237db976c11e702c9",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsnSGLVoCfzU6y79DZuYJZEbMR4sLGdTATB",
        "account": "default",
        "scriptPubKey": "bd76a914eb8746161f8b6c83d822221f4f4a41878df639a288ac",
        "amount": 0,
        "confirmations": 119887,
        "spendable": true
      },
      {
        "txid": "e86194fcc973690613c82df10344430fc5be713029a72f05fcbc6b7c28433fcf",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "DsefJTnzRCu2vRraBXgpMgqDZWZmTioNEW4",
        "account": "default",
        "scriptPubKey": "bd76a914963d7314dd8619d4426043122c07bfb3ce1f6c9d88ac",
        "amount": 0,
        "confirmations": 120575,
        "spendable": true
      },
      {
        "txid": "e86194fcc973690613c82df10344430fc5be713029a72f05fcbc6b7c28433fcf",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsZx6qtvVBNhmrFd12aBh6jWR7ucrAfvN6t",
        "account": "default",
        "scriptPubKey": "bd76a91462923166f916c722822edc30ffadf8b13a85657188ac",
        "amount": 0,
        "confirmations": 120575,
        "spendable": true
      },
      {
        "txid": "8dbe99ae48d002679fd4259ce01d258de0f133cad0d905c2526e7e58e792a293",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsapsDYANQgE9bEMAC3MXwxBhdrHcrqtARB",
        "account": "default",
        "scriptPubKey": "bd76a9146c2c082a7732d1c231511c6c23e45acef69d376b88ac",
        "amount": 0,
        "confirmations": 120645,
        "spendable": true
      },
      {
        "txid": "ad951a82ee0583baa3915eec9bb5d38550028f96488d7d1e1f8705075449f5dd",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsfZ3dBLBhyquHrRAN6ALQqGaDQbnW4yx46",
        "account": "default",
        "scriptPubKey": "bd76a914a006b17937fd43c0662f79379ef7f85aaa16fd7e88ac",
        "amount": 0,
        "confirmations": 120880,
        "spendable": true
      },
      {
        "txid": "5e928ea7200d07b5acffab0f822ffbf08abdb297d500dd70a1330424c3a31b6e",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsYxGpAvzE1Uz164P43oBRrfHNG2i9FWC3H",
        "account": "default",
        "scriptPubKey": "bd76a91457a263d47c737359454d46a224f2c30b41ae45fa88ac",
        "amount": 0,
        "confirmations": 121881,
        "spendable": true
      },
      {
        "txid": "b899e02caeff20e5edf752deab9d8c8ddaa9e9d3cfac6b175aaf08cb277a8469",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsjcZgvamSw7PwRp4ipVcwgc33CfKSmM8Tb",
        "account": "default",
        "scriptPubKey": "bd76a914cc918a7a0f0b8b35bf0b4b7a1cf27b0ce3d30d7288ac",
        "amount": 0,
        "confirmations": 122299,
        "spendable": true
      },
      {
        "txid": "97ffdef8201ccaa4b74af2df918e7f08bd5940c3ecee6b96958a683de6d8c251",
        "vout": 4,
        "tree": 1,
        "txtype": 1,
        "address": "DsipfLvzVEXiT34kYEnsZ6LLMQqQBjG4pQ1",
        "account": "default",
        "scriptPubKey": "bd76a914c3e320a2d065f3f154dd5ed5e79eaf394fd42fc688ac",
        "amount": 0,
        "confirmations": 122595,
        "spendable": true
      },
      {
        "txid": "97ffdef8201ccaa4b74af2df918e7f08bd5940c3ecee6b96958a683de6d8c251",
        "vout": 2,
        "tree": 1,
        "txtype": 1,
        "address": "DsZ9iDgmZXVqfKuK8yaLykJzJ7n4Yi9JqXG",
        "account": "default",
        "scriptPubKey": "bd76a91459cc2c44629f1d072a1ef5ed1bdc12d46f95fe2188ac",
        "amount": 0,
        "confirmations": 122595,
        "spendable": true
      }
    ]
    
    Now how do we find where the 4+ DCR went to (or came from)? Open each TX id in block explorer and trace it? Also, I don't really understand the output of the above command. It's showing so many different addresses. Are those the ones that I sent the DCR to or got from?

    P.S. 1: No change in the getbalance output ;)
    Code:
    --wallet getbalance "default"
    {
      "balances": [
        {
          "accountname": "default",
          "immaturecoinbaserewards": 0,
          "immaturestakegeneration": 4.1479037,
          "lockedbytickets": 0,
          "spendable": 0,
          "total": 4.1479037,
          "votingauthority": 0
        }
      ],
      "blockhash": "00000000000001cbf4e4afe99d350a41ce0856f2de595f48bd6d146232628c08"
    }

    P.S.2: FYI, --wallet listlockunspent is blank.
     
  11. Kandiru

    Kandiru Member

    Feb 21, 2016
    207
    87
    Hmm, that's odd, your wallet is listing all of those as having 0 balance (they are just the change outputs from tickets where you had no actual change.)

    Not sure where the 4 is coming from.

    If you had your seed, I'd suggest rebuilding from seed. As you don't, you could try creating a new watching only wallet with an up-to-date version of dcrwallet? I'm guessing your version is old?

    dcrctl --wallet getmasterpubkey

    or (dcrctl --wallet validateaddres <one of your addresses>) if your version doesn't have getmasterpubkey

    then make a new wallet (use a new version of the software, and don't overwrite your existing one! Try this on another machine):

    dcrwallet --create --createwatchingonly <extendedpubkey you got from earlier>

    Then you can check your balance on this new wallet. It could be you've actually got 0 balance and it's a display bug.
     

Share This Page