MyHush / hush

Hush is a fork of Zcash focused on secure communications
https://myhush.org
Other
67 stars 37 forks source link

Limit upload bandwidth #5

Closed lludlow closed 7 years ago

lludlow commented 7 years ago

https://bitcoin.org/en/full-node#maximum-upload-targets

leto commented 7 years ago

:+1:, I want to support small miners on our network, as much as we can

lludlow commented 7 years ago

Have a dev build running now with the changes. I'm going to leave it running for a few days to make sure it really limits the traffic.

leto commented 7 years ago

@madbuda cool. So -maxuploadtarget=200 would roughly limit a node to 200 MB per day or 200 blocks per day?

lludlow commented 7 years ago

This will limit historic blocks served up by hushd

lludlow commented 7 years ago

https://github.com/MyHush/hush/pull/15

This will work for linux nodes until we can add in the option to limit historic blocks

matthewjamesr commented 7 years ago

@madbuda Can we merge/close this?

lludlow commented 7 years ago

closing #15 solves the issue

matthewjamesr commented 7 years ago

Ok thank you @madbuda, closing this issue.