Skip to content

Commit

Permalink
feat: lightpush & filter send requests to multiple peers
Browse files Browse the repository at this point in the history
  • Loading branch information
danisharora099 committed Jan 10, 2024
1 parent 69406bf commit 1044f38
Show file tree
Hide file tree
Showing 10 changed files with 366 additions and 127 deletions.
4 changes: 3 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"@noble/hashes": "^1.3.2",
"@waku/enr": "^0.0.19",
"@waku/interfaces": "0.0.20",
"@waku/message-hash": "0.1.9",
"@waku/proto": "0.0.5",
"@waku/utils": "0.0.13",
"debug": "^4.3.4",
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/lib/base_protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import { StreamManager } from "./stream_manager.js";
export class BaseProtocol implements IBaseProtocol {
public readonly addLibp2pEventListener: Libp2p["addEventListener"];
public readonly removeLibp2pEventListener: Libp2p["removeEventListener"];
readonly NUM_PEERS_TO_USE = 3;
protected streamManager: StreamManager;

constructor(
Expand Down
Loading

0 comments on commit 1044f38

Please sign in to comment.