@zkp2p/reclaim-witness-sdk
Version:
<div> <div> <img src="https://raw.githubusercontent.com/reclaimprotocol/.github/main/assets/banners/Attestor-Core.png" /> </div> </div>
12 lines (11 loc) • 333 B
TypeScript
export type BGPAnnouncementOverlapData = {
prefix: string;
};
export type BGPListener = {
/**
* Add an IP to listen for overlap,
* @returns a function to remove the IP from the listener
*/
onOverlap(ips: string[], callback: (event: BGPAnnouncementOverlapData) => void): (() => void);
close(): void;
};