Draft ZIP: Lock-weighted Coinholder Polling

You only need ~2m ZEC to swing a vote, if that vote is a landslide. It takes much less ZEC to swing a divided vote. There have been countless examples in DeFi, where it was cost effective for an attacker to acquire the coins needed to swing a vote.

1 Like

The problem, IMO, is that having a lot of ZEC alone is not a good indicator that you will make decisions in the best interest of the project. Time could be an interesting additional indication of a voter’s alignment with the success of Zcash (with the aforementioned caveats).

3 Likes

For non-coinholder-fund-related decisions, yes. However, then one can argue that the people who secure the network are the best indicator for making decisions in the “best interests of the [network]”, which leads to an apparent oligarchy if the mining is centralised. The third alternative is a committee who decides, which leads to the current Bitcoin Blockstream deadlock.

I firmly believe locking ZEC should not be representative of anyone, especially not as an additional point. Because it disenfranchises the people who actually use ZEC, and gives all the power to the people who literally never actually use ZEC.

Borrowing is also not free, and borrowing larger amounts pushes up the interest rate of borrowing.

The largest ZEC lending market currently aware of is Rhea Finance, which has 4170 total ZEC deposited.

To calculate the capacity and cost of attack would require further analysis of the lending markets.

Typically DeFi protocols introduce a very short delay to prevent “flash loan” attacks where the attacker attempts to extract a monetary amount in an atomic transaction.

A few DeFi protocols have experienced slightly longer duration attacks in the order of days, typically for a treasury heist. The Zcash keyholder veto is an interesting mechanism here.

The “borrowing” one speaks of is not decentralised borrowing. Same fallacy as people thinking “how does Musk get cheap loans? My bank never gives me cheap loans!”

When you directly know an exchange’s regional VP, THAT is borrowing. Even worse than borrowing is colluding: meet up in an alley and collude with your ZEC on a decision.

Zcash votes being totally private make it very difficult to determine the margin required to swing a vote.

That is if the distribution of ZEC was uniform. It’s not. Exchanges and mining cartels hold the majority, often tens of thousands of times more than an average user. So do Founders Reward recipients.

Banks can actually arbitrarily print money to provide a loan. This is not possible with ZEC for voting purposes.

FalcolnX OTC desk claims to be able to provide loans, but it’s also not free, and I’m not sure what size they can provide. Generally ZEC is scarce on the private markets in my experience.

Never mentioned that? I mean talking to people who already hold extreme amounts of ZEC. In fact, as our recent research (Violet’s Constrained Locks) shows, it is possible to hedge or “lock” ZEC with game theory trust such that it never has to leave your control and yet retain refund capabilities.

Dude, the adversary here is a billionaire who already has a fuck ton of ZEC, not someone who doesn’t have ZEC and will try to influence the voting.

The lending market may be thin today, but maybe not in the future. We also can’t assume that today’s 2m ZEC voters will continue to be active voters. What if in a few years only ~100K ZEC actively participates in votes?

Can you not see any benefit in accounting for time-in-the-project when weighing someone’s opinion on decisions which impact the future of the project?

We were talking about lending attacks.

Your prejudice against billionaires does not affect the game theory around skin in the game.

They will rationally want their assets to be successful.

There is no prejudice, and I fully agree with you on that front: rationally, they want to protect their bottom line. So do I. So do you. So does nearly everyone ever since God created Man.

But I was contextualising it with the actors involved in this thread. Thread OP is a vocal supporter of ZAP, and, well, you can understand what attacks are relevant here.

To be more clear: I mean that clearly, the insinuation regarding attacks here are from whales and miners.

Tried to visualize your idea with grok, thanks for this!

\text{vote\_weight} = \text{coins} \times \left(1 - e^{-d/\tau}\right)

where d is the holding/lock duration and \tau is a time constant that sets how quickly new holders ramp up to full representation. Overnight/borrowed coins get ~0 weight; long-held coins approach 1× without a hard cap.

