mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
2618ef10c3
We're going to use these elsewhere/more widely so having them in common and using a more generic name is a obvious place to start.
13 lines
222 B
C
13 lines
222 B
C
#ifndef LIGHTNING_COMMON_TX_ROLES_H
|
|
#define LIGHTNING_COMMON_TX_ROLES_H
|
|
|
|
#include "config.h"
|
|
|
|
#define NUM_TX_ROLES (TX_ACCEPTER + 1)
|
|
enum tx_role {
|
|
TX_INITIATOR,
|
|
TX_ACCEPTER,
|
|
};
|
|
|
|
#endif /* LIGHTNING_COMMON_TX_ROLES_H */
|