Bitcoin Forum
May 23, 2024, 07:48:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 [4879] 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 ... 7012 »
  Print  
Author Topic: [ANN][DASH] Dash (dash.org) | First Self-Funding Self-Governing Crypto Currency  (Read 9722549 times)
Propulsion
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


The Buck Stops Here.


View Profile
June 07, 2015, 11:45:39 PM
 #97561

Code:
cat << EOF

         PLEASE FEEL FREE TO DONATE TO THE FOLLOWING DASH ADDRESS

                   XexrpL5LWdtzkDRspikBqR5Ue1Kt3zyduv

              *33% OF ALL DONATIONS WILL GO TO fuzzyduck
              *33% OF ALL DONATIONS WILL GO TO moocowmoo

EOF


exit;


So where's the other 33% go?  Wink
moocowmoo
Sr. Member
****
Offline Offline

Activity: 263
Merit: 250


bovine quadruped, professional loafer, dash dev


View Profile WWW
June 08, 2015, 12:29:54 AM
 #97562

Full code UPDATED and corrected

Code:
..snip..
MNIP=`wget -qO- http://ipecho.net/plain ; echo | awk "{print \\$2}" | sed -e 's/addr://' | tr "\n" " "`;
..snip..

using that external service to find your public ip, you can just do:

Code:
MNIP=`wget -qO- http://ipecho.net/plain`;

the first version grep/awk/sed/tr is just to turn this:

