File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1014,7 +1014,7 @@ A few guidelines for introducing and reviewing new RPC interfaces:
1014
1014
- A RPC method must either be a wallet method or a non-wallet method. Do not
1015
1015
introduce new methods that differ in behavior based on the presence of a wallet.
1016
1016
1017
- - *Rationale*: as well as complicating the implementation and interfering
1017
+ - *Rationale*: As well as complicating the implementation and interfering
1018
1018
with the introduction of multi-wallet, wallet and non-wallet code should be
1019
1019
separated to avoid introducing circular dependencies between code units.
1020
1020
@@ -1041,8 +1041,13 @@ A few guidelines for introducing and reviewing new RPC interfaces:
1041
1041
1042
1042
- *Rationale*: RPC methods registered with the same function pointer will be
1043
1043
considered aliases and only the first method name will show up in the
1044
- `help` rpc command list.
1044
+ `help` RPC command list.
1045
1045
1046
1046
- *Exception*: Using RPC method aliases may be appropriate in cases where a
1047
1047
new RPC is replacing a deprecated RPC, to avoid both RPCs confusingly
1048
1048
showing up in the command list.
1049
+
1050
+ - Use the `UNIX_EPOCH_TIME` constant when describing UNIX epoch time or
1051
+ timestamps in the documentation.
1052
+
1053
+ - *Rationale*: User-facing consistency.
You can’t perform that action at this time.
0 commit comments