Skip to content

Commit 914fb7c

Browse files
committed
Fix inline code
1 parent 47ca202 commit 914fb7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bip-0040.mediawiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ Later in 2012, Marek Palatinus introduced Stratum also for mining pools: The Str
3636

3737
Stratum leverages [https://www.jsonrpc.org/ JSON-RPC]. Both versions 1.0 and 2.0 are allowed. Rules of that version apply accordingly.
3838

39-
Additionally, it is a convention to give all Stratum methods in the `method` property a name in the following form: `<service>.<method>`, where `<service>` is allowed to have dots and `<method>` isn't. For example, the the value `blockchain.block.subscribe`.
39+
Additionally, it is a convention to give all Stratum methods in the <code>method</code> property a name in the following form: <code><service>.<method></code>, where <code><service></code> is allowed to have dots and <code><method></code> isn't. For example, the the value <code>blockchain.block.subscribe</code>.
4040

41-
Note: In JSON-RPC 1.0, the `param` property is an array, so everything should be passed in the right order. In JSON-RPC 2.0, also named parameters are allowed. In that case, the parameter names that are documented should be used. If not, the method can fail. It is maybe also possible that a specific method (or server) only does support `params` being an array, because it doesn't know how to handle the named ones, even if it supports JSON-RPC 2.0.
41+
Note: In JSON-RPC 1.0, the <code>param</code> property is an array, so everything should be passed in the right order. In JSON-RPC 2.0, also named parameters are allowed. In that case, the parameter names that are documented should be used. If not, the method can fail. It is maybe also possible that a specific method (or server) only does support <code>params</code> being an array, because it doesn't know how to handle the named ones, even if it supports JSON-RPC 2.0.
4242

4343
==Specification: Transport Protocols==
4444

0 commit comments

Comments
 (0)