Code:
eth0      Link encap:Ethernet  HWaddr 04:01:01:01:01:01
          inet addr:123.123.123.123  Bcast:123.123.255.255  Mask:255.255.240.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:91880942 errors:0 dropped:0 overruns:0 frame:0
          TX packets:92742293 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:27872062075 (27.8 GB)  TX bytes:21024386448 (21.0 GB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:281369293 errors:0 dropped:0 overruns:0 frame:0
          TX packets:281369293 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:16196504605 (16.1 GB)  TX bytes:16196504605 (16.1 GB)

into this

Code:
123.123.123.123

Most systems will have wget, so should work fine for hosted masternodes as well.

And, thanks for the donation plug. I appreciate it!

tips: XmoocowYfrPKUR6p6M5aJZdVntQe71irCX | identity: https://keybase.io/moocowmoo
service: https://masternode.me -- The first automated masternode service. Ugly website, stellar uptimes and hands-on support. Over 150 nodes with 300+ days uptime!
hack_
Hero Member
*****
Offline Offline

Activity: 501
Merit: 503


View Profile
June 08, 2015, 12:44:20 AM
 #97563

if the best ten alt devs sat down and made a coin....
MemoryShock
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


View Profile
June 08, 2015, 01:11:22 AM
 #97564

Looking forward to awesome things here...Smiley

██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
  I/O DIGITAL
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
iodigital.io & iocoin.io

█████████████████
███████████████████
████████▌████████▐████
███████████████████████
████████████████████████
█████▌██████████████▐███
█████▌██████████████▐███
█████▌██████████████▐███
████████████████████████
███████████████████████
████████▌████████▐████
███████████████████
█████████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
tungfa
Legendary
*
Offline Offline

Activity: 1834
Merit: 1023


View Profile
June 08, 2015, 02:22:51 AM
 #97565

Hope you had a good weekend
 Grin
moocowmoo
Sr. Member
****
Offline Offline

Activity: 263
Merit: 250


bovine quadruped, professional loafer, dash dev


View Profile WWW
June 08, 2015, 04:13:28 AM
Last edit: June 08, 2015, 04:42:01 AM by moocowmoo
 #97566

More node status script hacking.

Hope it proves useful/instructional to somebody.

Also put it on github https://github.com/moocowmoo/check_mn_health

Enjoy!



Code:
#!/bin/bash

# simple masternode health checker
# run on masternode
# moocowmoo -- moocowmoo@masternode.me -- XmoocowYfrPKUR6p6M5aJZdVntQe71irCX

# -----

C_RED="\e[31m";
C_YELLOW="\e[33m";
C_GREEN="\e[32m";
C_NORM="\e[0m";

# -----

DASH_CLI=''
if   [ -e ./dash-cli ];          then DASH_CLI='./dash-cli';
elif [ -e ~/.dash/dash-cli ] ;   then DASH_CLI='~/.dash/dash-cli';
elif [ ! -z `which dash-cli` ] ; then DASH_CLI=`which dash-cli`;
fi
if [ -z $DASH_CLI ]; then
    echo "cannot find dash-cli in current directory, ~/.dash, or \$PATH";
    exit;
fi

echo -en "${C_YELLOW}collecting info... ";

# -----

DASH_RUNNING=`ps --no-header \`cat ~/.dash/dashd.pid\` | wc -l`;
DASH_LISTENING=`netstat -nat | grep LIST | grep 9999 | wc -l`;
DASH_CONNECTIONS=`netstat -nat | grep ESTA | grep 9999 | wc -l`;
DASH_CURRENT_BLOCK=`$DASH_CLI getblockcount`;
DASH_GETINFO=`$DASH_CLI getinfo`;

# -----

WEB_MNIP=`wget -qO- http://ipecho.net/plain`;
WEB_BLOCK_COUNT=`wget -qO- https://chainz.cryptoid.info/dash/api.dws?q=getblockcount`;

# -----

DASH_MN_STARTED=`$DASH_CLI masternode debug | grep started | wc -l`
DASH_MN_VISIBLE=`$DASH_CLI masternode list | grep $WEB_MNIP | wc -l`
DASH_MN_LIST=`$DASH_CLI masternode list`
DASH_MN_POSE=`$DASH_CLI masternode list pose  | grep $WEB_MNIP | awk '{print $3}' | sed 's/[^0-9]//g'`
DASH_MN_VOTES=`$DASH_CLI masternode list votes`

# -----

if [ $(($WEB_BLOCK_COUNT - 2)) -lt $DASH_CURRENT_BLOCK ]; then
    DASH_CURRENT=1
fi

if [ $DASH_MN_POSE -lt 2 ]; then
    DASH_MN_HEALTHY=1
fi

DASH_MN_ENABLED=$(echo "$DASH_MN_LIST" | grep -c ENABLED)
DASH_MN_UNHEALTHY=$(echo "$DASH_MN_LIST" | grep -c POS_ERROR)
DASH_MN_EXPIRED=$(echo "$DASH_MN_LIST" | grep -c EXPIRED)
DASH_MN_TOTAL=$(( $DASH_MN_ENABLED + $DASH_MN_UNHEALTHY ))

DASH_VERSION="v"$(echo "$DASH_GETINFO" | grep '"version' | sed -e 's/[^0-9]//g' | sed -e 's/\(..\)/\1\./g' | sed -e 's/\.$//')

echo -e "${C_GREEN}DONE${C_NORM}"

# -----

TEXT_RUNNING="${C_RED}NOT-RUNNING${C_NORM}";
TEXT_LISTENING="${C_RED}NOT-LISTENING${C_NORM}";
TEXT_CURRENT="${C_RED}NOT-SYNCED${C_NORM}";
TEXT_ENABLED="${C_RED}NOT-STARTED${C_NORM}";
TEXT_VISIBLE="${C_RED}NOT-VISIBLE${C_NORM}";
TEXT_HEALTHY="${C_RED}NOT-HEALTHY${C_NORM}";

if [ $DASH_RUNNING   -gt 0 ]; then TEXT_RUNNING="${C_GREEN}RUNNING${C_NORM}"; fi
if [ $DASH_LISTENING -gt 0 ]; then TEXT_LISTENING="${C_GREEN}LISTENING${C_NORM}"; fi
if [ $DASH_CURRENT   -gt 0 ]; then TEXT_CURRENT="${C_GREEN}CURRENT${C_NORM}"; fi

if [ $DASH_MN_STARTED -gt 0 ]; then TEXT_ENABLED="${C_GREEN}STARTED${C_NORM}"; fi
if [ $DASH_MN_VISIBLE -gt 0 ]; then TEXT_VISIBLE="${C_GREEN}VISIBLE${C_NORM}"; fi
if [ $DASH_MN_HEALTHY -gt 0 ]; then TEXT_HEALTHY="${C_GREEN}HEALTHY${C_NORM}"; fi

# -----

echo -e "\n ----"

echo -e "      dashd: $TEXT_RUNNING $TEXT_LISTENING $TEXT_CURRENT"
echo -e " masternode: $TEXT_ENABLED $TEXT_VISIBLE   $TEXT_HEALTHY"

echo -e " ----"

echo "   instance information"
echo "     IP Address         $WEB_MNIP"
echo "     dashd version      $DASH_VERSION"
echo "     dashd connections  $DASH_CONNECTIONS"
echo "     service score      $DASH_MN_POSE"
echo "     dashd last block   $DASH_CURRENT_BLOCK"
echo "     chainz last block  $WEB_BLOCK_COUNT"
echo "     masternode total   $DASH_MN_TOTAL"
echo "     masternode healthy $DASH_MN_ENABLED"

echo -e " ----"

echo "   current vote counts"
echo "                   YEA: $(echo "$DASH_MN_VOTES" | grep -c YEA)"
echo "                   NAY: $(echo "$DASH_MN_VOTES" | grep -c NAY)"
echo "               ABSTAIN: $(echo "$DASH_MN_VOTES" | grep -c ABSTAIN)"
echo "             this vote: $(echo "$DASH_MN_VOTES" | grep $WEB_MNIP | awk '{print $3}' | sed -e 's/[",]//g')"

