Skip to content

Commit d94d34f

Browse files
committed
doc: update developer notes wrt unix epoch time
1 parent e2f32cb commit d94d34f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

doc/developer-notes.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ A few guidelines for introducing and reviewing new RPC interfaces:
10141014
- A RPC method must either be a wallet method or a non-wallet method. Do not
10151015
introduce new methods that differ in behavior based on the presence of a wallet.
10161016
1017-
- *Rationale*: as well as complicating the implementation and interfering
1017+
- *Rationale*: As well as complicating the implementation and interfering
10181018
with the introduction of multi-wallet, wallet and non-wallet code should be
10191019
separated to avoid introducing circular dependencies between code units.
10201020
@@ -1041,8 +1041,13 @@ A few guidelines for introducing and reviewing new RPC interfaces:
10411041

10421042
- *Rationale*: RPC methods registered with the same function pointer will be
10431043
considered aliases and only the first method name will show up in the
1044-
`help` rpc command list.
1044+
`help` RPC command list.
10451045

10461046
- *Exception*: Using RPC method aliases may be appropriate in cases where a
10471047
new RPC is replacing a deprecated RPC, to avoid both RPCs confusingly
10481048
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.

0 commit comments

Comments
 (0)