commit 4e60b03728fdbf9fe5cb514bad200b72db7616d4 parent ee704ed30c42c9fa3e0c0017255e09a7d64a43a1 Author: Martin Schanzenbach <schanzen@gnunet.org> Date: Tue, 12 Jul 2022 10:08:22 +0200 add comment on duration for taldir Diffstat:
| M | core/api-taldir.rst | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/core/api-taldir.rst b/core/api-taldir.rst @@ -129,6 +129,11 @@ Address registration the directory. Here, $METHOD is the type of address to register, e.g. "email", or "phone". Supported methods are listed in the VersionResponse. + Note that duration should be given as a multiple of a month in microseconds. + If the duration is not a multiple of a month it will be rounded to the + nearest multiple. Halfway values will be rounded away from zero. + The cost calculation and resulting registration validity will be adjusted + automatically. **Request**