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

V12 Testing Thread

Here's what I did, it seemed to work:
1. Copy whole pastebin to txt editor
2. Use "Replace all" to change 'dashcmd' to dash-cli.
3. Copy and paste whole doc (121 lines) into Win cmd console.
4.Press Enter

Watch each of 121 votes get cast.

Edit: Oh ya, make sure there is a copy of dash.conf in your Dash user folder... same as the one for MN you're voting... it needs the rpcpassword. Or there is probly a command option to specify a datadir, but that kind of a pain in the... to use here.
Thanks to thelazier 's help, I got it. It was so cool to watch it on the screen!
Thanks so much, thelazier :smile:

upload_2015-7-7_3-29-32.png
 
While not terribly active, I am testing. Nothing terribly exciting, just that everything seems dandy on Windows 10 RC, but I'm deleting the bloody thing. It's a complete system hog under VM on my very current macbook pro.

Do have some catching up to get up to speed with you guys!
 
So, in case someone wonders about the myriads of proposal submissions: It's me :)

I think that it may be a good idea to restrict the number of active proposals per MN/vin - otherwise we'll have a attack vector for a DDoS on the masternodes. Currently 'mnbudget show' takes 25 seconds for me, i wonder how much proposals the system is capable to handle :D
 
So, in case someone wonders about the myriads of proposal submissions: It's me :)
I think that it may be a good idea to restrict the number of active proposals per MN/vin - otherwise we'll have a attack vector for a DDoS on the masternodes. Currently 'mnbudget show' takes 25 seconds for me, i wonder how much proposals the system is capable to handle :D

I am almost at the spec. limit already with this many, the system hangs for some time.
This happens at the end of mnbudget show,

upload_2015-7-7_17-41-6.png
 
Last edited by a moderator:
So, in case someone wonders about the myriads of proposal submissions: It's me :)

I think that it may be a good idea to restrict the number of active proposals per MN/vin - otherwise we'll have a attack vector for a DDoS on the masternodes. Currently 'mnbudget show' takes 25 seconds for me, i wonder how much proposals the system is capable to handle :D

i had the same problem at some point (mnbudget show command taking longer to execute) but that disappeared when i did a bootstrap rebuild with a new wallet version,
i just did one to get the blockchain synced correctly again for latest version v0.12.0.10-10ad242 and the command mnbudget show is not showing any delay.

Could it be stored in the debug console memory somehow, meaning the more you use that command the slower that debug console gets ?
Or maybe its the new wallet version overwriting the old one that refreshes the debug console's memory ?
By the way : is there a command to clear the debug console history, ?

Edit : i tried the command mnbudget show for a second time in that same debug console and now i hang for some time too .. maybe its taxing the memory.
 
Last edited by a moderator:
i had the same problem at some point (mnbudget show command taking longer to execute) but that disappeared when i did a bootstrap rebuild with a new wallet version,
i just did one to get the blockchain synced correctly again for latest version v0.12.0.10-10ad242 and the command mnbudget show is not showing any delay.

Could it be stored in the debug console memory somehow, meaning the more you use that command the slower that debug console gets ?
Or maybe its the new wallet version overwriting the old one that refreshes the debug console's memory ?
By the way : is there a command to clear the debug console history, ?

Edit : i tried the command mnbudget show for a second time in that same debug console and now i hang for some time too .. maybe its taxing the memory.

I think it takes ages to sync the budget proposal list at the moment - there are currently >13.000 entries in there, and my local QT wallet only shows 100 atm and counting...

EDIT: Now i've got 31Mb of proposal data and my QT freezes on 'mnbudget show' for several seconds
 
Last edited by a moderator:
I think it takes ages at the moment to sync the budget proposal list - there are currently >13.000 entries in there, and my local QT wallet only shows 100 atm and counting...

Damn 13000 entries ? i had no idea you guys were stress-testing with those kind of numbers, but the end-result does seem to be that it overloads the qt's debug console, making it sluggish and slow to work with (i tried it a third time after restarting the wallet, its indeed getting increasingly more slow)
 