# -----

exit;


tips: XmoocowYfrPKUR6p6M5aJZdVntQe71irCX | identity: https://keybase.io/moocowmoo
service: https://masternode.me -- The first automated masternode service. Ugly website, stellar uptimes and hands-on support. Over 150 nodes with 300+ days uptime!
fuzzyduck
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
June 08, 2015, 06:21:40 AM
 #97567

More node status script hacking.

Hope it proves useful/instructional to somebody.

Also put it on github https://github.com/moocowmoo/check_mn_health

Enjoy!



Code:
#!/bin/bash

# simple masternode health checker
# run on masternode
# moocowmoo -- moocowmoo@masternode.me -- XmoocowYfrPKUR6p6M5aJZdVntQe71irCX

# -----

C_RED="\e[31m";
C_YELLOW="\e[33m";
C_GREEN="\e[32m";
C_NORM="\e[0m";

# -----

DASH_CLI=''
if   [ -e ./dash-cli ];          then DASH_CLI='./dash-cli';
elif [ -e ~/.dash/dash-cli ] ;   then DASH_CLI='~/.dash/dash-cli';
elif [ ! -z `which dash-cli` ] ; then DASH_CLI=`which dash-cli`;
fi
if [ -z $DASH_CLI ]; then
    echo "cannot find dash-cli in current directory, ~/.dash, or \$PATH";
    exit;
fi

echo -en "${C_YELLOW}collecting info... ";

# -----

DASH_RUNNING=`ps --no-header \`cat ~/.dash/dashd.pid\` | wc -l`;
DASH_LISTENING=`netstat -nat | grep LIST | grep 9999 | wc -l`;
DASH_CONNECTIONS=`netstat -nat | grep ESTA | grep 9999 | wc -l`;
DASH_CURRENT_BLOCK=`$DASH_CLI getblockcount`;
DASH_GETINFO=`$DASH_CLI getinfo`;

# -----

WEB_MNIP=`wget -qO- http://ipecho.net/plain`;
WEB_BLOCK_COUNT=`wget -qO- https://chainz.cryptoid.info/dash/api.dws?q=getblockcount`;

# -----

