Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

darkcoin-qt lockunspent and listlockunspent function

Discussion in 'Daemon and QT Wallet Guides' started by drkrooster, Dec 29, 2014.

  1. drkrooster

    drkrooster Member

    Joined:
    Dec 26, 2014
    Messages:
    61
    Likes Received:
    29
    Trophy Points:
    58
    Hi,

    I have tried help in darkcoin-qt console but failed to understand how to use lockunspent and listlockunspent

    as I understand, I can use "lockunspent" to lock my unspent darkcoin, so that when I send out drk coins, these particular input would not be used to sent out coins.

    after I lock it, i should be able to see those locked input by using listlockunspent.
    and I can unlock using lockunspent.

    But i do not see any example on this. Anyone can advise on this? Thanks
     
  2. drkrooster

    drkrooster Member

    Joined:
    Dec 26, 2014
    Messages:
    61
    Likes Received:
    29
    Trophy Points:
    58
  3. oblox

    oblox Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,032
    Likes Received:
    537
    Trophy Points:
    183
    Any reason why you don't enable coin control and then go into it via the send tab (inputs), select list and select which inputs you want to use and/or lock (right click).
     
    • Like Like x 2
  4. drkrooster

    drkrooster Member

    Joined:
    Dec 26, 2014
    Messages:
    61
    Likes Received:
    29
    Trophy Points:
    58
    Thanks! I didn't know there is a coin control feature .
     
  5. GreyGhost

    GreyGhost Well-known Member
    Foundation Member

    Joined:
    Jun 4, 2014
    Messages:
    303
    Likes Received:
    556
    Trophy Points:
    263
    Is there a list of Debug Console commands, with an explanation for a n00b what they mean / do?
     
  6. UdjinM6

    UdjinM6 Official Dash Dev
    Dash Core Team Moderator

    Joined:
    May 20, 2014
    Messages:
    3,637
    Likes Received:
    3,536
    Trophy Points:
    1,183
    most of them are listed here https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
    you can also open "Tools" -> "Console" and type "help" to get the list, pick one and type "help yourcommandhere" like "help lockunspent" to get more info on that particular one

    PS. Note to myself: need more extended help messages on darkcoin specific commands :rolleyes:
     
    • Like Like x 1
  7. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,573
    Likes Received:
    1,652
    Trophy Points:
    1,283
    yeah also got that one on my never ending list...
     
  8. GreyGhost

    GreyGhost Well-known Member
    Foundation Member

    Joined:
    Jun 4, 2014
    Messages:
    303
    Likes Received:
    556
    Trophy Points:
    263
    Thank you guys!!