Damn 13000 entries ? i had no idea you guys were stress-testing with those kind of numbers, but the end-result does seem to be that it overloads the qt's debug console, making it sluggish and slow to work with (i tried it a third time after restarting the wallet, its indeed getting increasingly more slow)
Code:
#!/bin/bash
        for j in `seq $1 $2`;
        do
        printf -v i "%04d" $j

                echo $i

        KEY=`dash-cli getnewaddress spam`
        echo $KEY

        dash-cli mnbudget vote proposal-flare$i http://www.dashpay.io/$i.json 50 79000 $KEY 500 yes
        sleep 5
        done

Code:
./spam 0 10000
 
I'm just popping in to say the newest version seems to be functioning for me :)
We can easily fix this in next build! :grin:
Code:
#!/bin/bash
        for j in `seq $1 $2`;
        do
        printf -v i "%04d" $j

                echo $i

        KEY=`dash-cli getnewaddress spam`
        echo $KEY

        dash-cli mnbudget vote proposal-flare$i http://www.dashpay.io/$i.json 50 79000 $KEY 500 yes
        sleep 5
        done

Code:
./spam 0 10000
Haha, nice!
btw I was (also secretly :wink:) doing smth like this but in a pretty dumb manner even before it became mainstream :grin:
Code:
i=1; while true; do dash_testnet-cli -conf=/root/.dash/dash-testnet.conf mnbudget vote proposal-qwizzie-$i http://www.dashpay.io/one$i.json $i $((78000+i*50)) y5WWMBMxHsL5xmscwAyxUf2vfwMX58pprA $i yes; i=$((i+1)); echo $i; sleep 1; done
sorry qwizzie for using your proposal as a reference :smile:

