• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

listunspent transactions doesn't include masternode accounts?

libertyzeal

New member
I was playing with Dash-QT and wrote a short python script to group all my unspent by address and I noticed that the Dash I have assigned to a masternode doesn't show up in the unspents, but is still reflected by getBalance, how exactly does getBalance work and why doesn't that 1k show up as unspent?

Just curious?
 
Locked coins are excluded from `AvailableCoins` which is used by `listunspent`. And every outpoint which matches some `masternode.conf` entry is locked by default. You can avoid that by adding `mnconflock=0` line in `dash.conf`
 
Locked coins are excluded from `AvailableCoins` which is used by `listunspent`. And every outpoint which matches some `masternode.conf` entry is locked by default. You can avoid that by adding `mnconflock=0` line in `dash.conf`

Thanks, that makes sense!
 
Back
Top