fiveturns
The mutex is only used inside of SetAlive() and isAlive(), they're the only things this need to handle locking and unlocking. You don't want anything external to that calling the methods on RWMutex.
It didn't work and I learned I had to earn money like regular people.
Somebody did set up a website somewhere that allowed users to see if their private key was in the "database". It would jump them to the correct page, and, steal their private key in the process.
I didn't like them potentially stealing my revenue, so I implemented this feature myself. The pluses beside the private key are permalinks.
For example: http://directory.io/warning:understand-how-this-works!/5HpHa...
That's the private key in Bitcoin's importprivkey format.
I purposely didn't add a search box and named the URL's path to discourage its use.
(I don't actually check the logs)
aria2c --enable-rpc=true --rpc-listen-all=true --daemon --dir=/mnt/downloads --continue=true --max-concurrent-downloads=1 --max-connection-per-server=16 --max-tries=0 --split=16 --stream-piece-selector=geom --enable-http-pipelining=true
You can find documentation for the various options here: http://aria2.sourceforge.net/manual/en/html/aria2c.htmlhttps://github.com/ziahamza/webui-aria2 is a decent web client. I use this to post downloads to my server at home.