Geolocation Affects Voting?

Discussion in 'Proof-of-stake Mining' started by MiloIce, Sep 10, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. MiloIce

    MiloIce Jr. Member

    Jan 18, 2016
    206
    26
    Male
    see.. I have more live votes than you yet Im still voting lesser.. Oh I double confirmed it, I checked with my buddy daily for screens and etc for his earnings per day.. over the span of one week thats how I ended with this..

    How can luck for the whole week be so shitty lol.. even you're getting min 2 daily when you're unlucky >_>
     
  2. jy-p

    jy-p Sr. Member
    Organizer

    Jan 2, 2016
    133
    340
    Male
    Per comments from @chappjc and others, the ticket selection process is pseudorandom and based on the content of the prior block (via hashing), so it has nothing to do with your physical location. Over a large enough sample size and time period, you will see the standard probability density.
     
  3. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    There are basically only two main determining factors as to how quickly a vote is seen for inclusion in a block:
    1. How quickly your node is able to process a block and thus determine it needs to construct and submit a vote for inclusion in the next block due to one of your tickets winning
    2. How long it takes for your vote to propagate through the network to the miner that ultimately finds the block and includes it
    So, while physical location really doesn't matter on a grand scale as noted several times already in this thread, it is important to note that clearly it will take longer for the vote to propagate from a node casting the vote on one side of the planet while the ultimate miner that includes said vote is on the other side of the planet. Typically #1 is a far bigger factor, particularly on older and/or low-powered hardware, as the vote can't even begin to propagate until the node knows it needs to vote and sends it.

    In addition the other benefits stake pools provide, these are yet more good reasons to make use of stake pools with geographically diverse server locations. Typically they are running on speedy servers which helps with #1, and they will simultaneously cast the vote on the user's behalf from multiple physical locations which helps with #2.
     
    chappjc, Dyrk and MiloIce like this.
  4. MiloIce

    MiloIce Jr. Member

    Jan 18, 2016
    206
    26
    Male
    Understood, would it speed things up if we have a larger connection of nodes or stable nodes? I'm currently losing peers like 1 per 15-30 mins.. Does that affect my connection to the system?
     
  5. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    Not really. I'll quote an old post of mine where I call out the behavior in mathematical terms:

    Realistically, there are probably only several hundred nodes on the network at the current time (not all are externally visible, so it's impossible to have an exact figure). However, for the sake of argument, let's assume there are 1000 nodes. That means you're able to reach any given node on the network with a maximum of ceil(log8(1000)) = 4 hops.

    Taking a look at some numbers regarding latency published by verizon, we can see that even some of the worst case numbers are, on average, less than 500ms for a round trip across the planet. Given we're talking about one-way propagation of votes here, it's half of that. So, even if you assume the worst case scenario of every hop taking average worst case latency figures, that's still 250ms * 4 hops = 1 second (not counting the processing time of the node at each hop to verify the vote is a well-formed transaction and forward it).

    Hopefully it's pretty clear that it's the exponential property of each node talking to multiple other nodes that makes the main difference as opposed to any one given node (such as yours in the case) having more connections.
     

Share This Page