Skip to content

Commit 641cfe8

Browse files
authored
txWatch: Remove the txWatch limits (#153)
Signed-off-by: Alexandru Vasile <[email protected]>
1 parent 844f7af commit 641cfe8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/api/transactionWatch_unstable_submitAndWatch.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ The string returned by this function is opaque and its meaning can't be interpre
1010

1111
Once this function has been called, the server will try to propagate this transaction over the peer-to-peer network and/or include it onto the chain even if `transactionWatch_unstable_unwatch` is called or that the JSON-RPC client disconnects. In other words, it is not possible to cancel submitting a transaction.
1212

13-
The JSON-RPC server must accept at least 4 `transactionWatch_unstable_submitAndWatch` subscriptions per JSON-RPC client.
14-
Trying to open more might lead to a JSON-RPC error when calling `transactionWatch_unstable_submitAndWatch`.
1513

1614
## Notifications format
1715

@@ -168,5 +166,4 @@ JSON-RPC servers are allowed to skip sending events as long as it properly keeps
168166

169167
## Possible errors
170168

171-
- A JSON-RPC error with error code `-32800` can be generated if the JSON-RPC client has already opened 4 or more `transactionWatch_unstable_submitAndWatch` subscriptions.
172169
- A JSON-RPC error with error code `-32602` is generated if the `transaction` parameter is not a valid hex string. Note that no error is produced if the bytes of the `transaction`, once decoded, are invalid. Instead, an `invalid` notification will be generated.

0 commit comments

Comments
 (0)