DASH_MN_STARTED=`$DASH_CLI masternode debug | grep started | wc -l`
DASH_MN_VISIBLE=`$DASH_CLI masternode list | grep $WEB_MNIP | wc -l`
DASH_MN_LIST=`$DASH_CLI masternode list`
DASH_MN_POSE=`$DASH_CLI masternode list pose  | grep $WEB_MNIP | awk '{print $3}' | sed 's/[^0-9]//g'`
DASH_MN_VOTES=`$DASH_CLI masternode list votes`

# -----

if [ $(($WEB_BLOCK_COUNT - 2)) -lt $DASH_CURRENT_BLOCK ]; then
    DASH_CURRENT=1
fi

if [ $DASH_MN_POSE -lt 2 ]; then
    DASH_MN_HEALTHY=1
fi

DASH_MN_ENABLED=$(echo "$DASH_MN_LIST" | grep -c ENABLED)
DASH_MN_UNHEALTHY=$(echo "$DASH_MN_LIST" | grep -c POS_ERROR)
DASH_MN_EXPIRED=$(echo "$DASH_MN_LIST" | grep -c EXPIRED)
DASH_MN_TOTAL=$(( $DASH_MN_ENABLED + $DASH_MN_UNHEALTHY ))

DASH_VERSION="v"$(echo "$DASH_GETINFO" | grep '"version' | sed -e 's/[^0-9]//g' | sed -e 's/\(..\)/\1\./g' | sed -e 's/\.$//')

echo -e "${C_GREEN}DONE${C_NORM}"

# -----

TEXT_RUNNING="${C_RED}NOT-RUNNING${C_NORM}";
TEXT_LISTENING="${C_RED}NOT-LISTENING${C_NORM}";
TEXT_CURRENT="${C_RED}NOT-SYNCED${C_NORM}";
TEXT_ENABLED="${C_RED}NOT-STARTED${C_NORM}";
TEXT_VISIBLE="${C_RED}NOT-VISIBLE${C_NORM}";
TEXT_HEALTHY="${C_RED}NOT-HEALTHY${C_NORM}";

if [ $DASH_RUNNING   -gt 0 ]; then TEXT_RUNNING="${C_GREEN}RUNNING${C_NORM}"; fi
if [ $DASH_LISTENING -gt 0 ]; then TEXT_LISTENING="${C_GREEN}LISTENING${C_NORM}"; fi
if [ $DASH_CURRENT   -gt 0 ]; then TEXT_CURRENT="${C_GREEN}CURRENT${C_NORM}"; fi

if [ $DASH_MN_STARTED -gt 0 ]; then TEXT_ENABLED="${C_GREEN}STARTED${C_NORM}"; fi
if [ $DASH_MN_VISIBLE -gt 0 ]; then TEXT_VISIBLE="${C_GREEN}VISIBLE${C_NORM}"; fi
if [ $DASH_MN_HEALTHY -gt 0 ]; then TEXT_HEALTHY="${C_GREEN}HEALTHY${C_NORM}"; fi

# -----

echo -e "\n ----"

echo -e "      dashd: $TEXT_RUNNING $TEXT_LISTENING $TEXT_CURRENT"
echo -e " masternode: $TEXT_ENABLED $TEXT_VISIBLE   $TEXT_HEALTHY"

echo -e " ----"

echo "   instance information"
echo "     IP Address         $WEB_MNIP"
echo "     dashd version      $DASH_VERSION"
echo "     dashd connections  $DASH_CONNECTIONS"
echo "     service score      $DASH_MN_POSE"
echo "     dashd last block   $DASH_CURRENT_BLOCK"
echo "     chainz last block  $WEB_BLOCK_COUNT"
echo "     masternode total   $DASH_MN_TOTAL"
echo "     masternode healthy $DASH_MN_ENABLED"

echo -e " ----"

