Post
Topic
Board Announcements (Altcoins)
Re: [ANN][DASH] Dash | First Anonymous Coin | Inventor of X11, DGW, Darksend and InstantX
by
moocowmoo
on 21/10/2015, 00:01:20 UTC
dashman v0.1.12 released
Nice work!  Great feature.


Thanks.  Somebody was asking in irc and I came up with this qnd command that shows the nodes eligible for current-block selection:

Code:
MASTERNODE_LIST=$(dash-cli masternode list full | egrep '[a-f0-9]' | grep ENABLED); MASTERNODE_COUNT=$(echo "$MASTERNODE_LIST" | wc -l) ; TEN_PCT=$(( $MASTERNODE_COUNT / 10 )); echo "$MASTERNODE_LIST" | sort -n -r -k10 | tail -$TEN_PCT

Once I understood the queue processing, adding it to dashman was trivial

---

Here's the code that handles the payment queue selection:
https://github.com/dashpay/dash/blob/master/src/masternode.cpp#L151-L179 and
https://github.com/dashpay/dash/blob/master/src/masternodeman.cpp#L435-L498

And, the high-level breakdown of above:
(read the comments for a bit more information)

Nicely done Evan!

---

Now that Rango just added the staggered voting after you previously released with Dashman, I see you are trying to one up each other on features.  Lol.


Psst....Dashwhale just added an automatic restart feature.


Not really. Were just attacking the same problems from two different sides. (His a service, mine a toolchain.)
That voting timestamp association had to go!

And, yes, automatic restarting using monit is something I've got on the roadmap.