86
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][RIC] Riecoin: constellations POW *CPU* HARD FORK successful, world record
|
on: September 13, 2018, 05:34:33 PM
|
...
Just to be clear, is the code you listed the latest bitcoin 0.16 code? I can add my code to this, but I want to check a couple more things before I start.
Most of the filenames I changed were also changed in the original code ... images, riecoind, riecoin-cli, a few others. I might have changed a couple extra in the qt code (bitcoingui.cpp -> riecoingui.cpp).
Similarly, a lot of the changes are text substitutions of bitcoin for riecoin. This was true in the original code and given how much the code has grown since then is worse now. It would be easy for me to do a separate commit of all the text substitutions so that the main riecoin changes are more obvious.
My approach was to change all filenames and all text (except copyrights and a couple others). Let me know if this is a problem. Changing some, but not others will make things more difficult.
I'm not sure if I will get the bounty but if I do I plan to share a portion with others contributing to Riecoin.
Yes, https://github.com/riecointeam/riecoin master branch should be even with upstream bitcoin 0.16 branch (now v0.16.2). Here is a great repo that nzsquirrell put together on minimal changes necessary that I find quite good. It's for 0.14 but is very close to 0.16: https://github.com/nzsquirrell/testcoin14/commits/masterespecially this commit: https://github.com/nzsquirrell/testcoin14/commit/3a2665eb070ed901ed28722e345ad61d75027d4cThere are surprisingly few name changes that need to be made, most of the missing ones from the above commit are in src/rpc for the rpc calls. We can always knock those out once the core logic is in place.
|
|
|
87
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][RIC] Riecoin: constellations POW *CPU* HARD FORK successful, world record
|
on: September 10, 2018, 06:13:57 PM
|
Greetings clo1, Thanks for posting your code. I've skimmed it and would like to assist if possible (I can perhaps help with gitian, builds, and tests). In the interest of more easily auditing/maintenance would it be possible to add your commits on top of the latest 0.16 code from upstream, preserving the git history? Also, it might be easier to not unnecessarily rename files to ease future merges. For instance, I've created a new github organization: https://github.com/riecointeam/riecoinIf you put your changes on the master branch it might make things more clear. (Or gatra can update riecoin/riecoin.git master to 0.16, whatever.) FWIW, I don't have an interest in taking a share of your rightly deserved bounty. Nice work!
|
|
|
91
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][RIC] Riecoin: constellations POW *CPU* HARD FORK successful, world record
|
on: August 17, 2018, 02:55:05 PM
|
When you developing miner it will be better to have low difficulty, so checking if your algorithm is right will be faster, it is annoying to must wait hours or days just to check if block you found is correct The Testnet is more meant to look like the Mainnet network, where people (not just developers) can test Riecoin with "play tokens". Developers who are creating programs other than a miner would like to be able to send and receive coins too, with new blocks found regularly. If I am not mistaken, there exist a "regression mode", more adapted to do such testing, with an own local network. Raw performance testing is preferably done by using some fixed data from a chosen block. Cool, my plans are to build riecoin community site with a lot HOWTOs and information about riecoin so if you don't mind will include your miner. Your source code looks very clean and ordered, it is good to have as much as possible different and various software for riecoin, that will attract more people to the community.
No problem, and thank you for the feedback. I wish you all success with your website. With what error execution fails ? You are using gmplib which is highly optimized for calculations, and big parts from it are in assembler. It gives big speedup but portability is lower, for example if you compile with gmplib optimized for i7 or xeon it will fail to run on P4. many modern compilers put by default optimizing flag -mtune=native which will auto detect CPU instructions set and will optimize for it, which can break portability too. Maybe to be portable one cpu miner you should use -march=pentium4 your code will run on any modern CPU , but you will lose speed.
The failure is a bad alloc, so I do not think that the problem is CPU related. Just for fun, I compiled it once on a Pentium 3 laptop, unfortunately it has this issue. But I encountered it in some recent computers as well. I suspect that for some reason, rieMiner needs much more memory to start, than it actually uses/needs. I will investigate this later in September. I likely just removed one line too much or so. AFAIK, regtest mode isn't available on the 0.9 codebase, at least not easily... so having an easy testnet will most likely help dev work. I would suggest throttling your miner (on a low power VM) to keep the difficulty manageable.
|
|
|
98
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][XMY] Myriad | 0.14.2.4 | Multi-Algo, Fair, Secure
|
on: January 26, 2018, 10:01:48 PM
|
Does Myriad support a paper wallet with a password? We are looking to print promotional materials (scratch offs) giving away coins but want to use a PIN so they can’t be easily stolen en route.
This isn't a feature I've heard of for any coin, but assuming you're distributing to fairly technical audience, then you could send coins to an address, then encrypt the private key using gpg or openssh or something. Thanks for the reply. I just got clarification that if it is a scratch off we don’t need a password. Can we print a paper wallet for each coupon without a password? PS: Are we going to be on Poloniex any time soon? Our paperwallet has bip38 encryption that should work for you: https://cryptap.us/myr/paperwallet.htmlYour users will just need a copy of the paperwallet.html to decrypt.
|
|
|
|