Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add testnet4 support #699

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

0xf0xx0
Copy link
Contributor

@0xf0xx0 0xf0xx0 commented Dec 7, 2024

this adds testnet4 alongside testnet3, but since testnet3 is deprecated, should its info be replaced with testnet4 info? also, have i missed anything?

closes #666

testnet4 homepage

Copy link
Contributor

@schildbach schildbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has a lot of code reformatting, making it difficult to locate the actual changes to review.

@schildbach
Copy link
Contributor

but since testnet3 is deprecated, should its info be replaced with testnet4 info?

I think testnet3 should be supported alongside testnet4 for a while. I'm still using it. as it's a good way to smoke test in extreme conditions.

@0xf0xx0
Copy link
Contributor Author

0xf0xx0 commented Dec 9, 2024

This has a lot of code reformatting, making it difficult to locate the actual changes to review.

mm yea, i've been trying to reduce the formatting changes but i have no clue what @janoside is using so i can keep it consistent x3
ill go back and manually un-format uwu

@0xf0xx0 0xf0xx0 force-pushed the tesseract-net-4 branch 2 times, most recently from 9ea24af to 0066db4 Compare December 9, 2024 21:30
@0xf0xx0
Copy link
Contributor Author

0xf0xx0 commented Dec 9, 2024

THERE
i hate whitespace bro istg
all formatting changes removed

app/coins/btc.js Outdated Show resolved Hide resolved
Comment on lines +81 to +82
"test": "#8f9a22",
"testnet4": "#1daf00",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why do you change the testnet3 coin color at this point? I think both testnet3 & 4 could use the same color green.

And also I wonder if this also changes the color of the favicon, which follows coin color as well in order to visually distinguish browser tabs.

Copy link
Contributor Author

@0xf0xx0 0xf0xx0 Dec 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i picked a color between mainnet and testnet to make the explorer icons visually distinct, but now that i look closer it doesnt look like these colors are even used. the favicons are hardcoded in their respective .svgs, and the tab color is hardcoded here: https://github.com/janoside/btc-rpc-explorer/blob/153aa0ae7f902562bd1cfa2bbcea4c00026e5aef/views/layout.pug#L49C45-L50C1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE REQUEST] Support for testnet4
2 participants