if i have 2 nodes, one ETH and one ETC, and I am writing a program to use these nodes, how can i determine which node I am using at any given time?
the best i can come up with is to check a known block after the fork and simply compare # of tx. I know how many tx are in that block on both chains, so i can differentiate that way.
this seems clunky. is there a better way to do this?
Edit: this is not a duplicate of "Does ETH and ETC uses the same network ID?" because i am not asking about the network id. i am asking about the network as a whole. eth/etc share a network id of 1 for the main network.
net_versiondo the trick? – user19510 Dec 01 '18 at 18:23net_versionreturns1for both (as expected). is there no way to do it besides the way i described (comparing 2 known blocks)? – i_am_not_ethereum Dec 01 '18 at 18:52