echo "   current vote counts"
echo "                   YEA: $(echo "$DASH_MN_VOTES" | grep -c YEA)"
echo "                   NAY: $(echo "$DASH_MN_VOTES" | grep -c NAY)"
echo "               ABSTAIN: $(echo "$DASH_MN_VOTES" | grep -c ABSTAIN)"
echo "             this vote: $(echo "$DASH_MN_VOTES" | grep $WEB_MNIP | awk '{print $3}' | sed -e 's/[",]//g')"

# -----

exit;



love it :-)

Haha, what my crappy simple little stupid script can lead to!  Excellent work!

Run a masternode on a raspberry pi 2 @home! Follow my noobfriendly tutorial @ https://dashtalk.org/threads/masternode-on-raspberry-pi-2-model-b.4083
Sub-Ether
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


Quantum entangled and jump drive assisted messages


View Profile
June 08, 2015, 07:07:14 AM
 #97568

love it :-)

Haha, what my crappy simple little stupid script can lead to!  Excellent work!

I enjoy watching you all work together, keep it up  Cool

Dash is 27.3 times faster with syncing and updating than Bitcoin and 93.7 times faster than Monero. Bitcoin (v0.11.0) has a Tao ratio 11.2% faster than bitcoin (v0.10.0) release.
Dash (v.0.12.0.49) = Tao sync ratio = 0.15 seconds / hour of update || Dash (v.0.11.2.23) = Tao sync ratio = 0.24 seconds / hour of update. V12 versus V11 speedup = +36.5%
Bitcoin (v.0.11.0) = Tao sync ratio = 4.14 seconds / hour of update || Monero (v.0.41.1)  = Tao sync ratio = 14.2 seconds / hour of update
Sub-Ether
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


Quantum entangled and jump drive assisted messages


View Profile
June 08, 2015, 07:33:15 AM
 #97569

For god sakes, can someone dump please ?
I dare you, go on ...

Dash is 27.3 times faster with syncing and updating than Bitcoin and 93.7 times faster than Monero. Bitcoin (v0.11.0) has a Tao ratio 11.2% faster than bitcoin (v0.10.0) release.
Dash (v.0.12.0.49) = Tao sync ratio = 0.15 seconds / hour of update || Dash (v.0.11.2.23) = Tao sync ratio = 0.24 seconds / hour of update. V12 versus V11 speedup = +36.5%
Bitcoin (v.0.11.0) = Tao sync ratio = 4.14 seconds / hour of update || Monero (v.0.41.1)  = Tao sync ratio = 14.2 seconds / hour of update
Sapereaude
Full Member
***
Offline Offline

Activity: 163
Merit: 100



View Profile
June 08, 2015, 08:18:28 AM
 #97570

For god sakes, can someone dump please ?
I dare you, go on ...

Cmon, get serious you need to at least double dare them.
Sub-Ether
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


Quantum entangled and jump drive assisted messages


View Profile
June 08, 2015, 09:02:26 AM
 #97571

For god sakes, can someone dump please ?
I dare you, go on ...

Cmon, get serious you need to at least double dare them.


I was saving some ammo, one nudge at a time Grin

This is how the opposition do it,
http://www.theguardian.com/public-leaders-network/2014/jun/01/nudge-unit-behavioural-insights-team-conference

Dash is 27.3 times faster with syncing and updating than Bitcoin and 93.7 times faster than Monero. Bitcoin (v0.11.0) has a Tao ratio 11.2% faster than bitcoin (v0.10.0) release.
Dash (v.0.12.0.49) = Tao sync ratio = 0.15 seconds / hour of update || Dash (v.0.11.2.23) = Tao sync ratio = 0.24 seconds / hour of update. V12 versus V11 speedup = +36.5%
Bitcoin (v.0.11.0) = Tao sync ratio = 4.14 seconds / hour of update || Monero (v.0.41.1)  = Tao sync ratio = 14.2 seconds / hour of update
toknormal
Legendary
*
Offline Offline

Activity: 3066
Merit: 1188


View Profile
June 08, 2015, 03:02:27 PM
Last edit: June 08, 2015, 05:21:59 PM by toknormal
 #97572


