-
Notifications
You must be signed in to change notification settings - Fork 1.3k
add testnet4 support #699
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
base: master
Are you sure you want to change the base?
add testnet4 support #699
Conversation
There was a problem hiding this 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.
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. |
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 |
9ea24af
to
0066db4
Compare
THERE |
app/coins/btc.js
Outdated
"test": "#8f9a22", | ||
"testnet4": "#1daf00", |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 .svg
s, and the tab color is hardcoded here: https://github.com/janoside/btc-rpc-explorer/blob/153aa0ae7f902562bd1cfa2bbcea4c00026e5aef/views/layout.pug#L49C45-L50C1
b4b0ac7
to
3641dce
Compare
bringing this back up, @janoside what do you use to generate the site favicons? is copy-pasting |
Listen to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've marked one more formatting change for removal from this PR. Maybe this would make reviewing easier.
yea, the issue is its not exactly separate x3 fixing 664 was a side effect of getting testnet4 support working |
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, and also has the side effect of fixing #664
closes #664 (keyword for github)