Blockchain mining in pools: Analyzing the trade-off between profitability and ruin[J] INSURANCE MATHEMATICS & ECONOMICS 2022(105) Albrecher, Hansjoerg Finger, Dina Goffard, Pierre-O.