*********** Amber Alert ************

 • Dash market consolidation beginning to establish itself with creeping certainty.

 • Ask liquidity thinning out on all exchanges, Finnex indicating only 3-digit supply up to 15.

 • Strengthening long-term cup & handle signal crystallising with each passing week.

 • Project fundamentals now well beyond "living room hobby zone" and into industrial territory with the arrival of decentralized governance by blockchain, multilingual expansion, strategic brand diffusion into Russia & China, ongoing mobile infrastructure development and the consolidation of the masternode network, now well on the way to 3000 full nodes

• Project has successfully fielded a sustained troll attack of 5 month duration which had as much impact as a fried egg launched at a nuclear submarine because Dash has won the arguments that endorse its technical policies and priorities

• Project has successfully fielded competitive pumps of up to 100% in an attempt to suppress relative marketcap which simply sprang straight back into place due to by now well compressed value and market buoyancy

All indicators and fundamentals starting to look interesting.


Kienbui
Sr. Member
****
Offline Offline

Activity: 478
Merit: 250


View Profile
June 08, 2015, 04:13:08 PM
 #97573

Will we have Dash wallet for iOS on the time of releasing the iOS 9?
Lebubar
Legendary
*
Offline Offline

Activity: 1288
Merit: 1000



View Profile
June 08, 2015, 04:14:06 PM
Last edit: June 08, 2015, 05:00:43 PM by Lebubar
 #97574

I love yours -Amber Alerts- but this one even much more...
pille
Sr. Member
****
Offline Offline

Activity: 436
Merit: 250



View Profile
June 08, 2015, 04:42:26 PM
 #97575

last block 36 min ago, whooot?

edit: we are back on track
fernando
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


View Profile
June 08, 2015, 07:34:38 PM
 #97576

last block 36 min ago, whooot?

edit: we are back on track

variance is a bitch!
Minotaur26
Legendary
*
Offline Offline

Activity: 1092
Merit: 1000


View Profile
June 08, 2015, 07:39:07 PM
 #97577

Quorum Based Masternode Payment System – Eliminating the reference node

Dash v12 promises to include the first fully decentralized full node incentive system that will pay in a regular and fair way to all participating full nodes on the Dash network. This means there will no longer be a reference node that helps the network pay the correct masternode and keep the payments regular for everyone.  
I thought we should take a moment and think about how far we have come, regular payment decentralization has been maybe the hardest issue to tackle and represents the crowning of the Dash model. It means you can finally have a two tier network that is self-sustainable and that incentivizes participants in a fair way.  
When we first started dealing with this issue we had two fork events that were both traumatic but also very educational for the development team and the community. Out of those events we developed the spork technique of releasing new features and mainnet data on the issues that prevented the fully decentralized payment solution to work. After that we continued with random payments that would even out over time or over a larger number of nodes but that could be an issue for people that had especially unlucky nodes. So you could have situations in which people providing the same service were not equally compensated which was an axiomatic issue for the network as that incentive model is important for the long term prospects of the project over which many services like enhanced privacy, instant transaction confirmation, scalability and transaction abbreviation are founded.

We then established a reference node that guaranteed even payments across all participants but introduced an element of centralization. Not the type of centralization that would put the network in danger, since if the reference node was taken out, the system would just go back to random payments. Nevertheless, it was clearly a pending issue, waiting to be resolved, as sustained, even and fair payments would boost investor’s confidence and consolidate the Dash model as a mature, long term viable solution to many crypto issues, e.g. confirmation times, fungibility, scalability, etc.


Quote
Description of the new  Payment process(as described by Evan):

In the new model, each block a random selection of 10 masternodes are elected to tell the network who should get paid. This is computed using the masternode input hashes for the first payment, then after a last payment is known a valid masternode with the longest wait time is selected.

Selection Algorithm:
https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternodeman.cpp#L368

Masternode Selection and Broadcast:
https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternode-payments.cpp#L460

