Feedback Public Testnet Evaluation

Discussion in 'Technical Development' started by tacotime, Jan 6, 2016.

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

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    Thanks for answering, that cleared it all up. So basically, i am just not that lucky today.
     
  2. jy-p

    jy-p Sr. Member
    Organizer

    Jan 2, 2016
    133
    340
    Male
    From my experiences with BTC testnet, it is a lot more common to see reorgs on testnet because the PoW difficulty algorithm is pretty discontinuous on testnet (it drops to 1 if no block is mined for 20 minutes). Additionally, since ppl are testing mining setups, they will turn those on and off, which causes the best chain to switch quickly. On mainnet, this will be much less of an issue because the difficulty will adjust to match the hashpower online and that will stabilize at some point.
     
    sambiohazard likes this.
  3. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    Ok finally got my tx thru. It has 4 confs now. Although tx data is different now. Amount is now -10 as it should be and i have my 2 DCR back in my wallet. Why were those 2 DCR not in my wallet before conf? Does it have something to do with staking? Please @davecgh can you explain this? tx data before conf is in quoted text Here is the tx data after confirmation.

    Code:
      {
        "account": "",
        "address": "Tsk2vdAFMjU9PjA6TBfzWK6YA7s5SKxi2GY",
        "amount": -10,
        "blockhash": "0000000000464b72d2d6b9630238d7ae270efbf58de59d5001742c6166b092
    d2",
        "blocktime": 1454081429,
        "category": "send",
        "confirmations": 4,
        "fee": -1e-05,
        "time": 1454058589,
        "timereceived": 1454058589,
        "txid": "f8ffa009d4e9618c5250288718c8ce342bd8859a6d7c553b6c60acb009265136",
        "vout": 1,
        "walletconflicts": []
      },
    Thanks to anyone who can explain this.

    EDIT: above data is from command listtransactions, gettransaction <txid> still shows old data but now tx is shown as confirmed.
     
  4. techbytes

    techbytes New Member

    Jan 17, 2016
    13
    2
    Male
    Difficulty is rising so it's good to see more people hopping on testnet.


    -tb-
     
  5. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    @sambiohazard: I passed it along to the wallet devs. Looks like an accounting display bug to me.
     
    sambiohazard likes this.
  6. jrick

    jrick Member
    Developer

    Jan 4, 2016
    88
    81
    Male

    Thanks for noticing and reporting this. This turned out to be a fee calculation bug in btcwallet's gettransaction code which dcrwallet inherited. I just committed a fix upstream so dcrwallet will get this when we sync.
     
    sambiohazard likes this.
  7. Dyrk

    Dyrk Sr. Member
    Developer

    Jan 7, 2016
    518
    376
    Male
    Wonderland
    @jy-p How can I check my wallet balance with locked coins? I have purchased 4 tickets and voted one time. But it's super difficult to track. I don't know at what prices I bought that tickets and I don't know how much money do I have now.
     
  8. jcv

    jcv Full Member
    Developer

    @Dyrk, getbalance has a few options to help you out:

    dcrctl --wallet help getbalance will show you the help for that command but basically:

    dcrctl --wallet getbalance default 0 spendable

    will show your spendable coins,

    dcrctl --wallet getbalance default 0 locked

    will show the locked ones,

    dcrctl --wallet getbalance default 0 all

    for all coins.

    Note that the zero there is so it includes zero conf coins too.
     
    Dyrk, ClokworkGremlin and Freemind like this.
  9. Dyrk

    Dyrk Sr. Member
    Developer

    Jan 7, 2016
    518
    376
    Male
    Wonderland
    How can I track that my ticket was chosen for voting, but I missed it because my wallet was offline?

    What happens in this case? Is My ticket will stay valid in the pool or I'll get my coins back?
     
    Freemind likes this.
  10. jcv

    jcv Full Member
    Developer

    So there is an rpc call:
    dcrctl missedtickets
    to show missed tickets.

    The wallet should auto revoke missed ones but you can tell it to with rebroadcastmissed.
     
    ClokworkGremlin and Dyrk like this.
  11. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    Thanks for replying back. I am happy that we caught this bug. :)
     
  12. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    Ok just noticed this. Every time i restart the wallet it starts with one more address than last time. I have 50 addresses now and i don't remember creating more than 5-7 addresses. Here is the list of all my addresses. Is wallet creating addresses on its own at startup? Is this also a bug?

    Code:
    [
      "TsimLezuunKcpQ5D91nTnusF1pxBTWT33Dg",
      "TsZUJTMtHVFBG3Za19Bi2AYKdW495gGigs8",
      "TsUpXEM2qfCiFnRPmbzVDDD1gw7PbWEq594",
      "TsfBKSawTjerWpWbSQRbSJBX6awHbXfNZPA",
      "TskNnud7MS3YJzXHvfc5BWrMvpEqW8Nf4ZN",
      "TsZREnTwwdXMDHuJRgH46GRCxGrzQ33rMN6",
      "Tse5j4PMA2NayXduitGk51EzSEJYVF7huuE",
      "TsUHk2gtD3rhRg3k5QzcoWoHhNhBxtwet8g",
      "TsXg9jDbKUVPj1poQobfG3Gecq7cy8PoDKT",
      "TsfypJxiUp6HyuUHniQ5sPbAy1TkUKz9CyX",
      "Tsb8AdqEuNf3uyWSSuJnVoBvkqKMGUbGr86",
      "TscGiKoffBjNonSN1ua1xGXpm7oppYP5Hhm",
      "TskuToGGpT6TAuwC5PjnsgU2UMxgBZXsHAx",
      "TsSwq68rTZtaqeQiAprsFahofTAqwBLJ6ed",
      "TsnDptmCbfACU6uToDr2EPK7vEWeQ63tzRh",
      "Tsb79npTEFdX6VFAkFm2u3fKVzTrkMb5C6J",
      "TsaxXRFE95A3dBZ134R7raYqicjyU7yGgGd",
      "TsgUvmiipCic7QPoKz4UZr5UcjCWUzjXpaK",
      "TsjQwXSq23wBAmbXTTatm6L1s9n19rhNXjW",
      "Tsc1pa2xRPxmvDqsfcQA2nvsPm2iWZeuKjS",
      "TsgSqzVfMwEuMDEUZu24coEeETsJeTg7ZYB",
      "TsmT7ahb3dWsEWiWHX42iqQcZyyFQFmMif6",
      "TsR4Fafxm3LyUCrTUMZhUNxBHnGxC9b52S7",
      "TsZQ2Mf2o8WEcjeLPHiRs427ZGCbCPaSDk9",
      "TsfZYhRfF9iu6qadVY2pXSkU73rDC36J21e",
      "TseAprQcNqY8S6ZdyoAj5ttmQDkjGh9oi46",
      "TscmxQddy2U27BeVEUx6CDSMNqekZ5eAzyo",
      "TsXQnpGwS2T3jZEC5nrvsQDibcAbpsVgKB4",
      "TsgQmULkKJb7Uv1jpGzgYU9x7Ry9rdwiXWT",
      "TsTouHFrGQ7egPZFkuFgCo6tqpSghEaj53J",
      "TsoptKyCW6jYxWw4stqWjP6k4iTJWhNEJ7D",
      "TsgJtcb2QnPC17XsYv3QKgAboQmahURSMCJ",
      "TsiHmbkiSn3LbopHb6VitEU9sS5b8DPiyrx",
      "TsoQZdEd52jgUbzLEHSVW8m81xDtcC1oGJv",
      "TsT63AFAQg522QpiS7ZD72ETyGzio9wGTay",
      "TsXn3eKJxSCJiG2EBs6p7giRYhSy92BHsWJ",
      "TsaN4Wy7SJ29a3pnzwUDXT29qbwUi398uB6",
      "TsbFCBunEbNtvvi7HiktaNpz4gUqkq6daEX",
      "TsSqQGqGzqN9CrX5SLoggPNACu35M2eQUbX",
      "TsXTeydafPuFenwvztwSYg6MEFBpzztLZDF",
      "TskkMhdFTvifNkNYNqh2DdjpWMTy8J7PPqY",
      "TsTbTe1dnmpr7umcUZf5bvVEhbofx4wzQAk",
      "TsSCo56HgnAKZrGXGCJBcRqBw8FAyycV4yF",
      "TsUBoLuQWs1hibBEQjKFU1wd9niEZYhDRpp",
      "TsVqjubNEEBfUpquFWZ8gYUKNEQ15KWTEho",
      "TsY3f1EXr9a6vKG5eE1iREXN1ksghY8EuKB",
      "Tsbrex9N7b7n6tiC97jwwnAProdY4Z3hjfi",
      "TsbGLYemBVCQvKWH1fMN5ANgCJcp6TAWf53",
      "TsbdDDi1QnnqoY1DbARZyU2ghkfuxZQMWer",
      "TsgR9hKRmvoSyVjkgVfu9C46DWUADDG3eBy"
    ]
     
  13. ClokworkGremlin

    ClokworkGremlin Sr. Member

    Jan 10, 2016
    535
    381
    Male
    Whatever I want.
    I'll give you a hint: generate a few addresses manually and see if they're on that list.

    You ever notice how the wallet ballance is correct even if you're using a freshly-generated wallet?
     
  14. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    I am not sure what you are pointing towards but yes my manually generated addresses are in that list as well. Problem is it had 45(actually first time i checked it had some 10 or 20 addresses) addresses. Then i shutdown & restarted it and it had 46 w/o me creating any, and so on to 50 now.
     
  15. ClokworkGremlin

    ClokworkGremlin Sr. Member

    Jan 10, 2016
    535
    381
    Male
    Whatever I want.
    I thought it was supposed to keep 60 addresses pregenerated.
     
  16. Dyrk

    Dyrk Sr. Member
    Developer

    Jan 7, 2016
    518
    376
    Male
    Wonderland
    But is it (dcrctl missedtickets) returns all missedtickets in the decred network for all time?

    If I do this:
    Code:
    dcrctl --wallet gettickets 1
    I get this tickets list, that I purchased:


    Code:
    {
      "hashes": [
        "670813dce360c73744d9a9983b8980ecf56b9ffd7e23b2db8a6833f72f21ec05",
        "5fb13a83ebcc7bd4eb1053aa67898b4e2cfd05ea9e07f498831cad4b53ac9c2b",
        "c3e2873ca19bcbfc0979dd39e5b459ec5692eb57ef2ed9e82eb3d62aa7e599be",
        "c01669ea9a260d67e545665933ae0c363644d012f17049e8bbb38454452e42c0",
        "58f03ecb09ebce68e7073eac565394b8c027376a1e42c61b8752fb79b329a3cc",
        "9214907a1dff2e58510a50149335b4837f627cfafc07645481323b147f55aed5",
        "7daf24e7c45ef609974651388bc12fb176f19bd214de9f4133a8915be53943d7",
        "b099eeecf49aa262602ac796eb1877bf2d702eff4fbb6890c99352ec4ac50abf"
      ]
    }
    But if I do this:
    Code:
    dcrctl --wallet missedtickets
    I am getting much longer list with tickets. I definitely never bought so many.


    Code:
    {
      "tickets": [
        "ec7de4df237e530e159433b17e33dfddf2f6be0fc2327e07f2a47b8d0584bc38",
        "196d3aa5e526386ed4d0a96967d517837c287786c27e841edd1aa8ccd112dc97",
        "d189ebf78c8d6ca09626aefdeb25d6e33baad2ceccce538e9478171a649cd1f3",
        "9015723a8c16abe3699e6ae786aaa0970ff8fe30918a7487e53a634c6599f17e",
        "ab1416cfe44e17b6c533861dc9973b20c33a1f2032c055c87de77291e10a4d5f",
        "db810aa9a018b7d0963f67ec1500a12135a9763480d0edb1de13c6758c9804a5",
        "d4c980b054f95c3b37877c081fc743d7fe82455b37ee213b19bdd4568857db8a",
        "50274c588143bd8f6c0e1c91745271ab5a77269df031e72325dc2b6610c28fe9",
        "be9cf291a97d3f9688862fce6080efcc83508e77fb0e57b8d578adb46f5e61f5",
        "98151b1e65f64aac18578431b4640bcdcd245b23f446a08bead88fa14b6b8730",
        "dc9ddd7446a5733128a1e41837356422552deee25c047dd26f7c00ab9ca93e17",
        "2c5ea2d672e315cf65cc423639c8002f68128a3f98150ca716a73ee52bd4d688",
        "c71acd59da3dac4d7cc31e291e2334ec6e5bb0b718f8b6bea08836eb647895d9",
        "5409ff23bc9cd09c3b54179535e9bb6741f7e5c179e835982907d718c67b2962",
        "f6c2da2af50dce51938c0448f4d7d47ea14e83917ad098c68b5ed8d4ad3facae",
        "f0dd1d60911129745bd9da898f6073e20e367c7f8e4b31d83f65d73a7b468e42",
        "38834201172c71bdc3be9033956aca155d56bf7ad4e231230476a434668493b8",
        "4ba410d46b1172e49afe8fc85715a9ae6f2a675f86b2159956b090d1089d2296",
        "1ccf668ac75ba35ab346b82eb67512126e770d48c12944b062b5f20c63bbf8a8",
        "5dda4f747755ef433b988197bfca41b8ebf73ba754d825f0df4d41a57c4b7c4b",
        "12d1221d7c3668f554679d4b819a53296e87c3203683007fc08c8b420fb0c890",
        "216ab3aa68f229b4b3c7c13af43ca2f98ea9d7db24820cde27ad455e8b0101b0",
        "5a470ac51ad84330f6dfe12c67100f4ce5309c801007256f3bdd787ab10c17e6",
        "c8edb72fd5231723d06a57f414fddc0bb00f4cb38395d0c41f2d0344bf5cfc1a",
        "5ed1c57bde72e4fd5addd9ba498ac49770ffcabca95b162142b567a887b8f5ad",
        "babe8cbb390be525088b7e3e8b56a9862714e6731f293e2f63472f01b6dee999",
        "9e38905bb8b4582f6ce2733d49c73a8b29bc1679bb9f766cbbbaa69203e5dcdd",
        "6945b087657af84662bd48ffb9ae2999d94192556c55a8fa82ba785b460e7e9c",
        "f56b0427b85900356a87f1b61fa1d887db23756b671b3b5d47e06295489d19fb",
        "2ba43880368d180d43b64aaadd7158304bd08825092f062c9de3b5026aacccef",
        "2ff360752fa7360c41775abe119d35a7a2284fa3b0aa49fcfb59199facb914f0",
        "4cd03c463d6efa0205fe4ed133cfbaf605d0c26d4ec25a8152dc96b5a881725c",
        "7daf24e7c45ef609974651388bc12fb176f19bd214de9f4133a8915be53943d7",
        "0e02f7402362884ef0b07f25c29c31694b77e9457ae2de2e7bc6f34c30846cd0",
        "d5d304d4420634803231cc7e920aa904d6aeff9ef56afa2cc460996a938e985c",
        "f313ff0e92ad53c2b30a50461743d9a4e6d9fe5fb31ad48d76df12ad56004505"
      ]
    }
     
    Freemind likes this.
  17. jcv

    jcv Full Member
    Developer

    @Dyrk sorry for not being clearer. missedtickets is ALL missed tickets, not just yours. So you need to check that list for one of your tickets.

    Looks like one of yours,
    7daf24e7c45ef609974651388bc12fb176f19bd214de9f4133a8915be53943d7
    is there so you should do rebroadcastmissed.
     
    Dyrk likes this.
  18. ig0tik3d

    ig0tik3d New Member

    Jan 23, 2016
    23
    6
    Male
    Code:
    19:41:17 2016-01-29 [WRN] WLLT: Ticket prices not yet established because the
    client was recently connected; aborting ticket purchase attempts
    its normal or i am doing something wrong?
     
  19. Blizzy

    Blizzy Full Member

    Jan 4, 2016
    225
    109
    Male
    @davecgh Is this the same problem?

    {
    "account": "",
    "address": "Tsnb2e84u11PtwYAQ5pkg6NjJexiGQaorev",
    "amount": -10.333,
    "blockhash": "000000000017ff5d64d07554dc7a7164bcb2f6bc0365f0b2af4499df224001
    d8",
    "blocktime": 1454094935,
    "category": "send",
    "confirmations": 83,
    "fee": 0,
    "time": 1454094855,
    "timereceived": 1454094855,
    "txid": "f98858f50e6095372cf886540b54fa0d4bec9938286b4657e53fdaa543bc40a4",
    "vout": 1,
    "walletconflicts": []
    },
    {
    "account": "",
    "address": "Tsnb2e84u11PtwYAQ5pkg6NjJexiGQaorev",
    "amount": 10.333,
    "blockhash": "000000000017ff5d64d07554dc7a7164bcb2f6bc0365f0b2af4499df224001
    d8",
    "blocktime": 1454094935,
    "category": "receive",
    "confirmations": 83,
    "time": 1454094855,
    "timereceived": 1454094855,
    "txid": "f98858f50e6095372cf886540b54fa0d4bec9938286b4657e53fdaa543bc40a4",
    "vout": 1,
    "walletconflicts": []
    }
     
  20. M:T

    M:T New Member

    Jan 29, 2016
    7
    2
    Male
    #100 M:T, Jan 29, 2016
    Last edited: Jan 29, 2016
    What happened here?

    EDIT: I see it was a REORGANIZE event.
     

Share This Page