-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rosenet-node): add signal to
dial
and newStream
calls
- Loading branch information
1 parent
2aa4234
commit 7eb1ddd
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@rosen-bridge/rosenet-node': minor | ||
--- | ||
|
||
Abort connection establishment or stream creation after a predefined duration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
export const RELAYS_COUNT_TO_CONNECT = 3; | ||
export const ROSENET_DIRECT_PROTOCOL_V1 = '/rosenet/direct/1'; | ||
export const DEFAULT_NODE_PORT = 55123; | ||
export const STREAM_CREATION_TIMEOUT = 500; | ||
export const CONNECTION_CREATION_TIMEOUT = 1000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters