Skip to content

add testnet4 support#699

Open
0xf0xx0 wants to merge 3 commits into
janoside:masterfrom
0xf0xx0:tesseract-net-4
Open

add testnet4 support#699
0xf0xx0 wants to merge 3 commits into
janoside:masterfrom
0xf0xx0:tesseract-net-4

Conversation

@0xf0xx0

@0xf0xx0 0xf0xx0 commented Dec 7, 2024

Copy link
Copy Markdown
Contributor

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

testnet4 homepage

closes #666, and also has the side effect of closing #664 and duplicate issues
closes #664, closes #653, closes #561

@schildbach schildbach left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

0xf0xx0 commented Dec 9, 2024

Copy link
Copy Markdown
Contributor Author

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

0xf0xx0 commented Dec 9, 2024

Copy link
Copy Markdown
Contributor Author

THERE
i hate whitespace bro istg
all formatting changes removed

Comment thread app/coins/btc.js Outdated
Comment thread app/coins/btc.js Outdated
Comment on lines +81 to +82
"test": "#8f9a22",
"testnet4": "#1daf00",

Copy link
Copy Markdown
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.

@0xf0xx0 0xf0xx0 Dec 9, 2024

Copy link
Copy Markdown
Contributor Author

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

@0xf0xx0
0xf0xx0 force-pushed the tesseract-net-4 branch 2 times, most recently from b4b0ac7 to 3641dce Compare December 9, 2024 22:22
@0xf0xx0

0xf0xx0 commented Mar 14, 2025

Copy link
Copy Markdown
Contributor Author

bringing this back up, @janoside what do you use to generate the site favicons? is copy-pasting /public/img/test to /public/img/testnet4 fine? bitcoind plans to drop testnet3 soon, so we should try and get 4 added and a release made: bitcoin/bitcoin#31975

@holguinvictor

Copy link
Copy Markdown

Listen to me.

@0xf0xx0

0xf0xx0 commented Jul 7, 2025

Copy link
Copy Markdown
Contributor Author

@janoside bumping, if this pr is too large to review atm should i extract the fix for #664 into another pr for merging?

@schildbach schildbach left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread views/includes/shared-mixins.pug
@schildbach

Copy link
Copy Markdown
Contributor

@janoside bumping, if this pr is too large to review atm should i extract the fix for #664 into another pr for merging?

In general yes, please don't mix separate issues into one PR. It sill (sometimes dramatically) lessen the chance for someone looking at it and eventually merge it.

@0xf0xx0

0xf0xx0 commented Jul 7, 2025

Copy link
Copy Markdown
Contributor Author

In general yes, please don't mix separate issues into one PR. It sill (sometimes dramatically) lessen the chance for someone looking at it and eventually merge it.

yea, the issue is its not exactly separate x3 fixing 664 was a side effect of getting testnet4 support working

@0xf0xx0
0xf0xx0 force-pushed the tesseract-net-4 branch from 0f7db4f to c2ef10d Compare July 7, 2025 16:22
@0xf0xx0
0xf0xx0 requested a review from schildbach July 7, 2025 16:25
@RooSoft

RooSoft commented Mar 15, 2026

Copy link
Copy Markdown

I would love support for testnet4

@twofaktor

Copy link
Copy Markdown

@janoside will you plan to do something with this PR and the testnet4 integration? Thanks

@0xf0xx0

0xf0xx0 commented Apr 7, 2026

Copy link
Copy Markdown
Contributor Author

would you be interested in a hopefully temporary fork to merge this and other prs in?

@twofaktor

Copy link
Copy Markdown

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 🙏

@0xf0xx0

0xf0xx0 commented Apr 11, 2026

Copy link
Copy Markdown
Contributor Author

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.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

5 participants