Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make work faster #1711



Copy link

DanielMazurFL4RE commented Feb 8, 2019

Current PoW take too much time to calculate on smartphones or regular machines, I've spent few days writing own optimized "miner", checked few PoW scripts (like this written in WASM) and they takes approx. 40 seconds to mine on PC and approx. 120 seconds on regular smartphone.
How this coin may be adopted by masses If guy who want to pay for coffee must stay by shop counter 2 minutes?

We need to find other way to prevent spam attacks!


This comment has been minimized.

Copy link

wezrule commented Feb 8, 2019

PoW can be precomputed for the next block so for everyday transactions like getting coffee it should not be problem. For services requiring high throughput it can also be done server side using dPoW.

@wezrule wezrule closed this Feb 8, 2019
@wezrule wezrule reopened this Feb 8, 2019

This comment has been minimized.

Copy link

DanielMazurFL4RE commented Feb 8, 2019

Alright but what if I have few pending blocks or want to send NANOs few times?
As you can see, then it may take long time if user have no luck and won't time valid work in few first seconds

Next, theoretical but real situation, what if I got pedning 100 blocks from donations and got wallet offline, how long it takes to receive all funds?-Taking 100 transfers requires 100 mining sessions, which takes a lot of time and a lot of CPU/GPU resources (problematic for people taking microtransfers), when processing payments and withdrawals, large computing power is needed (problematic for exchanges, payment providers)

Look, I do not want to make a threshold null but move two bits to the left to increase speed of mining


This comment has been minimized.

Copy link

rotilho commented Feb 11, 2019

How avoid spam in this case? Just reduce the difficult can create a even bigger problem.

Keep the wallet open for while (and using dPoW or Work Server) sounds quite reasonable for me and payment processors will have good hardware to compute pow and they can also create multiple wallets to increase TPS.


This comment has been minimized.

Copy link

zhyatt commented Feb 11, 2019

@DanielMazurFL4RE Thanks for submitting. The PoW is meant to be a spam reduction mechanism so reducing difficulty decreases protection against spam. At this time we are not interested in doing so, so closing this ticket. In the future if we decide this is an option we can reopen and evaluate.

@zhyatt zhyatt closed this Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.