mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-08 14:50:26 +01:00
13 lines
294 B
C
13 lines
294 B
C
|
#ifndef LIGHTNING_REMOVE_DUST_H
|
||
|
#define LIGHTNING_REMOVE_DUST_H
|
||
|
#include "config.h"
|
||
|
#include "bitcoin/tx.h"
|
||
|
|
||
|
/* Remove all dust outputs from tx */
|
||
|
void remove_dust(struct bitcoin_tx *tx, int *map);
|
||
|
|
||
|
/* Less than this is dust. */
|
||
|
#define DUST_THRESHOLD 546
|
||
|
|
||
|
#endif /* LIGHTNING_REMOVE_DUST_H */
|