lightning
Version:
Lightning Network client library
21 lines (18 loc) • 551 B
TypeScript
import {
AuthenticatedLightningArgs,
AuthenticatedLightningMethod,
} from '../../typescript/shared';
export type AddAdvertisedFeature = AuthenticatedLightningArgs<{
/** BOLT 09 Feature Bit Number */
feature: number;
}>;
/**
* Add an advertised feature to the graph node announcement
*
* Note: this method is not supported in LND versions 0.14.5 and below
*
* Requires LND built with `peersrpc` build tag
*
* Requires `peers:write` permissions
*/
export const addAdvertisedFeature: AuthenticatedLightningMethod<AddAdvertisedFeature>;