[Outdated] Riecoin Core 22.03

Riecoin projects, proposals, bounties, discussions about existing Riecoin software,...
Forum rules
Discuss about Riecoin projects like software directly using or supporting the Riecoin's network, allowing Riecoin integration in third party services or providing useful applications. For external projects that make use of Riecoin, discuss about this in the External forum (even if your project is not completed).
Post in the subforums below if applicable.
Post Reply
User avatar
Pttn
Forum Staff
Forum Staff
Posts: 222
Joined: 2021-02-18 21:32:13
Location: Switzerland
Miner Score: 81.509
Contact:

[Outdated] Riecoin Core 22.03

Post by Pttn »

The software enabling the use of the Riecoin currency, fork of Bitcoin Core.

Learn more (also with guides): https://riecoin.dev/en/Riecoin_Core
Repository: https://github.com/riecointeam/riecoin
Binaries: https://riecoin.dev/resources/RiecoinCore.php

This version ports the Bitcoin 22.0 improvements and adds a code generator, which can be used for passwordless or 2-factor authentication. It also includes the Bitcoin's Pull Requests 21500 (for exporting Descriptors) and 24058 (for initial Bip 322 message signing support). New wallets can only be Descriptor Wallets, though old Legacy Wallets are still supported.

The versioning is now based on the release date.

It is recommended to upgrade now to 22.03 and migrate Legacy Wallets to Descriptor Wallets as their support will eventually be dropped. If you need some help or have questions, please ask in the migration topic.

Bitcoin 22.0's Release Notes

Only discuss about the 22.03 version here.
Please report bugs here. Suggestions are welcome here, but a new topic should be created in the Improvement Proposals subforum for important or controversial improvement proposals.
Don't ask for technical help, for this browse the Help subforum or open a new topic there. Be sure to have read and followed correctly the guides! Beginners might want to use rieWallet instead.

Image
Image
Riecoin developer
Stelo.xyz pool operator
User avatar
Pttn
Forum Staff
Forum Staff
Posts: 222
Joined: 2021-02-18 21:32:13
Location: Switzerland
Miner Score: 81.509
Contact:

Re: [Discussion] Riecoin Core 22

Post by Pttn »

After the 0.21 upgrade, I will have to take a break from Riecoin for a couple of months. I will still be around, though not actively developing. But let's already open the discussion about Riecoin Core 22 (yes, Bitcoin Developers decided to drop the 0.; Btw we could also decide to name our versions distinctly from the Bitcoin's ones), suggestions are welcome!
And if someone would like to do some Core development that would be welcomed as well, I would be glad to teach what I know!
Riecoin developer
Stelo.xyz pool operator
User avatar
Pttn
Forum Staff
Forum Staff
Posts: 222
Joined: 2021-02-18 21:32:13
Location: Switzerland
Miner Score: 81.509
Contact:

Re: [Release Soon] Riecoin Core 21.10

Post by Pttn »

It took a while more than I wanted due to various reasons, but finally, I finished the upgrade.

The binaries will starting from now be hosted on Riecoin.dev and I will push the new code soon. Prerelease binaries built with Guix (Bitcoin no longer uses Gitian) can be downloaded here. https://riecoin.dev/resources/RiecoinCore.php

Despite not being releases, they should already be safe to use for production. It is recommended to read points below, though, and as usual backup your wallets just in case. I am letting a couple of weeks so everyone can test it to confirm that it is ready to be a Stable Release. Please give some feedbacks!

The version will no longer be taken from the Bitcoin Core one, but from the date, like Ubuntu. So this version will not be 22.0, but 21.10 for October 2021.

Firstly, take a look at the Bitcoin's 22.0 Changelog: https://bitcoincore.org/en/releases/22.0/
The change that will likely affect advanced users the most will be the "#20286 Deprecate addresses and reqSigs from RPC outputs (mjdietzx)" one. This change may require developers to change some code: basically, wherever there is something like ['addresses'][0], replace it by just ['address']. The "-deprecatedrpc=addresses" has been removed in Riecoin 21.10 as well, better fix the code now than procrastinate.
I did not check if it affects NOMP-RIC.

As usual, a minority of Test Units are failing but they should not question the well functionning of the code. You can also read the paragraph about that in the previous 0.21 topic.

Unlike the previous release, there is no Soft Fork so an upgrade is not absolutely necessary, but still recommended for yourself as the more versions you skip and the more you will have to catch up with new or deleted features.
The Taproot Soft Fork has been hardcoded/buried.

