add testnet4 support#699
Conversation
schildbach
left a comment
There was a problem hiding this comment.
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 |
| "test": "#8f9a22", | ||
| "testnet4": "#1daf00", |
There was a problem hiding this comment.
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.
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
b4b0ac7 to
3641dce
Compare
|
bringing this back up, @janoside what do you use to generate the site favicons? is copy-pasting |
|
Listen to me. |
schildbach
left a comment
There was a problem hiding this comment.
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 |
|
I would love support for testnet4 |
|
@janoside will you plan to do something with this PR and the testnet4 integration? Thanks |
|
would you be interested in a hopefully temporary fork to merge this and other prs in? |
Here we have a dilema, depending if really @janoside abandoned the development definitely or not. In the first case, I think it is a good idea, but in case of @janoside come back and he decide don't merge your possible PRs, we will have different functionalities in each project, improvements, and possible trade-offs to make depending on the decision. Wdyt? PD: if you decide to actively continue development and have good suggestions for improvement, I would be happy to follow your project. Thanks 🙏 |
yeah thats my worry, i dont wanna start a "competing" fork x3 but btc-rpc-explorer is kinda languishing and jano hasnt responded to my discussion offering help. ill think about it, ill likely just merge this and #768 for Core 30.x+ support. |
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 closing #664 and duplicate issues
closes #664, closes #653, closes #561