Block Validation:
https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternode-payments.cpp#L280

Consensus disagreements are handled by the block validation code. After a period of time, the network should form complete consensus about who is supposed to get paid on which blocks. If there’s a disagreement, multiple payees per block can be valid. After the whole masternode network has been paid, only 1 payee should be valid each block. This gives us a pretty robust system that’s quorum based instead of blockchain based, so we don’t have to keep a complete history, but yet it’s just as secure.

Version 12 is currently on private testing by the core developers. Public testing should open soon, within the next two weeks.  Let’s all get together on testnet and make sure we help the dev team do a very thorough job, this version includes big and important changes for Dash. In my opinion, eliminating the reference node and implementing the decentralized management and budgeting system will open new avenues of development for Dash that no other currency has had since Bitcoin.  I am proud to be part of this project lets continue innovating and pushing forward the boundaries of digital currency.
bluebit25
Sr. Member
****
Offline Offline

Activity: 1652
Merit: 292


Eloncoin.org - Mars, here we come!


View Profile WWW
June 08, 2015, 09:32:30 PM
 #97578

My Raspberry Pi 2 is arriving this Wednesday and I'll be setting it up on the 1 external ip that I have on my home network. This is going to be a learning experience, since my background isn't in computers.

WHAT I'VE LEARNED SO FAR

- Every Masternode runs on it's own external ip and on port 9999. Most home networks only have 1 external ip, sometimes it's static but most of the time it changes. Every masternode needs to be on a static ip.

- In order to run more than 1 masternode you will need to pay for more external ips. Most Masternode owners buy these external ips from companies that can also host the masternode on their own servers. It's usually $5 per month for this service.

Questions

- I see that VPN services offer to host in many different countries. If I'm in Australia, should I look for a VPN service near me to host the masternode? Or could I host it in the USA?

- Has anyone here hosted more than 1 masternode on their home network? If so, how does it work?

- In layman terms, how does hosting a masternode on a VPN service actually work? Does my wallet on my computer always have to be connected to the internet for the masternode to see my 1000 DASH? Can I use 1 wallet to host multiple masternodes? Are VPN services reliable, do they have 100% uptime? Is it safe? Can they steal my DASH?

- I believe most masternode operators use a program called Putty to maintain/update their masternodes. Since, I'm on a mac I found this: http://brew.sh/ and http://brewformulas.org/Putty

- Is Goldenfrog a good VPN? https://www.goldenfrog.com/vyprvpn









▄▄████████▄▄
▄▄████████████████▄▄
▄██
████████████████████▄
▄███
██████████████████████▄
▄████
███████████████████████▄
███████████████████████▄
█████████████████▄███████
████████████████▄███████▀
██████████▄▄███▄██████▀
████████▄████▄█████▀▀
██████▄██████████▀
███▄▄█████
███████▄
██▄██████████████
░▄██████████████▀
▄█████████████▀
████████████
███████████▀
███████▀▀
Mars,           
here we come!
▄▄███████▄▄
▄███████████████▄
▄███████████████████▄
▄██████████
███████████
▄███████████████████████▄
█████████████████████████
█████████████████████████
█████████████████████████
▀█
██████████████████████▀
▀██
███████████████████▀
▀███████████████████▀
▀█████████
██████▀
▀▀███████▀▀
ElonCoin.org.
████████▄▄███████▄▄
███████▄████████████▌
██████▐██▀███████▀▀██
███████████████████▐█▌
████▄▄▄▄▄▄▄▄▄▄██▄▄▄▄▄
███▐███▀▄█▄█▀▀█▄█▄▀
███████████████████
█████████████▄████
█████████▀░▄▄▄▄▄
███████▄█▄░▀█▄▄░▀
███▄██▄▀███▄█████▄▀
▄██████▄▀███████▀
████████▄▀████▀
█████▄▄
.
"I could either watch it
happen or be a part of it"

▬▬▬▬▬
mjsrs
Full Member
***
Offline Offline

