Bitcoin Forum
May 02, 2024, 06:02:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Exploring Electrum source code forks *not forks of BTC  (Read 139 times)
sdp (OP)
Sr. Member
****
Offline Offline

Activity: 469
Merit: 280



View Profile WWW
June 28, 2019, 09:14:24 PM
 #1

I was wondering if there are any people other than myself who like to hack Electrum but they have not been able to get their pull requests accepted and have decided to just use a fork for themselves.  I find it rather tedious to explore the forks on Github because the forks that have been accepted and are just "behind" Spesmilo's (standard Electrum) original source remain in the list and so do not really allow you to browse changed versions efficiently.

I decided to just keep a fork of Electrum that I can update most of the time to spesmilo's original when he makes changes rather than try to convince the others they are okay and I only need to refactor when Spesmilo does.  You can check it out at https://github.com/shawnpringle/electrum .  The difference between his and mine is only that it displays the numbers a bit better.  I invite anyone with such a fork to reply with your own and just say why it's different and where it is downloadable from.


Coinsbank: Left money in their costodial wallet for my signature.  Then they kept the money.
1714672952
Hero Member
*
Offline Offline

Posts: 1714672952

View Profile Personal Message (Offline)

Ignore
1714672952
Reply with quote  #2

1714672952
Report to moderator
1714672952
Hero Member
*
Offline Offline

Posts: 1714672952

View Profile Personal Message (Offline)

Ignore
1714672952
Reply with quote  #2

1714672952
Report to moderator
1714672952
Hero Member
*
Offline Offline

Posts: 1714672952

View Profile Personal Message (Offline)

Ignore
1714672952
Reply with quote  #2

1714672952
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714672952
Hero Member
*
Offline Offline

Posts: 1714672952

View Profile Personal Message (Offline)

Ignore
1714672952
Reply with quote  #2

1714672952
Report to moderator
1714672952
Hero Member
*
Offline Offline

Posts: 1714672952

View Profile Personal Message (Offline)

Ignore
1714672952
Reply with quote  #2

1714672952
Report to moderator
1714672952
Hero Member
*
Offline Offline

Posts: 1714672952

View Profile Personal Message (Offline)

Ignore
1714672952
Reply with quote  #2

1714672952
Report to moderator
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
June 28, 2019, 10:04:24 PM
Last edit: November 15, 2023, 07:25:17 AM by HCP
 #2

The difference between his and mine is only that it displays the numbers a bit better.
I had a quick look at your commits... so basically all you're doing is adding the 000's separator? Huh

Where exactly is this used? Because in the parts of the UI that I would think need to display the separator (for me, the fiat values)... I can already see it... for instance:


Is it if you have your units set to mBTC or something? Huh

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
sdp (OP)
Sr. Member
****
Offline Offline

Activity: 469
Merit: 280



View Profile WWW
July 01, 2019, 01:46:16 AM
 #3

You're right.  I do use mBTC and it only adds in the thousands separator.  It will show in your transaction history, and when you enter an amount to send.  It is simple to do but there is not enough interest by the maintainer to have them.    Commas are added automatically when you type in the number and it should work for people using other locales like Europeans who use both commas and periods but use them in the opposite ways.

If you try to run this in --testnet mode.  Send me a testnet bitcoin address so I can send you some. 

Many software packages will not put commas after the decimal point.  I had to custom write this part.  Probably this problem has never been addressed before because most fiat currencies have only two decimal places.  Now with eight, it is kind of ugly not to have them.

I do not remember seeing fiat values in Electrum.  Where do I find that?


Coinsbank: Left money in their costodial wallet for my signature.  Then they kept the money.
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10529



View Profile
July 01, 2019, 02:33:14 AM
 #4

I do not remember seeing fiat values in Electrum.  Where do I find that?

from menu: Tools > Preference > Fiat (tab)
then select a fiat currency and the API to use to fetch the values from.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!