2015-05-29 04:29:09 +01:00
|
|
|
#ifndef LIGHTNING_PERMUTE_TX_H
|
|
|
|
#define LIGHTNING_PERMUTE_TX_H
|
2016-01-21 20:08:08 +00:00
|
|
|
#include "config.h"
|
2015-06-12 03:23:27 +01:00
|
|
|
#include "bitcoin/tx.h"
|
2015-05-29 04:29:09 +01:00
|
|
|
|
2016-08-18 05:53:46 +01:00
|
|
|
/* Permute the transaction into BIP69 order. */
|
|
|
|
void permute_inputs(struct bitcoin_tx_input *inputs, size_t num_inputs);
|
2015-05-29 04:29:09 +01:00
|
|
|
|
2016-08-18 05:53:46 +01:00
|
|
|
void permute_outputs(struct bitcoin_tx_output *outputs, size_t num_outputs);
|
2015-05-29 04:29:09 +01:00
|
|
|
#endif /* LIGHTNING_PERMUTE_TX_H */
|