so when two equally valid blocks are discovered at roughly the same time, a conflict occurs, nodes should wait for the strongest fork of the chain to emerge and develop before placing trust in the transactions within it. My question is how many additional blocks, above and beyond those of it's rival, must a fork of the chain achieve before nodes consider the rival fork to be stale and discard it? Is does this depend on the configuration of the node?
note that I'm not asking how many confirmations one should wait for before trusting a chain, but rather how many additional blocks are required before other nodes consider the competitor stale and actually discard it.
Thank you!