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
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
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
eduffield crowning
EDIT: no need in 0.01, spend whatever you want and ptx should be valid as long as you pay proposal_fee