Activity: 172
Merit: 100


View Profile
June 08, 2015, 09:51:40 PM
 #97579

Quorum Based Masternode Payment System – Eliminating the reference node

Dash v12 promises to include the first fully decentralized full node incentive system that will pay in a regular and fair way to all participating full nodes on the Dash network. This means there will no longer be a reference node that helps the network pay the correct masternode and keep the payments regular for everyone.  
I thought we should take a moment and think about how far we have come, regular payment decentralization has been maybe the hardest issue to tackle and represents the crowning of the Dash model. It means you can finally have a two tier network that is self-sustainable and that incentivizes participants in a fair way.  
When we first started dealing with this issue we had two fork events that were both traumatic but also very educational for the development team and the community. Out of those events we developed the spork technique of releasing new features and mainnet data on the issues that prevented the fully decentralized payment solution to work. After that we continued with random payments that would even out over time or over a larger number of nodes but that could be an issue for people that had especially unlucky nodes. So you could have situations in which people providing the same service were not equally compensated which was an axiomatic issue for the network as that incentive model is important for the long term prospects of the project over which many services like enhanced privacy, instant transaction confirmation, scalability and transaction abbreviation are founded.

We then established a reference node that guaranteed even payments across all participants but introduced an element of centralization. Not the type of centralization that would put the network in danger, since if the reference node was taken out, the system would just go back to random payments. Nevertheless, it was clearly a pending issue, waiting to be resolved, as sustained, even and fair payments would boost investor’s confidence and consolidate the Dash model as a mature, long term viable solution to many crypto issues, e.g. confirmation times, fungibility, scalability, etc.


Quote
Description of the new  Payment process(as described by Evan):

In the new model, each block a random selection of 10 masternodes are elected to tell the network who should get paid. This is computed using the masternode input hashes for the first payment, then after a last payment is known a valid masternode with the longest wait time is selected.

Selection Algorithm:
https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternodeman.cpp#L368

Masternode Selection and Broadcast:
https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternode-payments.cpp#L460

Block Validation:
https://github.com/dashpay/dash/blob/v0.12.0.x/src/masternode-payments.cpp#L280

Consensus disagreements are handled by the block validation code. After a period of time, the network should form complete consensus about who is supposed to get paid on which blocks. If there’s a disagreement, multiple payees per block can be valid. After the whole masternode network has been paid, only 1 payee should be valid each block. This gives us a pretty robust system that’s quorum based instead of blockchain based, so we don’t have to keep a complete history, but yet it’s just as secure.

Version 12 is currently on private testing by the core developers. Public testing should open soon, within the next two weeks.  Let’s all get together on testnet and make sure we help the dev team do a very thorough job, this version includes big and important changes for Dash. In my opinion, eliminating the reference node and implementing the decentralized management and budgeting system will open new avenues of development for Dash that no other currency has had since Bitcoin.  I am proud to be part of this project lets continue innovating and pushing forward the boundaries of digital currency.

great post!

https://dash-stats.com XoPGniokL6rRahoKviBza8oqWSTyUQPkAF
sangoku
Hero Member
*****
Offline Offline

Activity: 616
Merit: 501



View Profile WWW
June 08, 2015, 09:59:28 PM
 #97580



You can pay for a VPS (server), not a VPN.

Choose your favorite from here:

http://lowendbox.com/

A masternode at home with a dynamic IP will be most decentralised and fun ;-)

DΛSH is digital cash. Transactions are obscured in the blockchain, making them private from the wallet. You can send Dash to family or friends, or pay for goods or services, anywhere in the world. DΛSH Anonymous and Untraceable. The Perfect Digital Cash And The Best Way To Protect Your Privacy https://www.dashpay.io DΛSH is 59.5 times faster with syncing and updating  than Monero.
My DΛSH Address: XgF6sNzGHU58dn36WsC16no9FHct6nPeZD
Pages: « 1 ... 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 [4879] 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 ... 7012 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!