Evaluating sidechains as scalability layers while managing cross-chain security tradeoffs