Disclaimer: I'm not perfectly follow what Evan is doing in budgets part so I might miss smth
With that ^^^^ being said:
I was thinking of ways to stop this and restricting MNs to send proposals doesn't sound like a good idea, we need to stop actual proposal submitters from spamming in the first place imo. So here what I got in my thoughts so far:
1. proposal tx (ptx): one should spend 0.01 whatever amount from proposal address paying proposal_fee as a tx fee confirming that (s)he has access to this wallet and effectively paying the network for service some collateral to prevent spam (proposal_fee could be some % of proposal amount but not less then 1DASH for example)
2. submit proposal (include ptx txid:eek:ut as a part of it) signing it with private key that corresponds to the same proposal address (this now must be done from submitter's normal wallet, no need for MN in that case which is absolutely nice imo)
3. network can now say if this proposal is legit by simply verifying that:
- proposal signature match proposal address
- ptx is confirmed (N required confirmations?) and the right fee was payed
and store proposals by hash.
4. to update proposal (s)he needs to create another ptx, proposals with the same ptx should not be allowed - in case there are two of them the one with the earliest valid sig wins and the older one is rejected (applying some ban score to that node (submitter's wallet) to prevent CPU usage attack on network)
5. MNs/MNers should vote by hash to avoid confusions

Feel free to find weak points and reap it apart :cool:
eduffield crowning

EDIT: no need in 0.01, spend whatever you want and ptx should be valid as long as you pay proposal_fee
 
Last edited by a moderator:
Also is it just me or does anyone else feel that a 1 month time frame for proposals might be too quick. I'm watching how long we have worked on testnet and thinking to myself how is anyone going to pull off a massive project in under 30 days? I guess there isn't a specific setting saying the proposal has to be done but if we have a ton of proposals going out and never getting finished it might be a major pita. I wonder if Quarterly would be better?

Also what about doing an actual live dry run on mainnet before we actually open up the proposals. I was thinking we do a multisig wallet and actually do some real world testing voting for that proposal live on mainnet trying to stop us from having another "instamine" fiasco.

I'm also seeing a lot of moving parts and don't want to see this release rushed out to mainnet like some others have in the past just to see 5 more updates on launch day. It's great that we are just taking our time under no major constraints and just working to get this all right.
 
Last edited by a moderator:
...about proposal SPAMMING prevention...

Proposals are (more or less, permanent payments to the developer of your choice excluded) DASH projects. Valid projects run (including proposal and voting delay) in the order of weeks minimum.

We have about 2700 Masternodes. If each Masternode creates only 1 proposal, and the resulting projects run only 2 weeks average (that's optimistic, with discussion and voting it's easily 4 weeks minimum) we're talking about 5400 weeks, that's more than 100 years. Divide this by the number of developers and we'll have enough work for the rest of our lives.

My proposal :grin: to prevent SPAM/DoS is to allow each Masternode to create exactly one single proposal in its lifetime.

If someone REALLY wants/needs to create a second proposal he can move the 1000 DASH vin to a different address and create it from this new Masternode.
Minimum delay are the confirmations for the Masternode, which we already have in place.

Discuss!
 
Proposals are (more or less, permanent payments to the developer of your choice excluded) DASH projects. Valid projects run (including proposal and voting delay) in the order of weeks minimum.

We have about 2700 Masternodes. If each Masternode creates only 1 proposal, and the resulting projects run only 2 weeks average (that's optimistic, with discussion and voting it's easily 4 weeks minimum) we're talking about 5400 weeks, that's more than 100 years. Divide this by the number of developers and we'll have enough work for the rest of our lives.

My proposal :grin: to prevent SPAM/DoS is to allow each Masternode to create exactly one single proposal in its lifetime.

If someone REALLY wants/needs to create a second proposal he can move the 1000 DASH vin to a different address and create it from this new Masternode.
Minimum delay are the confirmations for the Masternode, which we already have in place.

Discuss!
Exactly what i was thinking: use the same mechanism which limits the number of masternodes - it has proven to work since 1+ year now :)

"One vin, one vote, one proposal"
 
Exactly what i was thinking: use the same mechanism which limits the number of masternodes - it has proven to work since 1+ year now :)

"One vin, one vote, one proposal"
Some musings,

Is there a way of creating a useable proposal VIN on a fresh wallet startup and sync (without a masternode) ?
When released, the VIN is canceled on the local machine somehow, so if the user wants to suggest another project he must delete the whole folder and reinstall and sync again before he can re-propose.
Also to stop spam, make a small charge of say 0.1 - 1 dash to enable the vote from any wallet.

If you go down the 1 masternode per proposal route, what about masternode holders selling off their proposal rights for a small price to enable people without a node to suggest a project (The price could be ball parked at 0.1 Dash, but masternode holders would do it for nothing if they liked the idea)
Again, only 1 idea per masternode (unless VIN address changed like Crowning says) but has the added fruity bonus that the masternode has a little bit of extra value, now it can propose new projects..
 
why not have "milestones" within projects? You can have say like 4 milestones in a project, once a milestone is completed, the funds/dash are released.

Exactly. But it's hard because the way the system works now is the project gets paid on a schedule unless/until enough masternodes vote to cut them off. It won't be a nimble system but it does keep the funds untouched by anyone else, so they don't get involved in taxes or responsibility (hopefully)

But if there were a way to do this, it would be perfect. We originally wanted to have an entity that watched over and approved payments, but that made them vulnerable. It's a sticky situation.
 
Exactly what i was thinking: use the same mechanism which limits the number of masternodes - it has proven to work since 1+ year now :)

"One vin, one vote, one proposal"
Wait, is this turning into a system where only masternode owners can propose projects / hence only masternode owners get to work for DASH? What about outside people? That's what we're trying to get; outside talent. I thought, at least for now, masternode owners would simply be asked to insert a proposal for projects on behalf of talent. I thought that was pretty hard already because proposals should be in the control of the talent, after all, the proposal ends up being his contract. This creates gate keepers already, in that they have to convince someone to enter their proposal in the first place. Not every masternode owner will be inclined to spend the time to do this for people. Or be able to, as they may not have time.

If it's possible, I think it would be better if proposals expire after a month or two. If they're not accepted by then, they will have lost steam anyway, and the contractor proposing the project will likely have moved on already.
 
So, in case someone wonders about the myriads of proposal submissions: It's me :)

I think that it may be a good idea to restrict the number of active proposals per MN/vin - otherwise we'll have a attack vector for a DDoS on the masternodes. Currently 'mnbudget show' takes 25 seconds for me, i wonder how much proposals the system is capable to handle :D
I knew you were up to something when I had to down vote your many "flarexxxx" proposals... lol :tongue::grin:
 
Back
Top