Write an outpoint value to the 'dst' frame, advancing the cursor 288 cells. * * Precondition: '*dst' is a valid write frame for 288 more cells; * NULL != op; */
| 29 | * NULL != op; |
| 30 | */ |
| 31 | static void prevOutpoint(frameItem* dst, const outpoint* op) { |
| 32 | writeHash(dst, &op->txid); |
| 33 | simplicity_write32(dst, op->ix); |
| 34 | } |
| 35 | |
| 36 | static uint_fast32_t lockHeight(const bitcoinTransaction* tx) { |
| 37 | return !tx->isFinal && tx->lockTime < 500000000U ? tx->lockTime : 0; |
no test coverage detected