The Protocol Version was reverted to Bitcoin's 70016, there is no practical reason to have our own Protocol Version. I don't know why Gatra set it to 10070001. But with this change, it will be easy to get rid of obsolete clients by disconnecting any node using the 10070001 version in a future release.

I still did not touch the Signet Network Code, if someone is interested in working in it that would be welcomed.

In Riecoin 21.10, we are taking a step ahead from Bitcoin regarding Descriptor Wallets. As a reminder, these are a new kind of wallet that will replace the current ones (Legacy Wallets). Support for Legacy Wallets will eventually be dropped, so actions must be taken to avoid a painful transition where many people are still using them. Because we are a much smaller network, we can afford to accelerate the transition.
They plan to generate Descriptor Wallets by default only starting from 23.0, but in our case Riecoin 21.10 will already do it and prevent the creation of new Legacy Wallets. I and many other Bitcoin users used Descriptor Wallets without issues so far.
I wrote a guide explaining how to move funds from Legacy Wallets to Descriptor Wallets. It is highly recommended to move your coins as soon as possible. This would also be a great preparation for Bitcoin as you will eventually have to do it for it too.

Regarding Riecoin specific changes, there is now a way to get the Constellation Pattern or Length without having to write external code, via the getresult call: add a true boolean after the block hash.

Code: Select all

getresult 0638e410d05c71a76f019dd3d3b75cde99f3773b400defeacaea19c8c7e95365 true
{
  "type": "prime constellation",
  "n": "686475367705759866128106699319230624200061818438389154480294335272887765376118633963008856720538013680809383740206887464575716243985195240167531631808386681938725832445674052008454878530263216485404798290917898816530480502493979755413753899231962566331415228737016621127916074140119",
  "offsets": [
    -12,
    -10,
    -6,
    0,
    2,
    8,
    12,
    14,
    18,
    20
  ],
  "length": 10
}
Messages can (and must) now be signed with Bech32 addresses.

A Code Generator feature was also added, so it is now possible to use Riecoin Addresses to authenticate yourself as replacement to Google Authenticator or other 2FA things. I will open my own Riecoin Pool and a Riecoin Faucet this month taking advantage of this feature, but I would love if someone else implements support of authentication via Riecoin Addresses in their services too.
The big advantage over Google Authenticator is that even if your service gets hacked (and it happened not too long ago on the C-Patex Exchange), private keys cannot be stolen.
The Code Generator is simply based on the message signing features, using the current time as a message.
It might be improved to produce shorter codes in the future to avoid requiring copy-paste, but as is it works very well too...
Attachments
Code Generator.png
Code Generator.png (38.03 KiB) Viewed 3772 times
Riecoin developer
Stelo.xyz pool operator
ghost14
Beginner
Beginner
Posts: 21
Joined: 2021-05-07 03:28:45
Miner Score: 3.047

Re: [Release Soon] Riecoin Core 21.10

Post by ghost14 »

Nice Pttn! I'm running 21.10 pre-release since a couple of days without problems. I didn't encounter issues with the descriptor wallet, the migration went fine.
User avatar
Pttn
Forum Staff
Forum Staff
Posts: 222
Joined: 2021-02-18 21:32:13
Location: Switzerland
Miner Score: 81.509
Contact:

Re: [Release Soon] Riecoin Core 21.10

Post by Pttn »

Thank you for your feedback!
Riecoin developer
Stelo.xyz pool operator
User avatar
Pttn
Forum Staff
Forum Staff
Posts: 222
Joined: 2021-02-18 21:32:13
Location: Switzerland
Miner Score: 81.509
Contact:

Re: [Release Soon] Riecoin Core 22.03

Post by Pttn »

I am now ready to release this version, which is finally named 22.03.
The code is already available on GitHub, binaries will come later.

There were a few changes from 21.10-dev.
The Bitcoin's Pull Requests 21500 (for exporting Descriptors) and 24058 (for initial Bip 322 message signing support) were ported, and the Wif format is no longer used for Private Key, instead Hex is used. Frankly there is no practical advantages using Wif and it is always nice for Riecoin developers to not have to care about finding or making a Base58 implementation.
Riecoin developer
Stelo.xyz pool operator
User avatar
Pttn
Forum Staff
Forum Staff
Posts: 222
Joined: 2021-02-18 21:32:13
Location: Switzerland
Miner Score: 81.509
Contact:

Re: [Current] Riecoin Core 22.03

Post by Pttn »

Binaries can now be downloaded here.
Read the first post for a summary of what this release brings.
Riecoin developer
Stelo.xyz pool operator
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests