Measuring RPM using Hall sensor A3144

 attachInterrupt(0, rising, RISING);
 attachInterrupt(0, falling, FALLING);

You can have one interrupt handler attached to a pin. Which one is going to actually be attached?