Description

RollN moves the item N items back in the stack to the top.

Stack transformation: RollN(0): [x1 x2 x3] -> [x1 x2 x3] RollN(1): [x1 x2 x3] -> [x1 x3 x2] RollN(2): [x1 x2 x3] -> [x2 x3 x1]

RollN is referenced in 1 repository

github.com/btcsuite/btcd