Skip to content

Instantly share code, notes, and snippets.

View RahulMishra0722's full-sized avatar

IRahul MIshra RahulMishra0722

View GitHub Profile
---
name: plan-exit-review
version: 2.0.0
description: |
Review a plan thoroughly before implementation. Challenges scope, reviews
architecture/code quality/tests/performance, and walks through issues
interactively with opinionated recommendations.
allowed-tools:
- Read
- Grep
import WebSocket, { WebSocketServer } from 'ws';
import crypto from 'crypto';
export class Node {
private isValidTransactionFlag: boolean;
private data: string;
private wsServer: WebSocketServer;
private wsClients: WebSocket[];
constructor() {
this.isValidTransactionFlag = false;