Here’s the multiplier m(d) = 1 - e^{-d/\tau} plotted for several \tau values (in years), with the draft ZIP’s linear function overlaid for comparison (floor 0.1, linear to 1.0 at a 4-year cap).

Sample values (multiplier only; multiply by coins for absolute weight):

Duration (yr) τ = 0.5 τ = 1 τ = 2 τ = 4 ZIP linear
0 0.000 0.000 0.000 0.000 0.100
0.25 0.393 0.221 0.118 0.061 0.156
0.5 0.632 0.393 0.221 0.118 0.213
1 0.865 0.632 0.393 0.221 0.325
2 0.982 0.865 0.632 0.393 0.550
4 1.000 0.982 0.865 0.632 1.000
6 1.000 0.998 0.950 0.777 1.000
10 1.000 1.000 0.993 0.918 1.000

Notes for the discussion

  • Smaller \tau (e.g. 0.5–1 yr) gives relatively quick representation to new holders while still suppressing pure overnight/borrow-to-vote.
  • Larger \tau (2–4 yr) stays closer to pure long-term weighting and only slowly approaches full weight.
  • Unlike the ZIP linear, there is no floor and no hard saturation at 4 years; it is continuous and asymptotic.
  • The exponential is the “leaky integrator” form nullcopy described (avoids pure-P snapshot gaming and pure-I new-holder windup).
1 Like

We already have quorum set to 1m ZEC, we may want to raise that as more ZEC becomes active. The bar for Quorum is indeed very important in vote system design.

I think that if lots of holders feel that voting is not important, then whatever is being voted is probably not that important and the status quo should be preserved.

If a majority whales and miners want to attack a chain there is no amount of mechanism design that will save the chain. This is why Nakamoto consensus has UASF (user activated soft forks) so the minority can make their own chain without them.

What is the definition of “held”?

Because it seems to me that if “held” involves locking coins, then well, gentlemen, the biggest example will be the Beacon Chain in Ethereum. The longest actors who have staked well over several million Ethereum are the most prolific validators, plus it enables a system like Rocket Pool.

If a system like Rocket Pool arises, then naturally, the coins themselves will be physically locked for years, only their ownership will superficially change.

UASFs are not “minority can make their own chain”, they are soft forks and retain the rules already set across the network. The actual “minority can make their own chain” is hard forks, such as BCH, Bitcoin Gold, and others, and they actually suffered from extreme “miner hopping”:

  • Basically, the new chain’s hashrate is maybe 1% of the old chain.
  • So the miners from the first chain quickly mine a chain of 100 blocks in the time it takes to mine one block.
  • They start broadcasting the blocks, but in the EXACT timestamp as the intended block, as to not sway difficulty, while beating every other miner.
  • Since the pre-mined blocks are empty, the network has stalled.
  • Repeat.

An alternative variation of this attack would be raising the difficulty floor to high heavens, but that only works in Bitcoin due to the 2016 block gap. Zcash uses DigiShield, so it won’t work.

The “early holders” problem is pretty easily mitigated; you can just pick a long-ish period to sum over, instead of the entire history of the chain. Say, the past couple of years - if someone has been holding for two years, their opinion should be privileged over someone who has only been holding for the last month.

In fact, the right way to do coin-days polling is to make the block range over which you’re summing a configuration option chosen by the poll instance. This immediately generalizes the current system:

To configure a poll that gives the same result as the current system, you release a poll that specifies a single block height; funds held at that height get counted with a multiplier of 1 (one coin-day).

You could then say, launch two separate polls with the same questions: one that covers that one block height, one that covers the past two years, and compare their results.

Obviously the fact that only the Orchard protocol and Ironwood pool are supported by the current system puts an upper bound on what could easily be implemented, but in principle you could implement support for Sprout and Sapling and take a poll that would show you what the Zcash OGs think about a current proposal by, for example, having the range go from genesis up to 2 years ago or whatever.

It’s a nice generalization, we should do it.

1 Like