X9Developers / XSN

XSN - Stakenet, the first cryptocurrency with Trustless Proof of Stake
https://stakenet.io
MIT License
93 stars 49 forks source link

Allow to generate legacy addresses from GUI in xsn-qt #152

Closed hermesesus closed 4 years ago

hermesesus commented 4 years ago

Description

Allow to generate legacy addresses from GUI in xsn-qt. Currently the default address type generated in "Receive XSN" section when clicking on "Request payment" is nested segwit (7). With "Use Bech32" checked, a native segwit (xc1) address can be generated as well. However, the user cannot generate a legacy (X) address from GUI, unless they enter the getnewaddress alias legacy command in Console. The legacy address is still essential for masternodes and TPoS.

Expected behaviour

Add a "Use Legacy" checkbox, similar to the "Use Bech32" checkbox (both checkboxes being mutually exclusive) in "Receive XSN" section.

XSN Core version

xsn-qt v1.0.21-7fe0dae All OS (Windows, Linux, macOS)